]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4G3CutVector.h
arguments in the constructor changed
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3CutVector.h
1 // $Id$
2 // Category: global
3 //
4 // Vector of kinetic energy cut values with
5 // convenient set/get methods
6
7 #ifndef TG4_G3_CUT_VECTOR_H
8 #define TG4_G3_CUT_VECTOR_H
9
10 #include "TG4Globals.h"
11 #include "TG4G3Cut.h"
12
13 class G4Track;
14
15 class TG4G3CutVector
16 {
17   public:
18     TG4G3CutVector();
19     TG4G3CutVector(const TG4G3CutVector& right);
20     virtual ~TG4G3CutVector();
21     
22     // operators
23     TG4G3CutVector& operator=(const TG4G3CutVector& right);
24     G4double operator[](G4int index) const;
25         
26     // set methods
27     void SetG3Cut(TG4G3Cut cut, 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