![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockCellGeom.h>
Inheritance diagram for PHG4BlockCellGeom:
Collaboration diagram for PHG4BlockCellGeom:Public Member Functions | |
| PHG4BlockCellGeom () | |
| ~PHG4BlockCellGeom () override | |
| void | identify (std::ostream &os=std::cout) const override |
| int | get_layer () const |
| int | get_binning () const |
| int | get_zbins () const |
| double | get_zstep () const |
| double | get_zmin () const |
| int | get_xbins () const |
| double | get_xstep () const |
| double | get_xmin () const |
| int | get_etabins () const |
| double | get_etastep () const |
| double | get_etamin () const |
| std::pair< double, double > | get_zbounds (const int ibin) const |
| std::pair< double, double > | get_etabounds (const int ibin) const |
| std::pair< double, double > | get_xbounds (const int ibin) const |
| double | get_etacenter (const int ibin) const |
| double | get_zcenter (const int ibin) const |
| double | get_xcenter (const int ibin) const |
| int | get_etabin (const double eta) const |
| int | get_zbin (const double z) const |
| int | get_xbin (const double x) const |
| void | set_layer (const int i) |
| void | set_binning (const int i) |
| void | set_zbins (const int i) |
| void | set_zmin (const double z) |
| void | set_zstep (const double z) |
| void | set_xbins (const int i) |
| void | set_xstep (const double x) |
| void | set_xmin (const double x) |
| void | set_etabins (const int i) |
| void | set_etamin (const double z) |
| void | set_etastep (const double z) |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor | |
| ~PHObject () override | |
| dtor | |
| virtual PHObject * | CloneMe () const |
| Virtual copy constructor. | |
| virtual PHObject * | clone () const final |
| PHObject * | Clone (const char *newname="") const final |
| void | Copy (TObject &object) const final |
| virtual void | Reset () |
| Clear Event. | |
| virtual int | isValid () const |
| isValid returns non zero if object contains vailid data | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| virtual int | Integrate () const |
| virtual int | Integrate (PHObject *) |
| virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
| void | check_binning_method (const int i) const |
| void | check_binning_method_eta (const std::string &src="") const |
| void | check_binning_method_x (const std::string &src="") const |
| std::string | methodname (const int i) const |
Protected Attributes | |
| int | _layer |
| int | _binning |
| int | _nzbins |
| double | _zmin |
| double | _zstep |
| int | _nxbins |
| double | _xmin |
| double | _xstep |
Definition at line 12 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 12 of file PHG4BlockCellGeom.h
| PHG4BlockCellGeom::PHG4BlockCellGeom | ( | ) |
Definition at line 9 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4BlockCellGeom.cc
|
inlineoverride |
Definition at line 17 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4BlockCellGeom.h
|
protected |
Definition at line 325 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 325 of file PHG4BlockCellGeom.cc
References _binning, exit(), and methodname().
Referenced by get_zbin(), get_zbins(), get_zbounds(), get_zcenter(), get_zmin(), get_zstep(), set_zbins(), set_zmin(), and set_zstep().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 338 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 338 of file PHG4BlockCellGeom.cc
References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, exit(), and methodname().
Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), get_etamin(), get_etastep(), set_etabins(), set_etamin(), and set_etastep().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 356 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 356 of file PHG4BlockCellGeom.cc
References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, exit(), methodname(), and PHG4CylinderCellDefs::sizebinning.
Referenced by get_xbin(), get_xbins(), get_xcenter(), get_xmin(), get_xstep(), set_xbins(), set_xmin(), and set_xstep().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 23 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4BlockCellGeom.h
References _binning.
| int PHG4BlockCellGeom::get_etabin | ( | const double | eta | ) | const |
Definition at line 242 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 242 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| int PHG4BlockCellGeom::get_etabins | ( | ) | const |
Definition at line 107 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 107 of file PHG4BlockCellGeom.cc
References _nzbins, and check_binning_method_eta().
Here is the call graph for this function:| pair< double, double > PHG4BlockCellGeom::get_etabounds | ( | const int | ibin | ) | const |
Definition at line 199 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 199 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method_eta(), and exit().
Here is the call graph for this function:| double PHG4BlockCellGeom::get_etacenter | ( | const int | ibin | ) | const |
Definition at line 279 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 279 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method_eta(), and exit().
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| double PHG4BlockCellGeom::get_etamin | ( | ) | const |
Definition at line 120 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 120 of file PHG4BlockCellGeom.cc
References _zmin, and check_binning_method_eta().
Here is the call graph for this function:| double PHG4BlockCellGeom::get_etastep | ( | ) | const |
Definition at line 114 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 114 of file PHG4BlockCellGeom.cc
References _zstep, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 22 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4BlockCellGeom.h
References _layer.
Referenced by PHG4BlockCellGeomContainer::AddLayerCellGeom().
Here is the caller graph for this function:| int PHG4BlockCellGeom::get_xbin | ( | const double | x | ) | const |
Definition at line 254 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 254 of file PHG4BlockCellGeom.cc
References _nxbins, _xmin, _xstep, check_binning_method_x(), and x.
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| int PHG4BlockCellGeom::get_xbins | ( | ) | const |
Definition at line 65 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 65 of file PHG4BlockCellGeom.cc
References _nxbins, and check_binning_method_x().
Here is the call graph for this function:| pair< double, double > PHG4BlockCellGeom::get_xbounds | ( | const int | ibin | ) | const |
Definition at line 215 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 215 of file PHG4BlockCellGeom.cc
References _nxbins, _xmin, _xstep, and exit().
Here is the call graph for this function:| double PHG4BlockCellGeom::get_xcenter | ( | const int | ibin | ) | const |
Definition at line 292 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 292 of file PHG4BlockCellGeom.cc
References _nxbins, _xmin, _xstep, check_binning_method_x(), and exit().
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| double PHG4BlockCellGeom::get_xmin | ( | ) | const |
Definition at line 79 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 79 of file PHG4BlockCellGeom.cc
References _xmin, and check_binning_method_x().
Here is the call graph for this function:| double PHG4BlockCellGeom::get_xstep | ( | ) | const |
Definition at line 72 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4BlockCellGeom.cc
References _xstep, and check_binning_method_x().
Referenced by PHG4BlockCellReco::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| int PHG4BlockCellGeom::get_zbin | ( | const double | z | ) | const |
Definition at line 229 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 229 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| int PHG4BlockCellGeom::get_zbins | ( | ) | const |
Definition at line 37 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4BlockCellGeom.cc
References _nzbins, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| pair< double, double > PHG4BlockCellGeom::get_zbounds | ( | const int | ibin | ) | const |
Definition at line 185 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 185 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), exit(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| double PHG4BlockCellGeom::get_zcenter | ( | const int | ibin | ) | const |
Definition at line 267 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 267 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), exit(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| double PHG4BlockCellGeom::get_zmin | ( | ) | const |
Definition at line 44 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| double PHG4BlockCellGeom::get_zstep | ( | ) | const |
Definition at line 51 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 51 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Definition at line 148 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 148 of file PHG4BlockCellGeom.cc
References _binning, _layer, _nxbins, _nzbins, _xmin, _xstep, _zmin, _zstep, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and PHG4CylinderCellDefs::sizebinning.
Referenced by PHG4BlockCellReco::InitRun().
Here is the caller graph for this function:
|
protected |
Definition at line 305 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 305 of file PHG4BlockCellGeom.cc
References PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and PHG4CylinderCellDefs::sizebinning.
Referenced by check_binning_method(), check_binning_method_eta(), and check_binning_method_x().
Here is the caller graph for this function:
|
inline |
Definition at line 50 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4BlockCellGeom.h
References _binning.
Referenced by PHG4BlockCellReco::InitRun().
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_etabins | ( | const int | i | ) |
Definition at line 141 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 141 of file PHG4BlockCellGeom.cc
References _nzbins, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_etamin | ( | const double | z | ) |
Definition at line 127 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 127 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method_eta(), and z.
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_etastep | ( | const double | z | ) |
Definition at line 134 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 134 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method_eta(), and z.
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 49 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4BlockCellGeom.h
References _layer.
Referenced by PHG4BlockCellGeomContainer::AddLayerCellGeom(), and PHG4BlockCellReco::InitRun().
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_xbins | ( | const int | i | ) |
Definition at line 86 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 86 of file PHG4BlockCellGeom.cc
References _nxbins, and check_binning_method_x().
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_xmin | ( | const double | x | ) |
Definition at line 100 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 100 of file PHG4BlockCellGeom.cc
References _xmin, and check_binning_method_x().
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_xstep | ( | const double | x | ) |
Definition at line 93 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 93 of file PHG4BlockCellGeom.cc
References _xstep, and check_binning_method_x().
Referenced by PHG4BlockCellReco::InitRun().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4BlockCellGeom::set_zbins | ( | const int | i | ) |
Definition at line 23 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 23 of file PHG4BlockCellGeom.cc
References _nzbins, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Here is the call graph for this function:| void PHG4BlockCellGeom::set_zmin | ( | const double | z | ) |
Definition at line 30 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and z.
Here is the call graph for this function:| void PHG4BlockCellGeom::set_zstep | ( | const double | z | ) |
Definition at line 58 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and z.
Here is the call graph for this function:
|
protected |
Definition at line 71 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4BlockCellGeom.h
Referenced by check_binning_method(), check_binning_method_eta(), check_binning_method_x(), get_binning(), identify(), and set_binning().
|
protected |
Definition at line 70 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4BlockCellGeom.h
Referenced by get_layer(), identify(), and set_layer().
|
protected |
Definition at line 77 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4BlockCellGeom.h
Referenced by get_xbin(), get_xbins(), get_xbounds(), get_xcenter(), identify(), and set_xbins().
|
protected |
Definition at line 73 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4BlockCellGeom.h
Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), get_zbin(), get_zbins(), get_zbounds(), get_zcenter(), identify(), set_etabins(), and set_zbins().
|
protected |
Definition at line 78 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4BlockCellGeom.h
Referenced by get_xbin(), get_xbounds(), get_xcenter(), get_xmin(), identify(), and set_xmin().
|
protected |
Definition at line 79 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4BlockCellGeom.h
Referenced by get_xbin(), get_xbounds(), get_xcenter(), get_xstep(), identify(), and set_xstep().
|
protected |
Definition at line 74 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4BlockCellGeom.h
Referenced by get_etabin(), get_etabounds(), get_etacenter(), get_etamin(), get_zbin(), get_zbounds(), get_zcenter(), get_zmin(), identify(), set_etamin(), and set_zmin().
|
protected |
Definition at line 75 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4BlockCellGeom.h
Referenced by get_etabin(), get_etabounds(), get_etacenter(), get_etastep(), get_zbin(), get_zbounds(), get_zcenter(), get_zstep(), identify(), set_etastep(), and set_zstep().