47#ifndef G4DNACROSSSECTIONDATASET_HH
48#define G4DNACROSSSECTIONDATASET_HH 1
73 {
return components[componentId]; }
76 { components.push_back(dataSet); }
79 {
return components.size(); }
99 G4int componentId)
override;
115 std::vector<G4VEMDataSet*> components;
124 G4double GetUnitEnergies()
const {
return unitEnergies; }
125 G4double GetUnitData()
const {
return unitData; }
128 void CleanUpComponents();
G4bool LoadData(const G4String &argFileName) override
G4DNACrossSectionDataSet(const G4DNACrossSectionDataSet ©)=delete
G4DNACrossSectionDataSet()=delete
const G4DataVector & GetLogEnergies(G4int componentId) const override
size_t NumberOfComponents() const override
~G4DNACrossSectionDataSet() override
const G4DataVector & GetLogData(G4int componentId) const override
void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId) override
void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId) override
const G4VEMDataSet * GetComponent(G4int componentId) const override
void PrintData() const override
const G4DataVector & GetEnergies(G4int componentId) const override
const G4DataVector & GetData(G4int componentId) const override
G4DNACrossSectionDataSet & operator=(const G4DNACrossSectionDataSet &right)=delete
void AddComponent(G4VEMDataSet *dataSet) override
G4bool LoadNonLogData(const G4String &argFileName) override
G4double RandomSelect(G4int) const override
G4bool SaveData(const G4String &argFileName) const override
G4double FindValue(G4double e, G4int componentId=0) const override
virtual const G4DataVector & GetLogData(G4int componentId) const =0
virtual const G4DataVector & GetLogEnergies(G4int componentId) const =0
virtual const G4DataVector & GetData(G4int componentId) const =0
virtual const G4DataVector & GetEnergies(G4int componentId) const =0