30#ifndef G4MICROELECCROSSSECTIONDATASET_HH
31#define G4MICROELECCROSSSECTIONDATASET_HH 1
50 {
return components[componentId]; }
53 { components.push_back(dataSet); }
56 {
return components.size(); }
71 G4int componentId)
override;
77 G4int componentId)
override;
91 G4double GetUnitEnergies()
const {
return unitEnergies; }
92 G4double GetUnitData()
const {
return unitData; }
94 void CleanUpComponents();
96 std::vector<G4VEMDataSet*> components;
const G4DataVector & GetData(G4int componentId) const override
G4bool LoadData(const G4String &argFileName) override
G4MicroElecCrossSectionDataSet(const G4MicroElecCrossSectionDataSet ©)=delete
~G4MicroElecCrossSectionDataSet()
void PrintData(void) const override
G4bool LoadNonLogData(const G4String &argFileName) override
void SetEnergiesData(G4DataVector *x, G4DataVector *values, G4int componentId) override
G4MicroElecCrossSectionDataSet & operator=(const G4MicroElecCrossSectionDataSet &right)=delete
G4bool SaveData(const G4String &argFileName) const override
G4double FindValue(G4double e, G4int componentId=0) const override
size_t NumberOfComponents(void) const override
void SetLogEnergiesData(G4DataVector *x, G4DataVector *values, G4DataVector *log_x, G4DataVector *log_values, G4int componentId) override
const G4DataVector & GetLogData(G4int componentId) const override
const G4DataVector & GetEnergies(G4int componentId) const override
const G4DataVector & GetLogEnergies(G4int componentId) const override
G4double RandomSelect(G4int) const override
G4MicroElecCrossSectionDataSet(G4VDataSetAlgorithm *algo, G4double xUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn)
void AddComponent(G4VEMDataSet *dataSet) override
const G4VEMDataSet * GetComponent(G4int componentId) 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