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 void AddComponent(G4IDataSet *dataSet)
virtual const G4DataVector & GetEnergies(G4int componentId) const =0
virtual void SetEnergiesData(G4DataVector *x, G4DataVector *data, G4int componentId)
virtual const G4DataVector & GetData(G4int componentId) const =0
void copy(std::vector< T > &main, const std::vector< T > &data)
virtual G4bool LoadData(const G4String &fileName)
virtual const G4IDataSet * GetComponent(G4int componentId) const
virtual const G4DataVector & GetEnergies(G4int componentId) const
virtual G4double RandomSelect(G4int componentId) const
virtual const G4DataVector & GetData(G4int componentId) const
virtual G4double FindValue(G4double x, G4int componentId=0) const
virtual ~G4CompositeDataSet()
virtual size_t NumberOfComponents() const
virtual void PrintData(void) const
virtual G4bool SaveData(const G4String &fileName) const
const XML_Char const XML_Char * data