BmnRoot
Loading...
Searching...
No Matches
BmnRegion.cxx
Go to the documentation of this file.
1
#include "
BmnRegion.h
"
2
3
// ------------- Default constructor ----------------------------------
4
BmnRegion::BmnRegion
( Double_t Zmin, Double_t Zmax)
5
:TObject()
6
{
7
fZmin=Zmin;
8
fZmax
=Zmax;
9
}
10
11
// ------------ Destructor --------------------------------------------
12
BmnRegion::~BmnRegion
() { }
13
14
// ------------ Check if inside this region-------------------------------
15
Bool_t
BmnRegion::IsInside
(Double_t Z){
16
if
( Z>=fZmin && Z<=
fZmax
)
return
kTRUE;
17
else
return
kFALSE;
18
}
BmnRegion::fZmax
ClassDef(BmnRegion, 1) protected Double_t fZmax
Definition
BmnRegion.h:13
BmnRegion::IsInside
Bool_t IsInside(Double_t Z)
Definition
BmnRegion.cxx:15
BmnRegion::BmnRegion
BmnRegion(Double_t Zmin, Double_t Zmax)
Definition
BmnRegion.cxx:4
BmnRegion::~BmnRegion
virtual ~BmnRegion()
Definition
BmnRegion.cxx:12
BmnRegion.h
field
BmnRegion.cxx
Generated on Fri May 15 2026 10:40:53 for BmnRoot by
1.9.8