Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderCellGeom.h>
Public Member Functions | |
PHG4CylinderCellGeom ()=default | |
~PHG4CylinderCellGeom () override=default | |
void | identify (std::ostream &os=std::cout) const override |
int | get_layer () const |
double | get_radius () const |
double | get_thickness () const |
int | get_binning () const |
int | get_zbins () const |
int | get_phibins () const |
double | get_zmin () const |
double | get_phistep () const |
double | get_phimin () const |
double | get_zstep () const |
int | get_etabins () const |
double | get_etastep () const |
double | get_etamin () const |
virtual std::pair< double, double > | get_zbounds (const int ibin) const |
virtual std::pair< double, double > | get_phibounds (const int ibin) const |
virtual std::pair< double, double > | get_etabounds (const int ibin) const |
virtual double | get_etacenter (const int ibin) const |
virtual double | get_zcenter (const int ibin) const |
virtual double | get_phicenter (const int ibin) const |
virtual int | get_etabin (const double eta) const |
virtual int | get_zbin (const double z) const |
virtual int | get_phibin (const double phi) const |
void | set_layer (const int i) |
void | set_binning (const int i) |
void | set_radius (const double r) |
void | set_thickness (const double t) |
void | set_zbins (const int i) |
void | set_zmin (const double z) |
void | set_zstep (const double z) |
void | set_phibins (const int i) |
void | set_phistep (const double phi) |
void | set_phimin (const double phi) |
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_phi (const std::string &src="") const |
std::string | methodname (const int i) const |
Protected Attributes | |
int | layer = -999 |
int | binning = 0 |
double | radius = NAN |
int | nzbins = -1 |
double | zmin = NAN |
double | zstep = NAN |
int | nphibins = -1 |
double | phimin = -M_PI |
double | phistep = NAN |
double | thickness = NAN |
Definition at line 13 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 13 of file PHG4CylinderCellGeom.h
|
default |
|
overridedefault |
|
protected |
Definition at line 296 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 296 of file PHG4CylinderCellGeom.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 308 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 308 of file PHG4CylinderCellGeom.cc
References binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, methodname(), and PHG4CylinderCellDefs::spacalbinning.
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 327 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 327 of file PHG4CylinderCellGeom.cc
References binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, methodname(), PHG4CylinderCellDefs::sizebinning, and PHG4CylinderCellDefs::spacalbinning.
Referenced by get_phibin(), get_phibins(), get_phicenter(), get_phimin(), get_phistep(), set_phibins(), set_phimin(), and set_phistep().
|
inline |
Definition at line 26 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4CylinderCellGeom.h
References binning.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 212 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 212 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), nzbins, zmin, and zstep.
Referenced by PHG4CylinderCellReco::process_event().
int PHG4CylinderCellGeom::get_etabins | ( | ) | const |
Definition at line 83 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 83 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), and nzbins.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 172 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 172 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), nzbins, PHWHERE, zmin, and zstep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 248 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 248 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), nzbins, PHWHERE, zmin, and zstep.
Referenced by PHG4CylinderCellReco::process_event().
double PHG4CylinderCellGeom::get_etamin | ( | ) | const |
Definition at line 96 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 96 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), and zmin.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
double PHG4CylinderCellGeom::get_etastep | ( | ) | const |
Definition at line 90 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), and zstep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), and PHG4CylinderCellReco::process_event().
|
inline |
Definition at line 23 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4CylinderCellGeom.h
References layer.
Referenced by PHG4CylinderCellGeomContainer::AddLayerCellGeom(), PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Definition at line 223 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 223 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), nphibins, ActsTests::PropagationDatasets::phi, phimin, and phistep.
Referenced by PHG4CylinderCellReco::process_event().
int PHG4CylinderCellGeom::get_phibins | ( | ) | const |
Definition at line 45 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 45 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), and nphibins.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), TpcPrototypeUnpacker::exportDSTCluster(), TpcPrototypeClusterizer::process_event(), TPCIntegratedCharge::process_event(), TPCDataStreamEmulator::process_event(), and TPCMLDataInterface::process_event().
Definition at line 187 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 187 of file PHG4CylinderCellGeom.cc
References nphibins, phimin, phistep, and PHWHERE.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Definition at line 261 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 261 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), nphibins, phimin, phistep, and PHWHERE.
Referenced by TpcPrototypeUnpacker::exportDSTCluster(), TpcPrototypeClusterizer::process_event(), PHG4CylinderCellReco::process_event(), and readDigitalCurrents::process_event().
double PHG4CylinderCellGeom::get_phimin | ( | ) | const |
Definition at line 59 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 59 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), and phimin.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
double PHG4CylinderCellGeom::get_phistep | ( | ) | const |
Definition at line 52 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), and phistep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), TpcPrototypeClusterizer::process_event(), and PHG4CylinderCellReco::process_event().
|
inline |
Definition at line 24 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4CylinderCellGeom.h
References radius.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), TpcPrototypeUnpacker::exportDSTCluster(), TpcPrototypeClusterizer::process_event(), TPCDataStreamEmulator::process_event(), TPCMLDataInterface::process_event(), and readDigitalCurrents::process_event().
|
inline |
Definition at line 25 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4CylinderCellGeom.h
References thickness.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 200 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 200 of file PHG4CylinderCellGeom.cc
References check_binning_method(), nzbins, PHG4CylinderCellDefs::sizebinning, zmin, and zstep.
Referenced by PHG4CylinderCellReco::process_event().
int PHG4CylinderCellGeom::get_zbins | ( | ) | const |
Definition at line 19 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 19 of file PHG4CylinderCellGeom.cc
References check_binning_method(), nzbins, and PHG4CylinderCellDefs::sizebinning.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), TpcPrototypeUnpacker::exportDSTCluster(), TPCDataStreamEmulator::InitRun(), TPCMLDataInterface::InitRun(), TpcPrototypeClusterizer::process_event(), TPCIntegratedCharge::process_event(), TPCDataStreamEmulator::process_event(), and TPCMLDataInterface::process_event().
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 158 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 158 of file PHG4CylinderCellGeom.cc
References check_binning_method(), nzbins, PHWHERE, PHG4CylinderCellDefs::sizebinning, zmin, and zstep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), and RawTowerBuilder::CreateNodes().
|
virtual |
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 236 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 236 of file PHG4CylinderCellGeom.cc
References check_binning_method(), nzbins, PHWHERE, PHG4CylinderCellDefs::sizebinning, zmin, and zstep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), TpcPrototypeUnpacker::exportDSTCluster(), TpcPrototypeClusterizer::process_event(), PHG4CylinderCellReco::process_event(), TPCDataStreamEmulator::process_event(), TPCMLDataInterface::process_event(), and readDigitalCurrents::process_event().
double PHG4CylinderCellGeom::get_zmin | ( | ) | const |
Definition at line 26 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 26 of file PHG4CylinderCellGeom.cc
References check_binning_method(), PHG4CylinderCellDefs::sizebinning, and zmin.
double PHG4CylinderCellGeom::get_zstep | ( | ) | const |
Definition at line 33 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 33 of file PHG4CylinderCellGeom.cc
References check_binning_method(), PHG4CylinderCellDefs::sizebinning, and zstep.
Referenced by TpcPrototypeClusterizer::process_event(), and PHG4CylinderCellReco::process_event().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in PHG4CylinderCellGeom_Spacalv1.
Definition at line 120 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 120 of file PHG4CylinderCellGeom.cc
References binning, PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, layer, nphibins, nzbins, phimin, phistep, radius, PHG4CylinderCellDefs::sizebinning, PHG4CylinderCellDefs::spacalbinning, thickness, zmin, and zstep.
Referenced by PHG4SpacalDetector::AddTowerGeometryNode(), RawTowerBuilder::CreateNodes(), PHG4CylinderCellGeom_Spacalv1::identify(), and PHG4CylinderCellReco::InitRun().
|
protected |
Definition at line 274 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 274 of file PHG4CylinderCellGeom.cc
References PHG4CylinderCellDefs::etaphibinning, PHG4CylinderCellDefs::etaslatbinning, PHG4CylinderCellDefs::sizebinning, and PHG4CylinderCellDefs::spacalbinning.
Referenced by check_binning_method(), check_binning_method_eta(), and check_binning_method_phi().
|
inline |
Definition at line 49 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4CylinderCellGeom.h
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_etabins | ( | const int | i | ) |
Definition at line 114 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 114 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), i, and nzbins.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_etamin | ( | const double | z | ) |
Definition at line 102 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 102 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), physmon_track_finding_ttbar::z, and zmin.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_etastep | ( | const double | z | ) |
Definition at line 108 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 108 of file PHG4CylinderCellGeom.cc
References check_binning_method_eta(), physmon_track_finding_ttbar::z, and zstep.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
|
inline |
Definition at line 48 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4CylinderCellGeom.h
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellGeomContainer::AddLayerCellGeom(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_phibins | ( | const int | i | ) |
Definition at line 65 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 65 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), i, and nphibins.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_phimin | ( | const double | phi | ) |
Definition at line 77 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 77 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), phimin, and physmon_track_finding_ttbar::r.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_phistep | ( | const double | phi | ) |
Definition at line 71 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 71 of file PHG4CylinderCellGeom.cc
References check_binning_method_phi(), phistep, and physmon_track_finding_ttbar::r.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
|
inline |
Definition at line 50 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4CylinderCellGeom.h
References physmon_track_finding_ttbar::r, and radius.
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
|
inline |
Definition at line 51 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4CylinderCellGeom.h
Referenced by PHG4SpacalDetector::AddCellGeometryNode(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().
void PHG4CylinderCellGeom::set_zbins | ( | const int | i | ) |
Definition at line 7 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 7 of file PHG4CylinderCellGeom.cc
References check_binning_method(), i, nzbins, and PHG4CylinderCellDefs::sizebinning.
Referenced by PHG4CylinderCellReco::InitRun().
void PHG4CylinderCellGeom::set_zmin | ( | const double | z | ) |
Definition at line 13 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 13 of file PHG4CylinderCellGeom.cc
References check_binning_method(), PHG4CylinderCellDefs::sizebinning, physmon_track_finding_ttbar::z, and zmin.
Referenced by PHG4CylinderCellReco::InitRun().
void PHG4CylinderCellGeom::set_zstep | ( | const double | z | ) |
Definition at line 39 of file PHG4CylinderCellGeom.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4CylinderCellGeom.cc
References check_binning_method(), PHG4CylinderCellDefs::sizebinning, physmon_track_finding_ttbar::z, and zstep.
Referenced by PHG4CylinderCellReco::InitRun().
|
protected |
Definition at line 68 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4CylinderCellGeom.h
Referenced by check_binning_method(), check_binning_method_eta(), check_binning_method_phi(), get_binning(), identify(), and set_binning().
|
protected |
Definition at line 67 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4CylinderCellGeom.h
Referenced by get_layer(), identify(), and set_layer().
|
protected |
Definition at line 73 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4CylinderCellGeom.h
Referenced by get_phibin(), get_phibins(), get_phibounds(), get_phicenter(), identify(), and set_phibins().
|
protected |
Definition at line 70 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4CylinderCellGeom.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 74 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4CylinderCellGeom.h
Referenced by get_phibin(), get_phibounds(), get_phicenter(), get_phimin(), identify(), and set_phimin().
|
protected |
Definition at line 75 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4CylinderCellGeom.h
Referenced by get_phibin(), get_phibounds(), get_phicenter(), get_phistep(), identify(), and set_phistep().
|
protected |
Definition at line 69 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4CylinderCellGeom.h
Referenced by get_radius(), identify(), and set_radius().
|
protected |
Definition at line 76 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4CylinderCellGeom.h
Referenced by get_thickness(), identify(), and set_thickness().
|
protected |
Definition at line 71 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4CylinderCellGeom.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 72 of file PHG4CylinderCellGeom.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4CylinderCellGeom.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().