EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PndRegion.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PndRegion.cxx
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
)
EicRoot
blob
master
field
PndRegion.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration