Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Shower.h>
Public Types | |
typedef std::set< int > | ParticleIdSet |
typedef ParticleIdSet::iterator | ParticleIdIter |
typedef ParticleIdSet::const_iterator | ParticleIdConstIter |
typedef std::set< int > | VertexIdSet |
typedef VertexIdSet::iterator | VertexIdIter |
typedef VertexIdSet::const_iterator | VertexIdConstIter |
typedef std::map< int, std::set< PHG4HitDefs::keytype > > | HitIdMap |
typedef HitIdMap::iterator | HitIdIter |
typedef HitIdMap::const_iterator | HitIdConstIter |
Public Member Functions | |
~PHG4Shower () override | |
void | identify (std::ostream &os=std::cout) const override |
PHG4Shower * | CloneMe () const override |
Virtual copy constructor. | |
void | Reset () override |
Clear Event. | |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
virtual int | get_id () const |
virtual void | set_id (int) |
virtual int | get_parent_particle_id () const |
virtual void | set_parent_particle_id (int) |
virtual int | get_parent_shower_id () const |
virtual void | set_parent_shower_id (int) |
virtual float | get_x () const |
virtual void | set_x (float) |
virtual float | get_y () const |
virtual void | set_y (float) |
virtual float | get_z () const |
virtual void | set_z (float) |
virtual float | get_position (unsigned int) const |
virtual void | set_position (unsigned int, float) |
virtual float | get_covar (unsigned int, unsigned int) const |
virtual void | set_covar (unsigned int, unsigned int, float) |
virtual unsigned int | get_nhits (int) const |
virtual void | set_nhits (int, unsigned int) |
virtual double | get_edep () const |
virtual float | get_edep (int) const |
virtual void | set_edep (int, float) |
virtual double | get_eion () const |
virtual float | get_eion (int) const |
virtual void | set_eion (int, float) |
virtual float | get_light_yield (int) const |
virtual void | set_light_yield (int, float) |
virtual float | get_eh_ratio (int) const |
virtual void | set_eh_ratio (int, float) |
virtual bool | empty_g4particle_id () const |
virtual size_t | size_g4particle_id () const |
virtual void | add_g4particle_id (int) |
virtual ParticleIdIter | begin_g4particle_id () |
virtual ParticleIdConstIter | begin_g4particle_id () const |
virtual ParticleIdIter | end_g4particle_id () |
virtual ParticleIdConstIter | end_g4particle_id () const |
virtual size_t | remove_g4particle_id (int) |
virtual void | clear_g4particle_id () |
virtual const ParticleIdSet & | g4particle_ids () const =0 |
virtual bool | empty_g4vertex_id () const |
virtual size_t | size_g4vertex_id () const |
virtual void | add_g4vertex_id (int) |
virtual VertexIdIter | begin_g4vertex_id () |
virtual VertexIdConstIter | begin_g4vertex_id () const |
virtual VertexIdIter | end_g4vertex_id () |
virtual VertexIdConstIter | end_g4vertex_id () const |
virtual size_t | remove_g4vertex_id (int) |
virtual void | clear_g4vertex_id () |
virtual const VertexIdSet & | g4vertex_ids () const =0 |
virtual bool | empty_g4hit_id () const |
virtual size_t | size_g4hit_id () const |
virtual void | add_g4hit_id (int, PHG4HitDefs::keytype) |
virtual HitIdIter | begin_g4hit_id () |
virtual HitIdConstIter | begin_g4hit_id () const |
virtual HitIdIter | find_g4hit_id (int) |
virtual HitIdConstIter | find_g4hit_id (int) const |
virtual HitIdIter | end_g4hit_id () |
virtual HitIdConstIter | end_g4hit_id () const |
virtual size_t | remove_g4hit_id (int, PHG4HitDefs::keytype) |
virtual size_t | remove_g4hit_volume (int) |
virtual void | clear_g4hit_id () |
virtual const HitIdMap & | g4hit_ids () const =0 |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
PHG4Shower () | |
Private Member Functions | |
ClassDefOverride (PHG4Shower, 1) | |
Definition at line 15 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 15 of file PHG4Shower.h
typedef HitIdMap::const_iterator PHG4Shower::HitIdConstIter |
Definition at line 28 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4Shower.h
typedef HitIdMap::iterator PHG4Shower::HitIdIter |
Definition at line 27 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4Shower.h
typedef std::map<int, std::set<PHG4HitDefs::keytype> > PHG4Shower::HitIdMap |
Definition at line 26 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Shower.h
typedef ParticleIdSet::const_iterator PHG4Shower::ParticleIdConstIter |
Definition at line 20 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4Shower.h
typedef ParticleIdSet::iterator PHG4Shower::ParticleIdIter |
Definition at line 19 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4Shower.h
typedef std::set<int> PHG4Shower::ParticleIdSet |
Definition at line 18 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4Shower.h
typedef VertexIdSet::const_iterator PHG4Shower::VertexIdConstIter |
Definition at line 24 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4Shower.h
typedef VertexIdSet::iterator PHG4Shower::VertexIdIter |
Definition at line 23 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4Shower.h
typedef std::set<int> PHG4Shower::VertexIdSet |
Definition at line 22 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4Shower.h
|
inlineoverride |
Definition at line 30 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Shower.h
|
inlineprotected |
Definition at line 119 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 119 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 106 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 106 of file PHG4Shower.h
Referenced by PHG4ConeSteppingAction::UserSteppingAction(), PHG4SectorSteppingAction::UserSteppingAction(), PHG4EICMvtxSteppingAction::UserSteppingAction(), PHG4Prototype2InnerHcalSteppingAction::UserSteppingAction(), PHG4Prototype2OuterHcalSteppingAction::UserSteppingAction(), PHG4Prototype3InnerHcalSteppingAction::UserSteppingAction(), PHG4MvtxSteppingAction::UserSteppingAction(), PHG4HcalSteppingAction::UserSteppingAction(), PHG4BlockSteppingAction::UserSteppingAction(), PHG4TpcSteppingAction::UserSteppingAction(), PHG4InttSteppingAction::UserSteppingAction(), PHG4InnerHcalSteppingAction::UserSteppingAction(), PHG4OuterHcalSteppingAction::UserSteppingAction(), PHG4CylinderSteppingAction::UserSteppingAction(), PHG4OHCalSteppingAction::UserSteppingAction(), PHG4IHCalSteppingAction::UserSteppingAction(), PHG4ZDCSteppingAction::UserSteppingAction(), PHG4SpacalPrototype4SteppingAction::UserSteppingAction(), PHG4SpacalPrototypeSteppingAction::UserSteppingAction(), and PHG4SpacalSteppingAction::UserSteppingAction().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 84 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 95 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 95 of file PHG4Shower.h
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 62 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 62 of file PHG4Shower.cc
References DummyHitIdMap.
Referenced by PHG4TruthEventAction::ProcessShowers(), and PHG4TruthEventAction::PruneShowers().
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 47 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4Shower.cc
References DummyHitIdMap.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 17 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 17 of file PHG4Shower.cc
References DummyParticleIdSet.
Referenced by PHG4TruthEventAction::PruneShowers().
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 7 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 7 of file PHG4Shower.cc
References DummyParticleIdSet.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 37 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4Shower.cc
References DummyVertexIdSet.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 27 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4Shower.cc
References DummyVertexIdSet.
|
private |
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 115 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 115 of file PHG4Shower.h
Referenced by PHG4DstCompressReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 90 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4Shower.h
Referenced by PHG4DstCompressReco::process_event().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 101 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 101 of file PHG4Shower.h
Referenced by PHG4DstCompressReco::process_event().
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Reimplemented in PHG4Showerv1.
Definition at line 35 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 104 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 104 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::PruneShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 82 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::PruneShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 93 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4Shower.h
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 72 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4Shower.cc
References DummyHitIdMap.
Referenced by CaloTruthEval::all_truth_hits(), PHG4TruthEventAction::ProcessShowers(), and PHG4TruthEventAction::PruneShowers().
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 57 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 57 of file PHG4Shower.cc
References DummyHitIdMap.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 22 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 22 of file PHG4Shower.cc
References DummyParticleIdSet.
Referenced by PHG4TruthEventAction::PruneShowers().
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 12 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 12 of file PHG4Shower.cc
References DummyParticleIdSet.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 42 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 42 of file PHG4Shower.cc
References DummyVertexIdSet.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 32 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 32 of file PHG4Shower.cc
References DummyVertexIdSet.
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 67 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 67 of file PHG4Shower.cc
References DummyHitIdMap.
Referenced by CaloTruthEval::all_truth_hits().
|
virtual |
Reimplemented in PHG4Showerv1.
Definition at line 52 of file PHG4Shower.cc.
View newest version in sPHENIX GitHub at line 52 of file PHG4Shower.cc
References DummyHitIdMap.
|
pure virtual |
Implemented in PHG4Showerv1.
Referenced by operator==().
|
pure virtual |
Implemented in PHG4Showerv1.
Referenced by operator==().
|
pure virtual |
Implemented in PHG4Showerv1.
Referenced by operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 62 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 68 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4Shower.h
Referenced by CaloTruthEval::get_shower_energy_deposit(), and PHG4TruthEventAction::PruneShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 69 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 79 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4Shower.h
Referenced by CaloTruthEval::get_shower_eh_ratio().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 72 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 73 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 41 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Shower.h
Referenced by BaseTruthEval::all_secondary_showers(), CaloRawTowerEval::all_towers_from(), BaseTruthEval::are_same_shower(), CaloRawTowerEval::get_energy_contribution(), BaseTruthEval::is_g4hit_from_primary_shower(), and operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 76 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 65 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4Shower.h
Referenced by CaloEvaluator::fillOutputNtuples().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 44 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4Shower.h
Referenced by BaseTruthEval::get_primary_particle(), BaseTruthEval::get_primary_shower(), and operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 47 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4Shower.h
Referenced by BaseTruthEval::all_secondary_showers(), BaseTruthEval::get_primary_shower(), BaseTruthEval::is_primary(), and operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 59 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 50 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4Shower.h
Referenced by operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 53 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4Shower.h
Referenced by operator==().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 56 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4Shower.h
Referenced by operator==().
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in PHG4Showerv1.
Definition at line 34 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4Shower.h
References os.
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in PHG4Showerv1.
Definition at line 37 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 113 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 113 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 114 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 114 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::PruneShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 89 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::PruneShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 100 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 100 of file PHG4Shower.h
|
inlineoverridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in PHG4Showerv1.
Definition at line 36 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 63 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 70 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 80 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 74 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 42 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4Shower.h
Referenced by PHG4TruthInfoContainer::AddShower().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 77 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 66 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 45 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 48 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 60 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 51 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 54 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 57 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4Shower.h
Referenced by PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 105 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 83 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4Shower.h
|
inlinevirtual |
Reimplemented in PHG4Showerv1.
Definition at line 94 of file PHG4Shower.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4Shower.h