4 // Author: I. Hrivnacova
8 // Class stores the default G3 values of the kinetic energy cuts
9 // for particles and the control process parameters.
11 #ifndef TG4_G3_DEFAULTS_H
12 #define TG4_G3_DEFAULTS_H
14 #include "TG4G3CutVector.h"
15 #include "TG4G3ControlVector.h"
16 #include "TG4G3Control.h"
26 // TG4G3Defaults(const TG4G3Defaults& right);
27 virtual ~TG4G3Defaults();
29 // static access methods
30 static TG4G3Defaults* Instance();
33 G4bool IsDefaultCut(TG4G3Cut cut, G4double value) const;
34 G4bool IsDefaultControl(TG4G3Control control, TG4G3ControlValue value) const;
37 G4double CutValue(G4int cut) const;
38 TG4G3ControlValue ControlValue(G4int control) const;
41 TG4G3Defaults(const TG4G3Defaults& right);
44 TG4G3Defaults& operator=(const TG4G3Defaults& right);
47 // static data members
48 static TG4G3Defaults* fgInstance; //this instance
51 TG4G3CutVector fCutVector; // vector of default cut values
52 TG4G3ControlVector fControlVector;// vector of default control values
57 inline TG4G3Defaults* TG4G3Defaults::Instance()
58 { return fgInstance; }
60 #endif //ALI_G3_DEFAULTS_H