]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4SpecialCutsForChargedHadron.cxx
Added EDEFINE with the flags from Geant4
[u/mrichter/AliRoot.git] / TGeant4 / TG4SpecialCutsForChargedHadron.cxx
1 // $Id$
2 // Category: physics
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class TG4SpecialCutsForChargedHadron
7 // ------------------------------------
8 // See the class description in the header file.
9
10 #include "TG4SpecialCutsForChargedHadron.h"
11 #include "TG4Limits.h"
12
13
14 //_____________________________________________________________________________
15 TG4SpecialCutsForChargedHadron::TG4SpecialCutsForChargedHadron(
16                                           const G4String& processName)
17   : TG4VSpecialCuts(processName) {
18 //
19 }
20
21 //_____________________________________________________________________________
22 TG4SpecialCutsForChargedHadron::TG4SpecialCutsForChargedHadron() {
23 //
24 }
25
26 //_____________________________________________________________________________
27 TG4SpecialCutsForChargedHadron::~TG4SpecialCutsForChargedHadron() {
28 //
29 }
30
31 // public methods
32
33 //_____________________________________________________________________________
34 G4double TG4SpecialCutsForChargedHadron::GetMinEkine(const TG4Limits& limits,
35                                                      const G4Track& track) const
36 {                                            
37 // Returns the min kinetic energy cut from limits.
38 // --- 
39
40   return limits.GetMinEkineForChargedHadron(track);
41 }  
42