47#ifndef G4CrossSectionDataSet_HH
48#define G4CrossSectionDataSet_HH 1
69 {
return components[componentId]; }
72 { components.push_back(dataSet); }
75 {
return components.size(); }
116 std::vector<G4VEMDataSet*> components;
125 G4double GetUnitEnergies()
const {
return unitEnergies; }
126 G4double GetUnitData()
const {
return unitData; }
129 void CleanUpComponents(
void);
virtual G4bool LoadData(const G4String &argFileName)
virtual G4bool LoadNonLogData(const G4String &argFileName)
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId)
virtual const G4VEMDataSet * GetComponent(G4int componentId) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const
virtual G4bool SaveData(const G4String &argFileName) const
virtual void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId)
virtual ~G4CrossSectionDataSet()
virtual const G4DataVector & GetData(G4int componentId) const
virtual G4double RandomSelect(G4int) const
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual G4double FindValue(G4double e, G4int componentId=0) const
virtual void AddComponent(G4VEMDataSet *dataSet)
virtual const G4DataVector & GetLogData(G4int componentId) const
virtual void PrintData(void) const
virtual size_t NumberOfComponents(void) const
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