]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TGeant4/TG4G3CutVector.h
moved from geometry to digits+hits; added comment lines separating methods
[u/mrichter/AliRoot.git] / TGeant4 / TG4G3CutVector.h
CommitLineData
2817d3e2 1// $Id$
0375ab40 2// Category: global
2817d3e2 3//
4// Vector of kinetic energy cut values with
5// convenient set/get methods
6
0375ab40 7#ifndef TG4_G3_CUT_VECTOR_H
8#define TG4_G3_CUT_VECTOR_H
2817d3e2 9
10#include "TG4Globals.h"
0375ab40 11#include "TG4G3Cut.h"
2817d3e2 12
13class G4Track;
14
0375ab40 15class TG4G3CutVector
2817d3e2 16{
17 public:
0375ab40 18 TG4G3CutVector();
19 TG4G3CutVector(const TG4G3CutVector& right);
20 virtual ~TG4G3CutVector();
2817d3e2 21
22 // operators
0375ab40 23 TG4G3CutVector& operator=(const TG4G3CutVector& right);
2817d3e2 24 G4double operator[](G4int index) const;
25
26 // set methods
0375ab40 27 void SetG3Cut(TG4G3Cut cut, G4double cutValue);
2817d3e2 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