]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4G3Defaults.h
This commit was generated by cvs2svn to compensate for changes in r1461,
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3Defaults.h
1 // $Id$
2 // Category: physics
3 //
4 // Class stores the default G3 values of the kinetic energy cuts
5 // for particles and the control process flags parameters
6
7 #ifndef TG4_G3DEFAULTS_H
8 #define TG4_G3DEFAULTS_H
9
10 #include "TG3Cut.h"
11 #include "TG3Flag.h"
12
13 #include <globals.hh>
14
15 class TG4G3Defaults
16 {
17   public:
18     // --> protected
19     // TG4G3Defaults();
20     virtual ~TG4G3Defaults();
21
22     // static methods
23     static G4bool IsDefaultCut(TG3Cut g3Cut, G4double value); 
24     static G4bool IsDefaultFlag(TG3Flag g3Flag, G4double value); 
25
26     // static get methods
27        // precision tolerance
28     static G4double CutTolerance();
29     static G4double CutValue(G4int g3Cut);   
30     static TG3FlagValue FlagValue(G4int g3Flag); 
31       
32   protected:
33     TG4G3Defaults();      
34       // only static data members and methods
35
36   private:
37     // static data members  
38       // precision tolerance
39     static const G4double fgCutTolerance; //tolerance for checking
40                                           //cut values with default
41        // kinetic energy cuts
42     static const G4double fgCUTGAM;   //CUTGAM default value 
43     static const G4double fgCUTELE;   //CUTELE default value
44     static const G4double fgCUTNEU;   //CUTNEU default value
45     static const G4double fgCUTHAD;   //CUTHAD default value
46     static const G4double fgCUTMUO;   //CUTMUO default value
47     static const G4double fgBCUTE;    //BCUTE default value
48     static const G4double fgBCUTM;    //BCUTM default value
49     static const G4double fgDCUTE;    //DCUTE default value
50     static const G4double fgDCUTM;    //DCUTM default value
51     static const G4double fgPPCUTM;   //PPCUTM default value
52        // physics processes flags
53     static const TG3FlagValue fgPAIR; //PAIR default value   
54     static const TG3FlagValue fgCOMP; //COMP default value   
55     static const TG3FlagValue fgPHOT; //PHOT default value   
56     static const TG3FlagValue fgPFIS; //PFIS default value   
57     static const TG3FlagValue fgDRAY; //DRAY default value  
58     static const TG3FlagValue fgANNI; //ANNI default value   
59     static const TG3FlagValue fgBREM; //BREM default value  
60     static const TG3FlagValue fgHADR; //HADR default value   
61     static const TG3FlagValue fgMUNU; //MUNU default value   
62     static const TG3FlagValue fgDCAY; //DCAY default value  
63     static const TG3FlagValue fgLOSS; //LOSS default value  
64     static const TG3FlagValue fgMULS; //MULS default value  
65 };     
66
67 // inline methods
68
69 inline G4double TG4G3Defaults::CutTolerance() { return fgCutTolerance; }
70
71 #endif //ALI_G3DEFAULTS_H