44#ifndef G4COMPOSITEDATASET_HH
45#define G4COMPOSITEDATASET_HH 1
71 {
return components[componentId]; }
74 { components.push_back(dataSet); }
77 {
return components.size(); }
94 void CleanUpComponents(
void);
101 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