Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockCellGeom.h>
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 | 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 307 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 307 of file PHG4BlockCellGeom.cc
References _binning, and methodname().
Referenced by get_zbin(), get_zbins(), get_zbounds(), get_zcenter(), get_zmin(), get_zstep(), set_zbins(), set_zmin(), and set_zstep().
|
protected |
Definition at line 319 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 319 of file PHG4BlockCellGeom.cc
References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and methodname().
Referenced by get_etabin(), get_etabins(), get_etabounds(), get_etacenter(), get_etamin(), get_etastep(), set_etabins(), set_etamin(), and set_etastep().
|
protected |
Definition at line 336 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 336 of file PHG4BlockCellGeom.cc
References _binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, methodname(), and PHG4CylinderCellDefs::sizebinning.
Referenced by get_xbin(), get_xbins(), get_xcenter(), get_xmin(), get_xstep(), set_xbins(), set_xmin(), and set_xstep().
|
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 226 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 226 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::process_event().
int PHG4BlockCellGeom::get_etabins | ( | ) | const |
Definition at line 98 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 98 of file PHG4BlockCellGeom.cc
References _nzbins, and check_binning_method_eta().
Definition at line 186 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 186 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, and check_binning_method_eta().
double PHG4BlockCellGeom::get_etacenter | ( | const int | ibin | ) | const |
Definition at line 262 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 262 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::process_event().
double PHG4BlockCellGeom::get_etamin | ( | ) | const |
Definition at line 111 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 111 of file PHG4BlockCellGeom.cc
References _zmin, and check_binning_method_eta().
double PHG4BlockCellGeom::get_etastep | ( | ) | const |
Definition at line 105 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 105 of file PHG4BlockCellGeom.cc
References _zstep, and check_binning_method_eta().
Referenced by PHG4BlockCellReco::process_event().
|
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().
int PHG4BlockCellGeom::get_xbin | ( | const double | x | ) | const |
Definition at line 237 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 237 of file PHG4BlockCellGeom.cc
References _nxbins, _xmin, _xstep, check_binning_method_x(), and ambiguity_solver_full_chain::x.
Referenced by PHG4BlockCellReco::process_event().
int PHG4BlockCellGeom::get_xbins | ( | ) | const |
Definition at line 60 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4BlockCellGeom.cc
References _nxbins, and check_binning_method_x().
Definition at line 201 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 201 of file PHG4BlockCellGeom.cc
double PHG4BlockCellGeom::get_xcenter | ( | const int | ibin | ) | const |
Definition at line 275 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 275 of file PHG4BlockCellGeom.cc
References _nxbins, _xmin, _xstep, and check_binning_method_x().
Referenced by PHG4BlockCellReco::process_event().
double PHG4BlockCellGeom::get_xmin | ( | ) | const |
Definition at line 74 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 74 of file PHG4BlockCellGeom.cc
References _xmin, and check_binning_method_x().
double PHG4BlockCellGeom::get_xstep | ( | ) | const |
Definition at line 67 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 67 of file PHG4BlockCellGeom.cc
References _xstep, and check_binning_method_x().
Referenced by PHG4BlockCellReco::process_event().
int PHG4BlockCellGeom::get_zbin | ( | const double | z | ) | const |
Definition at line 214 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 214 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
int PHG4BlockCellGeom::get_zbins | ( | ) | const |
Definition at line 34 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 34 of file PHG4BlockCellGeom.cc
References _nzbins, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
Definition at line 172 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 172 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
double PHG4BlockCellGeom::get_zcenter | ( | const int | ibin | ) | const |
Definition at line 250 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 250 of file PHG4BlockCellGeom.cc
References _nzbins, _zmin, _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
double PHG4BlockCellGeom::get_zmin | ( | ) | const |
Definition at line 41 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 41 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
double PHG4BlockCellGeom::get_zstep | ( | ) | const |
Definition at line 48 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 48 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method(), and PHG4CylinderCellDefs::sizebinning.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 135 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 135 of file PHG4BlockCellGeom.cc
References _binning, _layer, _nxbins, _nzbins, _xmin, _xstep, _zmin, _zstep, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, and PHG4CylinderCellDefs::sizebinning.
Referenced by PHG4BlockCellReco::InitRun().
|
protected |
Definition at line 288 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 288 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().
|
inline |
Definition at line 50 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4BlockCellGeom.h
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_etabins | ( | const int | i | ) |
Definition at line 129 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 129 of file PHG4BlockCellGeom.cc
References _nzbins, check_binning_method_eta(), and i.
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_etamin | ( | const double | z | ) |
Definition at line 117 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 117 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method_eta(), and physmon_track_finding_ttbar::z.
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_etastep | ( | const double | z | ) |
Definition at line 123 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 123 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method_eta(), and physmon_track_finding_ttbar::z.
Referenced by PHG4BlockCellReco::InitRun().
|
inline |
Definition at line 49 of file PHG4BlockCellGeom.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4BlockCellGeom.h
Referenced by PHG4BlockCellGeomContainer::AddLayerCellGeom(), and PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_xbins | ( | const int | i | ) |
Definition at line 80 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 80 of file PHG4BlockCellGeom.cc
References _nxbins, check_binning_method_x(), and i.
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_xmin | ( | const double | x | ) |
Definition at line 92 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 92 of file PHG4BlockCellGeom.cc
References _xmin, check_binning_method_x(), and physmon_track_finding_ttbar::r.
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_xstep | ( | const double | x | ) |
Definition at line 86 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 86 of file PHG4BlockCellGeom.cc
References _xstep, check_binning_method_x(), and physmon_track_finding_ttbar::r.
Referenced by PHG4BlockCellReco::InitRun().
void PHG4BlockCellGeom::set_zbins | ( | const int | i | ) |
Definition at line 22 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 22 of file PHG4BlockCellGeom.cc
References _nzbins, check_binning_method(), i, and PHG4CylinderCellDefs::sizebinning.
void PHG4BlockCellGeom::set_zmin | ( | const double | z | ) |
Definition at line 28 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 28 of file PHG4BlockCellGeom.cc
References _zmin, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and physmon_track_finding_ttbar::z.
void PHG4BlockCellGeom::set_zstep | ( | const double | z | ) |
Definition at line 54 of file PHG4BlockCellGeom.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4BlockCellGeom.cc
References _zstep, check_binning_method(), PHG4CylinderCellDefs::sizebinning, and physmon_track_finding_ttbar::z.
|
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().