48 #ifndef G4CrossSectionDataSet_HH
49 #define G4CrossSectionDataSet_HH 1
70 {
return components[componentId]; }
73 { components.push_back(dataSet); }
76 {
return components.size(); }
117 std::vector<G4VEMDataSet*> components;
126 G4double GetUnitEnergies()
const {
return unitEnergies; }
127 G4double GetUnitData()
const {
return unitData; }
130 void CleanUpComponents(
void);
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual const G4DataVector & GetData(G4int componentId) const =0
virtual G4bool SaveData(const G4String &argFileName) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const =0
virtual ~G4CrossSectionDataSet()
virtual size_t NumberOfComponents(void) const
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId)
virtual G4bool LoadNonLogData(const G4String &argFileName)
virtual void PrintData(void) const
void copy(std::vector< T > &main, const std::vector< T > &data)
virtual const G4DataVector & GetLogData(G4int componentId) const =0
virtual G4double FindValue(G4double e, G4int componentId=0) const
virtual G4double RandomSelect(G4int) const
virtual const G4DataVector & GetLogData(G4int componentId) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const
virtual const G4VEMDataSet * GetComponent(G4int componentId) const
virtual void AddComponent(G4VEMDataSet *dataSet)
virtual void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId)
virtual G4bool LoadData(const G4String &argFileName)
virtual const G4DataVector & GetData(G4int componentId) const