FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
field
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 ----------------------------------
11
PndRegion::PndRegion
(
Double_t
Zmin,
Double_t
Zmax)
12
:TObject(), fZmin(Zmin), fZmax(Zmax)
13
{
14
}
15
16
// ------------ Destructor --------------------------------------------
17
PndRegion::~PndRegion
() {
18
}
19
// ------------ Check if inside this region-------------------------------
20
Bool_t
PndRegion::IsInside
(
Double_t
Z
){
21
if
( Z>=
fZmin
&& Z<=
fZmax
)
return
kTRUE;
22
else
return
kFALSE;
23
}
24
25
ClassImp
(
PndRegion
)
PndRegion.h
PndRegion::fZmax
Double_t fZmax
Definition:
PndRegion.h:27
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndRegion
Definition:
PndRegion.h:15
PndRegion::PndRegion
PndRegion(Double_t Zmin, Double_t Zmax)
Definition:
PndRegion.cxx:11
PndRegion::IsInside
Bool_t IsInside(Double_t Z)
Definition:
PndRegion.cxx:20
PndRegion::fZmin
Double_t fZmin
Definition:
PndRegion.h:26
ClassImp
ClassImp(PndAnaContFact)
Z
double Z
Definition:
anaLmdDigi.C:68
Bool_t
Bool_t
Definition:
SimCompleteLinkDef.h:6
PndRegion::~PndRegion
virtual ~PndRegion()
Definition:
PndRegion.cxx:17
Generated on Wed Apr 3 2019 10:02:56 for FairRoot/PandaRoot by
1.8.5