]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4FlagVector.h
corrected includes from g4std
[u/mrichter/AliRoot.git] / TGeant4 / TG4FlagVector.h
1 // $Id$
2 // Category: physics
3 //
4 // Vector of control process flag values
5 // with convenient set/get methods
6
7 #ifndef TG4_FLAG_VECTOR_H
8 #define TG4_FLAG_VECTOR_H
9
10 #include "TG4Globals.h"
11 #include "TG3Flag.h"
12
13 class G4VProcess;
14
15 class TG4FlagVector
16 {
17   public:
18     TG4FlagVector();
19     TG4FlagVector(const TG4FlagVector& right);
20     virtual ~TG4FlagVector();
21     
22     // operators
23     TG4FlagVector& operator=(const TG4FlagVector& right);
24     G4double operator[](G4int index) const;
25
26     // set methods
27     void SetG3Flag(TG3Flag g3Flag, G4double flagValue);
28     void SetG3Defaults();
29     
30     // get methods
31     G4int GetFlag(G4VProcess* process) const; 
32
33   private:
34     // data members
35     TG3FlagVector*  fFlagVector; //vector of control process flag values
36 };
37
38 #endif //TG4_FLAG_VECTOR_H
39
40
41