30 #ifndef G4MICROELECCROSSSECTIONDATASET_HH
31 #define G4MICROELECCROSSSECTIONDATASET_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 const G4VEMDataSet * GetComponent(G4int componentId) const
virtual G4double RandomSelect(G4int) const
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId)
virtual G4bool LoadNonLogData(const G4String &argFileName)
virtual G4bool SaveData(const G4String &argFileName) const
virtual const G4DataVector & GetData(G4int componentId) const =0
virtual const G4DataVector & GetLogEnergies(G4int componentId) const =0
virtual void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId)
virtual const G4DataVector & GetLogData(G4int componentId) const
virtual void AddComponent(G4VEMDataSet *dataSet)
static constexpr double barn
virtual size_t NumberOfComponents(void) const
virtual const G4DataVector & GetLogData(G4int componentId) const =0
static constexpr double MeV
virtual G4double FindValue(G4double e, G4int componentId=0) const
virtual G4bool LoadData(const G4String &argFileName)
virtual ~G4MicroElecCrossSectionDataSet()
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual const G4DataVector & GetData(G4int componentId) const
virtual void PrintData(void) const
virtual const G4DataVector & GetLogEnergies(G4int componentId) const