43#ifndef G4COMPOSITEDATASET_HH
44#define G4COMPOSITEDATASET_HH 1
70 {
return components[componentId]; }
73 { components.push_back(dataSet); }
76 {
return components.size(); }
93 void CleanUpComponents(
void);
100 std::vector<G4IDataSet*> components;
virtual size_t NumberOfComponents() const
virtual G4bool SaveData(const G4String &fileName) const
virtual void AddComponent(G4IDataSet *dataSet)
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual G4double RandomSelect(G4int componentId) const
virtual ~G4CompositeDataSet()
virtual void PrintData(void) const
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *data, G4int componentId)
virtual const G4DataVector & GetData(G4int componentId) const
virtual const G4IDataSet * GetComponent(G4int componentId) const
virtual G4bool LoadData(const G4String &fileName)
virtual G4double FindValue(G4double x, G4int componentId=0) const
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual const G4DataVector & GetData(G4int componentId) const =0