FairRoot/PandaRoot
PndRegion.cxx
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- PndRegion source file -----
3 // ----- Created 29/01/07 by M. Al/Turany -----
4 // -------------------------------------------------------------------------
5 
6 
7 #include "PndRegion.h"
8 
9 
10 // ------------- Default constructor ----------------------------------
12  :TObject(), fZmin(Zmin), fZmax(Zmax)
13 {
14 }
15 
16 // ------------ Destructor --------------------------------------------
18 }
19 // ------------ Check if inside this region-------------------------------
21  if( Z>=fZmin && Z<=fZmax ) return kTRUE;
22  else return kFALSE;
23 }
24 
Double_t fZmax
Definition: PndRegion.h:27
Double_t
PndRegion(Double_t Zmin, Double_t Zmax)
Definition: PndRegion.cxx:11
Bool_t IsInside(Double_t Z)
Definition: PndRegion.cxx:20
Double_t fZmin
Definition: PndRegion.h:26
ClassImp(PndAnaContFact)
double Z
Definition: anaLmdDigi.C:68
virtual ~PndRegion()
Definition: PndRegion.cxx:17