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