EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4Cell.h>
Public Member Functions | |
~PHG4Cell () override | |
void | identify (std::ostream &os=std::cout) const override |
void | CopyFrom (const PHObject *phobj) override |
void | Reset () override |
Clear Event. | |
virtual void | set_cellid (const PHG4CellDefs::keytype) |
virtual PHG4CellDefs::keytype | get_cellid () const |
virtual bool | has_binning (const PHG4CellDefs::CellBinning) const |
virtual void | add_edep (const PHG4HitDefs::keytype, const float) |
virtual void | add_edep (const PHG4HitDefs::keytype, const float, const float) |
virtual void | add_edep (const PHG4HitDefs::keytype, const int, const float) |
virtual void | add_shower_edep (const int, const float) |
virtual EdepConstRange | get_g4hits () |
virtual ShowerEdepConstRange | get_g4showers () |
virtual short int | get_detid () const |
short int | get_layer () const |
virtual void | add_edep (const float) |
virtual double | get_edep () const |
virtual void | add_eion (const float) |
virtual double | get_eion () const |
virtual void | add_light_yield (const float) |
virtual float | get_light_yield () const |
virtual void | set_chip_index (const int) |
virtual int | get_chip_index () const |
virtual void | set_half_stave_index (const int) |
virtual int | get_half_stave_index () const |
virtual void | set_ladder_phi_index (const int) |
virtual int | get_ladder_phi_index () const |
virtual void | set_ladder_z_index (const int) |
virtual int | get_ladder_z_index () const |
virtual void | set_module_index (const int) |
virtual int | get_module_index () const |
virtual void | set_phibin (const int) |
virtual int | get_phibin () const |
virtual void | set_pixel_index (const int) |
virtual int | get_pixel_index () const |
virtual void | set_stave_index (const int) |
virtual int | get_stave_index () const |
virtual void | set_zbin (const int) |
virtual int | get_zbin () const |
virtual void | print () const |
virtual bool | has_property (const PROPERTY) const |
virtual float | get_property_float (const PROPERTY) const |
virtual int | get_property_int (const PROPERTY) const |
virtual unsigned int | get_property_uint (const PROPERTY) const |
virtual void | set_property (const PROPERTY, const float) |
virtual void | set_property (const PROPERTY, const int) |
virtual void | set_property (const PROPERTY, const unsigned int) |
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 *) |
Static Public Member Functions | |
static std::pair< const std::string, PROPERTY_TYPE > | get_property_info (PROPERTY prop_id) |
static bool | check_property (const PROPERTY prop_id, const PROPERTY_TYPE prop_type) |
static std::string | get_property_type (const PROPERTY_TYPE prop_type) |
Protected Member Functions | |
PHG4Cell () | |
virtual unsigned int | get_property_nocheck (const PROPERTY) const |
virtual void | set_property_nocheck (const PROPERTY, const unsigned int) |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const PHG4Cell *cell) |
Definition at line 19 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4Cell.h
typedef EdepMap::const_iterator PHG4Cell::EdepConstIterator |
Definition at line 24 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4Cell.h
typedef std::pair<EdepConstIterator, EdepConstIterator> PHG4Cell::EdepConstRange |
Definition at line 26 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Cell.h
typedef EdepMap::iterator PHG4Cell::EdepIterator |
Definition at line 23 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4Cell.h
typedef std::map<PHG4HitDefs::keytype, float> PHG4Cell::EdepMap |
Definition at line 22 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4Cell.h
typedef std::pair<EdepIterator, EdepIterator> PHG4Cell::EdepRange |
Definition at line 25 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4Cell.h
typedef ShowerEdepMap::const_iterator PHG4Cell::ShowerEdepConstIterator |
Definition at line 30 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Cell.h
typedef std::pair<ShowerEdepConstIterator, ShowerEdepConstIterator> PHG4Cell::ShowerEdepConstRange |
Definition at line 32 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4Cell.h
typedef ShowerEdepMap::iterator PHG4Cell::ShowerEdepIterator |
Definition at line 29 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4Cell.h
typedef std::map<int, float> PHG4Cell::ShowerEdepMap |
Definition at line 28 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4Cell.h
typedef std::pair<ShowerEdepIterator, ShowerEdepIterator> PHG4Cell::ShowerEdepRange |
Definition at line 31 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4Cell.h
enum PHG4Cell::PROPERTY |
Procedure to add a new PROPERTY tag: 1.add new tag below with unique value, 2.add a short name to PHG4Cell::get_property_info
Definition at line 110 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 110 of file PHG4Cell.h
Definition at line 136 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 136 of file PHG4Cell.h
|
inlineoverride |
Definition at line 34 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4Cell.h
|
inlineprotected |
Definition at line 156 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 156 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 50 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4Cell.h
Referenced by PHG4TpcPadPlaneReadout::MapToPadPlane(), PHG4HcalCellReco::process_event(), PHG4CylinderCellReco::process_event(), and PHG4FullProjSpacalCellReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4CylinderCellv1.
Definition at line 51 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4Cell.h
|
inlinevirtual |
Definition at line 52 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 64 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 67 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4Cell.h
Referenced by PHG4HcalCellReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 70 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4Cell.h
Referenced by PHG4HcalCellReco::process_event(), PHG4CylinderCellReco::process_event(), and PHG4FullProjSpacalCellReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 54 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4Cell.h
Referenced by PHG4CylinderCellReco::process_event(), and PHG4FullProjSpacalCellReco::process_event().
|
static |
Definition at line 97 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 97 of file PHG4Cell.cc
Referenced by PHG4Cellv1::add_property(), PHG4Cellv1::get_property_float(), PHG4Cellv1::get_property_int(), PHG4Cellv1::get_property_uint(), and PHG4Cellv1::set_property().
|
overridevirtual |
Reimplemented from PHObject.
Definition at line 13 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 13 of file PHG4Cell.cc
References get_cellid(), get_property_nocheck(), and has_property().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 46 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4Cell.h
Referenced by PHG4CellContainer::AddCell(), CopyFrom(), RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), TPCIntegratedCharge::process_event(), and TPCDataStreamEmulator::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 76 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 60 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4Cell.h
Referenced by get_layer().
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 65 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4Cell.h
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), TPCIntegratedCharge::process_event(), and PHG4CylinderCellReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 68 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4Cell.h
Referenced by HcalRawTowerBuilder::process_event(), and TPCIntegratedCharge::process_event().
|
virtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 41 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 41 of file PHG4Cell.cc
Referenced by CaloRawTowerEval::all_truth_hits().
|
virtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 47 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4Cell.cc
Referenced by RawTowerBuilder::process_event(), and HcalRawTowerBuilder::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 79 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, PHG4CylinderCell, and PHG4CylinderCellv2.
Definition at line 82 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, PHG4CylinderCell, and PHG4CylinderCellv2.
Definition at line 85 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4Cell.h
|
inline |
Definition at line 62 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4Cell.h
References get_detid().
Referenced by TPCIntegratedCharge::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 71 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4Cell.h
Referenced by RawTowerBuilder::process_event(), HcalRawTowerBuilder::process_event(), and PHG4FullProjSpacalCellReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 88 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 91 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 94 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 145 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 145 of file PHG4Cell.h
|
static |
Definition at line 61 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 61 of file PHG4Cell.cc
References exit(), type_float, and type_int.
Referenced by PHG4Cellv1::add_property(), PHG4Cellv1::get_property_float(), PHG4Cellv1::get_property_int(), PHG4Cellv1::get_property_uint(), PHG4Cellv1::identify(), DumpPHG4CellContainer::process_Node(), and PHG4Cellv1::set_property().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 146 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 146 of file PHG4Cell.h
|
inlineprotectedvirtual |
Reimplemented in PHG4Cellv1.
Definition at line 157 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 157 of file PHG4Cell.h
Referenced by CopyFrom().
|
static |
Definition at line 108 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 108 of file PHG4Cell.cc
Referenced by PHG4Cellv1::add_property(), PHG4Cellv1::get_property_float(), PHG4Cellv1::get_property_int(), PHG4Cellv1::get_property_uint(), and PHG4Cellv1::set_property().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 147 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 147 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 97 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 97 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 102 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 102 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 47 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4Cell.h
Referenced by RawTowerBuilder::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 144 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 144 of file PHG4Cell.h
Referenced by CopyFrom().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in PHG4Cellv1, PHG4CylinderCell, PHG4CylinderCellv1, PHG4CylinderCellv2, and PHG4CylinderCellv3.
Definition at line 30 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4Cell.cc
Referenced by PHG4TpcPadPlaneReadout::MapToPadPlane(), RawTowerBuilder::process_event(), and TPCIntegratedCharge::process_event().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 105 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4Cell.h
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in PHG4Cellv1.
Definition at line 54 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4Cell.cc
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 44 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4Cell.h
Referenced by PHG4CellContainer::AddCellSpecifyKey(), and PHG4CellContainer::findOrAddCell().
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 75 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 78 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, PHG4CylinderCell, and PHG4CylinderCellv2.
Definition at line 81 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, PHG4CylinderCell, and PHG4CylinderCellv2.
Definition at line 84 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 87 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 90 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 93 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 148 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 148 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 149 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 149 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 150 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 150 of file PHG4Cell.h
|
inlineprotectedvirtual |
Reimplemented in PHG4Cellv1.
Definition at line 158 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 158 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1.
Definition at line 96 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4Cell.h
|
inlinevirtual |
Reimplemented in PHG4Cellv1, and PHG4CylinderCellv1.
Definition at line 101 of file PHG4Cell.h.
View newest version in sPHENIX GitHub at line 101 of file PHG4Cell.h
|
friend |
Definition at line 36 of file PHG4Cell.cc.
View newest version in sPHENIX GitHub at line 36 of file PHG4Cell.cc