ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4TruthEventAction.h>
Public Member Functions | |
PHG4TruthEventAction () | |
constructor | |
~PHG4TruthEventAction () override | |
destuctor | |
void | BeginOfEventAction (const G4Event *) override |
void | EndOfEventAction (const G4Event *) override |
int | ResetEvent (PHCompositeNode *) override |
void | SetInterfacePointers (PHCompositeNode *) override |
get relevant nodes from top node passed as argument | |
void | AddTrackidToWritelist (const int trackid) |
add id into track list | |
Public Member Functions inherited from PHG4EventAction | |
PHG4EventAction (void) | |
virtual | ~PHG4EventAction () |
Private Member Functions | |
void | SearchNode (PHCompositeNode *topNode) |
void | PruneShowers () |
void | ProcessShowers () |
Private Attributes | |
std::set< int > | m_WriteSet |
set of track ids to be written out | |
PHG4TruthInfoContainer * | m_TruthInfoContainer |
pointer to truth information container | |
int | m_LowerKeyPrevExist |
int | m_UpperKeyPrevExist |
std::map< int, PHG4HitContainer * > | m_HitContainerMap |
Definition at line 16 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4TruthEventAction.h
PHG4TruthEventAction::PHG4TruthEventAction | ( | ) |
constructor
Definition at line 40 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4TruthEventAction.cc
|
inlineoverride |
destuctor
Definition at line 23 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4TruthEventAction.h
add id into track list
Definition at line 218 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 218 of file PHG4TruthEventAction.cc
References m_WriteSet.
Referenced by PHG4TruthTrackingAction::PostUserTrackingAction().
Reimplemented from PHG4EventAction.
Definition at line 48 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 48 of file PHG4TruthEventAction.cc
References PHG4TruthInfoContainer::GetMap(), m_LowerKeyPrevExist, m_TruthInfoContainer, and m_UpperKeyPrevExist.
Reimplemented from PHG4EventAction.
Definition at line 66 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 66 of file PHG4TruthEventAction.cc
References PHG4TruthInfoContainer::AddEmbededTrkId(), PHG4TruthInfoContainer::AddEmbededVtxId(), PHG4TruthInfoContainer::delete_particle(), PHG4TruthInfoContainer::delete_vtx(), PHG4UserPrimaryParticleInformation::get_embed(), PHG4Particle::get_parent_id(), PHG4UserPrimaryParticleInformation::get_user_track_id(), PHG4UserPrimaryParticleInformation::get_user_vtx_id(), PHG4Particle::get_vtx_id(), G4PrimaryVertex::GetNext(), G4PrimaryParticle::GetNext(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetParticleRange(), G4PrimaryVertex::GetPrimary(), G4Event::GetPrimaryVertex(), G4PrimaryParticle::GetUserInformation(), PHG4TruthInfoContainer::GetVtxRange(), m_LowerKeyPrevExist, m_TruthInfoContainer, m_UpperKeyPrevExist, m_WriteSet, part, particle, ProcessShowers(), and PruneShowers().
|
private |
Definition at line 371 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 371 of file PHG4TruthEventAction.cc
References kdfinder::abs(), PHG4Shower::begin_g4hit_id(), edep, PHG4Shower::end_g4hit_id(), PHG4HitContainer::findHit(), PHG4Hit::get_edep(), PHG4Hit::get_eion(), PHG4Hit::get_light_yield(), PHG4Particle::get_pid(), PHG4Hit::get_trkid(), PHG4Particle::get_vtx_id(), PHG4Hit::get_x(), PHG4Hit::get_y(), PHG4Hit::get_z(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetShowerRange(), PHG4TruthInfoContainer::GetVtx(), hits(), m_HitContainerMap, m_TruthInfoContainer, particle, PHWHERE, PHG4Shower::set_covar(), PHG4Shower::set_edep(), PHG4Shower::set_eh_ratio(), PHG4Shower::set_eion(), PHG4Shower::set_light_yield(), PHG4Shower::set_nhits(), PHG4Shower::set_x(), PHG4Shower::set_y(), PHG4Shower::set_z(), w, and X.
Referenced by EndOfEventAction().
|
private |
Definition at line 277 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 277 of file PHG4TruthEventAction.cc
References PHG4Shower::begin_g4hit_id(), PHG4Shower::begin_g4particle_id(), PHG4TruthInfoContainer::delete_shower(), PHG4Shower::empty_g4hit_id(), PHG4Shower::empty_g4particle_id(), PHG4Shower::end_g4hit_id(), PHG4Shower::end_g4particle_id(), PHG4Shower::get_edep(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetShowerRange(), m_HitContainerMap, m_TruthInfoContainer, particle, PHG4Shower::remove_g4hit_volume(), and PHG4Shower::remove_g4particle_id().
Referenced by EndOfEventAction().
|
overridevirtual |
Reimplemented from PHG4EventAction.
Definition at line 271 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 271 of file PHG4TruthEventAction.cc
References m_WriteSet.
Referenced by PHG4TruthSubsystem::ResetEvent().
|
private |
Definition at line 238 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 238 of file PHG4TruthEventAction.cc
References PHDataNode< T >::getData(), PHNodeIterator::ls(), and m_HitContainerMap.
Referenced by SetInterfacePointers().
|
overridevirtual |
get relevant nodes from top node passed as argument
Reimplemented from PHG4EventAction.
Definition at line 224 of file PHG4TruthEventAction.cc.
View newest version in sPHENIX GitHub at line 224 of file PHG4TruthEventAction.cc
References m_TruthInfoContainer, and SearchNode().
Referenced by PHG4TruthSubsystem::process_event().
|
private |
Definition at line 51 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4TruthEventAction.h
Referenced by ProcessShowers(), PruneShowers(), and SearchNode().
|
private |
Definition at line 48 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4TruthEventAction.h
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
pointer to truth information container
Definition at line 46 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4TruthEventAction.h
Referenced by BeginOfEventAction(), EndOfEventAction(), ProcessShowers(), PruneShowers(), and SetInterfacePointers().
|
private |
Definition at line 49 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4TruthEventAction.h
Referenced by BeginOfEventAction(), and EndOfEventAction().
|
private |
set of track ids to be written out
Definition at line 43 of file PHG4TruthEventAction.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4TruthEventAction.h
Referenced by AddTrackidToWritelist(), EndOfEventAction(), and ResetEvent().