ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4Cellv1.h>
Classes | |
union | u_property |
convert between 32bit inputs and storage type prop_storage_t More... | |
Public Member Functions | |
PHG4Cellv1 () | |
PHG4Cellv1 (const PHG4CellDefs::keytype g4cellid) | |
~PHG4Cellv1 () override | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
void | set_cellid (const PHG4CellDefs::keytype i) override |
PHG4CellDefs::keytype | get_cellid () const override |
bool | has_binning (const PHG4CellDefs::CellBinning binning) const override |
short int | get_detid () const override |
void | add_edep (const PHG4HitDefs::keytype g4hitid, const float edep) override |
void | add_shower_edep (const int g4showerid, const float edep) override |
EdepConstRange | get_g4hits () override |
ShowerEdepConstRange | get_g4showers () override |
void | add_edep (const float f) override |
double | get_edep () const override |
void | add_eion (const float f) override |
double | get_eion () const override |
void | add_light_yield (const float f) override |
float | get_light_yield () const override |
void | set_chip_index (const int i) override |
int | get_chip_index () const override |
void | set_half_stave_index (const int i) override |
int | get_half_stave_index () const override |
void | set_ladder_phi_index (const int i) override |
int | get_ladder_phi_index () const override |
void | set_ladder_z_index (const int i) override |
int | get_ladder_z_index () const override |
void | set_module_index (const int i) override |
int | get_module_index () const override |
void | set_phibin (const int i) override |
int | get_phibin () const override |
void | set_pixel_index (const int i) override |
int | get_pixel_index () const override |
void | set_stave_index (const int i) override |
int | get_stave_index () const override |
void | set_zbin (const int i) override |
int | get_zbin () const override |
void | print () const override |
bool | has_property (const PROPERTY prop_id) const override |
float | get_property_float (const PROPERTY prop_id) const override |
int | get_property_int (const PROPERTY prop_id) const override |
unsigned int | get_property_uint (const PROPERTY prop_id) const override |
void | add_property (const PROPERTY prop_id, const float value) |
void | add_property (const PROPERTY prop_id, const int value) |
void | add_property (const PROPERTY prop_id, const unsigned int value) |
void | set_property (const PROPERTY prop_id, const float value) override |
void | set_property (const PROPERTY prop_id, const int value) override |
void | set_property (const PROPERTY prop_id, const unsigned int value) override |
Public Member Functions inherited from PHG4Cell | |
~PHG4Cell () override | |
void | CopyFrom (const PHObject *phobj) override |
virtual void | add_edep (const PHG4HitDefs::keytype, const float, const float) |
virtual void | add_edep (const PHG4HitDefs::keytype, const int, const float) |
short int | get_layer () const |
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 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 *) |
Protected Types | |
typedef uint8_t | prop_id_t |
storage types for additional property | |
typedef uint32_t | prop_storage_t |
typedef std::map< prop_id_t, prop_storage_t > | prop_map_t |
Protected Member Functions | |
unsigned int | get_property_nocheck (const PROPERTY prop_id) const override |
void | set_property_nocheck (const PROPERTY prop_id, const unsigned int ui) override |
Protected Member Functions inherited from PHG4Cell | |
PHG4Cell () | |
Protected Attributes | |
PHG4CellDefs::keytype | cellid |
EdepMap | hitedeps |
ShowerEdepMap | showeredeps |
prop_map_t | prop_map |
container for additional property | |
Definition at line 18 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4Cellv1.h
|
protected |
storage types for additional property
Definition at line 105 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4Cellv1.h
|
protected |
Definition at line 107 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 107 of file PHG4Cellv1.h
|
protected |
Definition at line 106 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 106 of file PHG4Cellv1.h
PHG4Cellv1::PHG4Cellv1 | ( | ) |
Definition at line 15 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 15 of file PHG4Cellv1.cc
PHG4Cellv1::PHG4Cellv1 | ( | const PHG4CellDefs::keytype | g4cellid | ) |
Definition at line 19 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 19 of file PHG4Cellv1.cc
|
override |
Definition at line 23 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 23 of file PHG4Cellv1.cc
References hitedeps, prop_map, and showeredeps.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 32 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 32 of file PHG4Cellv1.cc
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 46 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_edep.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 49 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_eion.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 52 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_light_yield.
Definition at line 119 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 119 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), get_property_float(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_float.
Referenced by add_edep(), add_eion(), and add_light_yield().
Definition at line 138 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 138 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), get_property_int(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_int.
Definition at line 157 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 157 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), get_property_uint(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_uint.
Reimplemented from PHG4Cell.
Definition at line 39 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4Cellv1.cc
References edep, and showeredeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 30 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Cellv1.h
References cellid.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 56 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_chip_index.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 52 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4Cellv1.cc
References cellid, and PHG4CellDefs::get_detid().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 47 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4Cellv1.h
References get_property_float(), and PHG4Cell::prop_edep.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 50 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4Cellv1.h
References get_property_float(), and PHG4Cell::prop_eion.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 37 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4Cellv1.h
References hitedeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 41 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Cellv1.h
References showeredeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 59 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_half_stave_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 62 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_ladder_phi_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 65 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_ladder_z_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 53 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4Cellv1.h
References get_property_float(), and PHG4Cell::prop_light_yield.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 68 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_module_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 71 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_phibin.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 74 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_pixel_index.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 65 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 65 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cellv1::u_property::fdata, PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHWHERE, prop_map, and PHG4Cell::type_float.
Referenced by add_property(), get_edep(), get_eion(), get_light_yield(), and identify().
Reimplemented from PHG4Cell.
Definition at line 83 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 83 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::idata, INT_MIN, PHWHERE, prop_map, and PHG4Cell::type_int.
Referenced by add_property(), get_chip_index(), get_half_stave_index(), get_ladder_phi_index(), get_ladder_z_index(), get_module_index(), get_phibin(), get_pixel_index(), get_stave_index(), get_zbin(), and identify().
|
overrideprotectedvirtual |
Reimplemented from PHG4Cell.
Definition at line 218 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 218 of file PHG4Cellv1.cc
References prop_map.
Reimplemented from PHG4Cell.
Definition at line 101 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 101 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHWHERE, prop_map, PHG4Cell::type_uint, and PHG4Cellv1::u_property::uidata.
Referenced by add_property(), and identify().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 77 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_stave_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 80 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_zbin.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 46 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 46 of file PHG4Cellv1.cc
References cellid, and PHG4CellDefs::has_binning().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 58 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4Cellv1.cc
References prop_map.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHG4Cell.
Definition at line 243 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 243 of file PHG4Cellv1.cc
References cellid, get_property_float(), PHG4Cell::get_property_info(), get_property_int(), get_property_uint(), hitedeps, prop_map, showeredeps, PHG4Cell::type_float, PHG4Cell::type_int, and PHG4Cell::type_uint.
Referenced by print().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 229 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 229 of file PHG4Cellv1.cc
References identify().
|
overridevirtual |
Clear Event.
Reimplemented from PHG4Cell.
Definition at line 235 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 235 of file PHG4Cellv1.cc
References hitedeps, prop_map, and showeredeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 28 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4Cellv1.h
References cellid.
Reimplemented from PHG4Cell.
Definition at line 55 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4Cellv1.h
References PHG4Cell::prop_chip_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 58 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4Cellv1.h
References PHG4Cell::prop_half_stave_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 61 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4Cellv1.h
References PHG4Cell::prop_ladder_phi_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 64 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4Cellv1.h
References PHG4Cell::prop_ladder_z_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 67 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4Cellv1.h
References PHG4Cell::prop_module_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 70 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4Cellv1.h
References PHG4Cell::prop_phibin, and set_property().
Reimplemented from PHG4Cell.
Definition at line 73 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4Cellv1.h
References PHG4Cell::prop_pixel_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 176 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 176 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_float.
Referenced by set_chip_index(), set_half_stave_index(), set_ladder_phi_index(), set_ladder_z_index(), set_module_index(), set_phibin(), set_pixel_index(), set_stave_index(), and set_zbin().
Reimplemented from PHG4Cell.
Definition at line 190 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 190 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_int.
Reimplemented from PHG4Cell.
Definition at line 204 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 204 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), g4zmq::exit(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_uint.
|
inlineoverrideprotectedvirtual |
Reimplemented from PHG4Cell.
Definition at line 98 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 98 of file PHG4Cellv1.h
References prop_map.
Reimplemented from PHG4Cell.
Definition at line 76 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4Cellv1.h
References PHG4Cell::prop_stave_index, and set_property().
Reimplemented from PHG4Cell.
Definition at line 79 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4Cellv1.h
References PHG4Cell::prop_zbin, and set_property().
|
protected |
Definition at line 100 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 100 of file PHG4Cellv1.h
Referenced by get_cellid(), get_detid(), has_binning(), identify(), and set_cellid().
|
protected |
Definition at line 101 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 101 of file PHG4Cellv1.h
Referenced by add_edep(), get_g4hits(), identify(), Reset(), and ~PHG4Cellv1().
|
protected |
container for additional property
Definition at line 124 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 124 of file PHG4Cellv1.h
Referenced by add_property(), get_property_float(), get_property_int(), get_property_nocheck(), get_property_uint(), has_property(), identify(), Reset(), set_property(), set_property_nocheck(), and ~PHG4Cellv1().
|
protected |
Definition at line 102 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4Cellv1.h
Referenced by add_shower_edep(), get_g4showers(), identify(), Reset(), and ~PHG4Cellv1().