30 #ifndef G4MUELECCROSSSECTIONDATASET_HH
31 #define G4MUELECCROSSSECTIONDATASET_HH 1
52 {
return components[componentId]; }
55 { components.push_back(dataSet); }
58 {
return components.size(); }
99 std::vector<G4VEMDataSet*> components;
108 G4double GetUnitEnergies()
const {
return unitEnergies; }
109 G4double GetUnitData()
const {
return unitData; }
112 void CleanUpComponents(
void);
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual ~G4MuElecCrossSectionDataSet()
virtual G4double FindValue(G4double e, G4int componentId=0) const
virtual size_t NumberOfComponents(void) const
virtual const G4DataVector & GetData(G4int componentId) const =0
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const =0
virtual G4bool LoadData(const G4String &argFileName)
virtual const G4DataVector & GetLogData(G4int componentId) const
virtual const G4VEMDataSet * GetComponent(G4int componentId) const
virtual void PrintData(void) const
virtual void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId)
virtual G4double RandomSelect(G4int) const
void copy(std::vector< T > &main, const std::vector< T > &data)
virtual const G4DataVector & GetLogData(G4int componentId) const =0
virtual const G4DataVector & GetData(G4int componentId) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const
virtual G4bool SaveData(const G4String &argFileName) const
virtual G4bool LoadNonLogData(const G4String &argFileName)
virtual void AddComponent(G4VEMDataSet *dataSet)
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId)