44 #ifndef G4COMPOSITEDATASET_HH
45 #define G4COMPOSITEDATASET_HH 1
48 #include <CLHEP/Units/SystemOfUnits.h>
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)
G4IInterpolator * algorithm
G4CompositeDataSet & operator=(const G4CompositeDataSet &right)
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
void CleanUpComponents(void)
virtual ~G4CompositeDataSet()
std::vector< G4IDataSet * > components
virtual size_t NumberOfComponents() const
virtual void PrintData(void) const
virtual G4bool SaveData(const G4String &fileName) const