ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
PHG4CylinderCellGeom_Spacalv1. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderCellGeom_Spacalv1.h>
Public Types | |
typedef std::pair< double, double > | bound_t |
typedef std::map< int, bound_t > | bound_map_t |
typedef std::map< int, int > | tower_z_ID_eta_bin_map_t |
map tower_z_ID -> eta_bin number | |
Public Member Functions | |
PHG4CylinderCellGeom_Spacalv1 () | |
~PHG4CylinderCellGeom_Spacalv1 () override | |
void | identify (std::ostream &os=std::cout) const override |
std::pair< double, double > | get_zbounds (const int ibin) const override |
std::pair< double, double > | get_etabounds (const int ibin) const override |
double | get_etacenter (const int ibin) const override |
double | get_zcenter (const int ibin) const override |
int | get_etabin (const double eta) const override |
int | get_zbin (const double z) const override |
void | set_zbounds (const int ibin, const std::pair< double, double > &bounds) |
void | set_etabounds (const int ibin, const std::pair< double, double > &bounds) |
const bound_map_t & | get_eta_bound_map () const |
void | set_eta_bound_map (const bound_map_t &etaBoundMap) |
const bound_map_t & | get_z_bound_map () const |
void | set_z_bound_map (const bound_map_t &boundMap) |
const tower_z_ID_eta_bin_map_t & | get_tower_z_ID_eta_bin_map () const |
map tower_z_ID -> eta_bin number | |
virtual int | get_etabin_block (const int tower_z_ID) const |
void | set_tower_z_ID_eta_bin_map (const tower_z_ID_eta_bin_map_t &m) |
map tower_z_ID -> eta_bin number for blocks | |
Public Member Functions inherited from PHG4CylinderCellGeom | |
PHG4CylinderCellGeom ()=default | |
~PHG4CylinderCellGeom () override=default | |
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_phibounds (const int ibin) const |
virtual double | get_phicenter (const int ibin) 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 | 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 | map_consistency_check () const |
Protected Member Functions inherited from PHG4CylinderCellGeom | |
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 | |
bound_map_t | z_bound_map |
bound_map_t | eta_bound_map |
tower_z_ID_eta_bin_map_t | tower_z_ID_eta_bin_map |
map tower_z_ID -> eta_bin number for blocks | |
Protected Attributes inherited from PHG4CylinderCellGeom | |
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 |
PHG4CylinderCellGeom_Spacalv1.
Definition at line 25 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4CylinderCellGeom_Spacalv1.h
typedef std::map<int, bound_t> PHG4CylinderCellGeom_Spacalv1::bound_map_t |
Definition at line 54 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4CylinderCellGeom_Spacalv1.h
typedef std::pair<double, double> PHG4CylinderCellGeom_Spacalv1::bound_t |
Definition at line 53 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4CylinderCellGeom_Spacalv1.h
typedef std::map<int, int> PHG4CylinderCellGeom_Spacalv1::tower_z_ID_eta_bin_map_t |
map tower_z_ID -> eta_bin number
Definition at line 83 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4CylinderCellGeom_Spacalv1.h
PHG4CylinderCellGeom_Spacalv1::PHG4CylinderCellGeom_Spacalv1 | ( | ) |
Definition at line 24 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 24 of file PHG4CylinderCellGeom_Spacalv1.cc
|
override |
Definition at line 29 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 29 of file PHG4CylinderCellGeom_Spacalv1.cc
|
inline |
Definition at line 57 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4CylinderCellGeom_Spacalv1.h
References eta_bound_map, and map_consistency_check().
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 153 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 153 of file PHG4CylinderCellGeom_Spacalv1.cc
References g4zmq::exit().
Definition at line 174 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 174 of file PHG4CylinderCellGeom_Spacalv1.cc
Referenced by PHG4FullProjSpacalCellReco::process_event().
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 125 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 125 of file PHG4CylinderCellGeom_Spacalv1.cc
References g4zmq::exit(), and PHG4CylinderCellDefs::spacalbinning.
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 168 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 168 of file PHG4CylinderCellGeom_Spacalv1.cc
|
inline |
map tower_z_ID -> eta_bin number
Definition at line 87 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4CylinderCellGeom_Spacalv1.h
References tower_z_ID_eta_bin_map.
|
inline |
Definition at line 70 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4CylinderCellGeom_Spacalv1.h
References map_consistency_check(), and z_bound_map.
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 145 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 145 of file PHG4CylinderCellGeom_Spacalv1.cc
References g4zmq::exit().
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 106 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 106 of file PHG4CylinderCellGeom_Spacalv1.cc
References g4zmq::exit(), and PHG4CylinderCellDefs::spacalbinning.
|
overridevirtual |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 161 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 161 of file PHG4CylinderCellGeom_Spacalv1.cc
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHG4CylinderCellGeom.
Definition at line 35 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 35 of file PHG4CylinderCellGeom_Spacalv1.cc
References b, and PHG4CylinderCellGeom::identify().
Referenced by PHG4FullProjSpacalCellReco::InitRun(), and PHG4FullProjSpacalCellReco::process_event().
|
protected |
Definition at line 64 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 64 of file PHG4CylinderCellGeom_Spacalv1.cc
References g4zmq::exit().
Referenced by get_eta_bound_map(), and get_z_bound_map().
|
inline |
Definition at line 64 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4CylinderCellGeom_Spacalv1.h
References eta_bound_map.
void PHG4CylinderCellGeom_Spacalv1::set_etabounds | ( | const int | ibin, |
const std::pair< double, double > & | bounds | ||
) |
Definition at line 98 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 98 of file PHG4CylinderCellGeom_Spacalv1.cc
Referenced by PHG4FullProjSpacalCellReco::InitRun().
|
inline |
map tower_z_ID -> eta_bin number for blocks
Definition at line 97 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 97 of file PHG4CylinderCellGeom_Spacalv1.h
References m, and tower_z_ID_eta_bin_map.
Referenced by PHG4FullProjSpacalCellReco::InitRun().
|
inline |
Definition at line 77 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4CylinderCellGeom_Spacalv1.h
References z_bound_map.
void PHG4CylinderCellGeom_Spacalv1::set_zbounds | ( | const int | ibin, |
const std::pair< double, double > & | bounds | ||
) |
Definition at line 90 of file PHG4CylinderCellGeom_Spacalv1.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4CylinderCellGeom_Spacalv1.cc
Referenced by PHG4FullProjSpacalCellReco::InitRun().
|
protected |
Definition at line 108 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 108 of file PHG4CylinderCellGeom_Spacalv1.h
Referenced by get_eta_bound_map(), and set_eta_bound_map().
|
protected |
map tower_z_ID -> eta_bin number for blocks
Definition at line 111 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 111 of file PHG4CylinderCellGeom_Spacalv1.h
Referenced by get_tower_z_ID_eta_bin_map(), and set_tower_z_ID_eta_bin_map().
|
protected |
Definition at line 107 of file PHG4CylinderCellGeom_Spacalv1.h.
View newest version in sPHENIX GitHub at line 107 of file PHG4CylinderCellGeom_Spacalv1.h
Referenced by get_z_bound_map(), and set_z_bound_map().