Analysis Software
Documentation for sPHENIX simulation software
|
#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 | add_raw_light_yield (const float f) override |
float | get_raw_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 | 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 = ~0x0 |
EdepMap | hitedeps |
ShowerEdepMap | showeredeps |
prop_map_t | prop_map |
container for additional property | |
Definition at line 17 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4Cellv1.h
|
protected |
storage types for additional property
Definition at line 109 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 109 of file PHG4Cellv1.h
|
protected |
Definition at line 111 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 111 of file PHG4Cellv1.h
|
protected |
Definition at line 110 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 110 of file PHG4Cellv1.h
|
inline |
Definition at line 20 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4Cellv1.h
|
explicit |
Definition at line 13 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 13 of file PHG4Cellv1.cc
|
override |
Definition at line 18 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 18 of file PHG4Cellv1.cc
References hitedeps, prop_map, and showeredeps.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 26 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 26 of file PHG4Cellv1.cc
References hitedeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 48 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_edep.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 51 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_eion.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 54 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_light_yield.
void PHG4Cellv1::add_property | ( | const PROPERTY | prop_id, |
const float | value | ||
) |
Definition at line 107 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 107 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), get_property_float(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, PHG4Cell::type_float, and value.
Referenced by add_edep(), add_eion(), add_light_yield(), and add_raw_light_yield().
void PHG4Cellv1::add_property | ( | const PROPERTY | prop_id, |
const int | value | ||
) |
Definition at line 125 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 125 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cell::get_property_info(), get_property_int(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, PHG4Cell::type_int, and value.
void PHG4Cellv1::add_property | ( | const PROPERTY | prop_id, |
const unsigned int | value | ||
) |
Definition at line 143 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 143 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), get_property_uint(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, PHG4Cell::type_uint, and value.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 57 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4Cellv1.h
References add_property(), and PHG4Cell::prop_raw_light_yield.
|
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
References showeredeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 29 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4Cellv1.h
References cellid.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_chip_index.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 44 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4Cellv1.cc
References cellid, and PHG4CellDefs::get_detid().
|
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 get_property_float(), and PHG4Cell::prop_edep.
|
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 get_property_float(), and PHG4Cell::prop_eion.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 38 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4Cellv1.h
References hitedeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 43 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4Cellv1.h
References showeredeps.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_half_stave_index.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_ladder_phi_index.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_ladder_z_index.
|
inlineoverridevirtual |
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 get_property_float(), and PHG4Cell::prop_light_yield.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_module_index.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_phibin.
|
inlineoverridevirtual |
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 get_property_int(), and PHG4Cell::prop_pixel_index.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 55 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 55 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cellv1::u_property::fdata, PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), i, PHWHERE, prop_map, and PHG4Cell::type_float.
Referenced by add_property(), get_edep(), get_eion(), get_light_yield(), get_raw_light_yield(), and identify().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 72 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), i, PHG4Cellv1::u_property::idata, 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 201 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 201 of file PHG4Cellv1.cc
References prop_map.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 90 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), i, PHWHERE, prop_map, PHG4Cell::type_uint, and PHG4Cellv1::u_property::uidata.
Referenced by add_property(), and identify().
|
inlineoverridevirtual |
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 get_property_float(), and PHG4Cell::prop_raw_light_yield.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 82 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_stave_index.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 85 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4Cellv1.h
References get_property_int(), and PHG4Cell::prop_zbin.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 38 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 38 of file PHG4Cellv1.cc
References cellid, and PHG4CellDefs::has_binning().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 49 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 49 of file PHG4Cellv1.cc
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHG4Cell.
Definition at line 224 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 224 of file PHG4Cellv1.cc
References cellid, get_property_float(), PHG4Cell::get_property_info(), get_property_int(), get_property_uint(), hitedeps, i, prop_map, showeredeps, PHG4Cell::type_float, PHG4Cell::type_int, and PHG4Cell::type_uint.
Referenced by print().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 211 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 211 of file PHG4Cellv1.cc
References identify().
|
overridevirtual |
Clear Event.
Reimplemented from PHG4Cell.
Definition at line 216 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 216 of file PHG4Cellv1.cc
References hitedeps, prop_map, and showeredeps.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 27 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4Cellv1.h
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 60 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4Cellv1.h
References PHG4Cell::prop_chip_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 63 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4Cellv1.h
References PHG4Cell::prop_half_stave_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 66 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4Cellv1.h
References PHG4Cell::prop_ladder_phi_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 69 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4Cellv1.h
References PHG4Cell::prop_ladder_z_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 72 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4Cellv1.h
References PHG4Cell::prop_module_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 75 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4Cellv1.h
References PHG4Cell::prop_phibin, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 78 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4Cellv1.h
References PHG4Cell::prop_pixel_index, and set_property().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 161 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 161 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), 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().
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 174 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 174 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), PHG4Cell::get_property_info(), PHG4Cell::get_property_type(), PHG4Cellv1::u_property::get_storage(), PHWHERE, prop_map, and PHG4Cell::type_int.
|
overridevirtual |
Reimplemented from PHG4Cell.
Definition at line 187 of file PHG4Cellv1.cc.
View newest version in sPHENIX GitHub at line 187 of file PHG4Cellv1.cc
References PHG4Cell::check_property(), 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 102 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4Cellv1.h
References prop_map.
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 81 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4Cellv1.h
References PHG4Cell::prop_stave_index, and set_property().
|
inlineoverridevirtual |
Reimplemented from PHG4Cell.
Definition at line 84 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4Cellv1.h
References PHG4Cell::prop_zbin, and set_property().
|
protected |
Definition at line 104 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 104 of file PHG4Cellv1.h
Referenced by get_cellid(), get_detid(), has_binning(), identify(), and set_cellid().
|
protected |
Definition at line 105 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4Cellv1.h
Referenced by add_edep(), get_g4hits(), identify(), Reset(), and ~PHG4Cellv1().
|
protected |
container for additional property
Definition at line 141 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 141 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 106 of file PHG4Cellv1.h.
View newest version in sPHENIX GitHub at line 106 of file PHG4Cellv1.h
Referenced by add_shower_edep(), get_g4showers(), identify(), Reset(), and ~PHG4Cellv1().