]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4CutVector.h
Correcting coding convention violations
[u/mrichter/AliRoot.git] / TGeant4 / TG4CutVector.h
1 // $Id$
2 // Category: physics
3 //
4 // Vector of kinetic energy cut values with
5 // convenient set/get methods
6
7 #ifndef TG4_CUT_VECTOR_H
8 #define TG4_CUT_VECTOR_H
9
10 #include "TG4Globals.h"
11 #include "TG3Cut.h"
12
13 class G4Track;
14
15 class TG4CutVector
16 {
17   public:
18     TG4CutVector();
19     TG4CutVector(const TG4CutVector& right);
20     virtual ~TG4CutVector();
21     
22     // operators
23     TG4CutVector& operator=(const TG4CutVector& right);
24     G4double operator[](G4int index) const;
25         
26     // set methods
27     void SetG3Cut(TG3Cut g3Cut, G4double cutValue);
28     void SetG3Defaults();
29     
30     // get methods
31     G4double GetMinEkine(const G4Track& track) const;
32     G4double GetMinEkineForGamma(const G4Track& track) const;
33     G4double GetMinEkineForElectron(const G4Track& track) const;
34     G4double GetMinEkineForHadron(const G4Track& track) const;
35     G4double GetMinEkineForNeutralHadron(const G4Track& track) const;
36     G4double GetMinEkineForMuon(const G4Track& track) const;
37     G4double GetMinEkineForOther(const G4Track& track) const;
38
39   private:
40     // data members
41     TG4doubleVector*  fCutVector; //vector of kinetic energy cut values 
42 };
43
44 #endif //TG4_CUT_VECTOR_H
45
46
47