ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Particle.h>
Public Member Functions | |
PHG4Particle () | |
~PHG4Particle () override | |
void | identify (std::ostream &os=std::cout) const override |
virtual bool | isIon () const |
virtual int | get_pid () const |
virtual std::string | get_name () const |
virtual double | get_px () const |
virtual double | get_py () const |
virtual double | get_pz () const |
virtual double | get_e () const |
virtual int | get_track_id () const |
virtual int | get_vtx_id () const |
virtual int | get_parent_id () const |
virtual int | get_primary_id () const |
virtual int | get_barcode () const |
virtual int | get_A () const |
virtual int | get_Z () const |
virtual double | get_IonCharge () const |
virtual double | get_ExcitEnergy () const |
virtual void | set_track_id (const int) |
virtual void | set_vtx_id (const int) |
virtual void | set_parent_id (const int) |
virtual void | set_primary_id (const int) |
virtual void | set_name (const std::string &) |
virtual void | set_pid (const int) |
virtual void | set_px (const double) |
virtual void | set_py (const double) |
virtual void | set_pz (const double) |
virtual void | set_e (const double) |
virtual void | set_barcode (const int) |
virtual void | set_A (const int) |
virtual void | set_Z (const int) |
virtual void | set_NumCharge (const int) |
virtual void | set_IonCharge (const double) |
virtual void | set_ExcitEnergy (const double) |
bool | operator== (const PHG4Particle &p) 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 void | Reset () |
Clear Event. | |
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 *) |
virtual void | CopyFrom (const PHObject *obj) |
Definition at line 12 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 12 of file PHG4Particle.h
|
inline |
Definition at line 15 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 15 of file PHG4Particle.h
|
inlineoverride |
Definition at line 16 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 16 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 36 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 34 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4Particle.h
Referenced by EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), QAG4SimulationKFParticle::makeHepLV(), and getVectors::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 27 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), ActsEvaluator::evaluateTrackFits(), CaloEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorialECCE::getPHG4Truth(), AnaTutorial::getPHG4Truth(), eIDMLInterface::getPHG4Truth(), AnaTutorialECCE::getTracks(), AnaTutorial::getTracks(), eIDMLInterface::getTracks(), CaloEvaluator::printOutputInfo(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGenerator::process_event(), EICG4ZDCHitTree::process_event(), ParticleFlowReco::process_event(), DetermineTowerBackground::process_event(), eIDMLInterface::process_event(), QAG4SimulationCalorimeterSum::process_event_Cluster(), QAG4SimulationCalorimeter::process_event_G4Hit(), and QAG4SimulationCalorimeterSum::process_event_TrackProj().
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 39 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 38 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 23 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), and PHG4ParticleGeneratorBase::SetParticleId().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 31 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), PHG4TruthEventAction::EndOfEventAction(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), BaseTruthEval::is_primary(), PHTruthClustering::process_event(), and getVectors::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 22 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), QAG4SimulationTpc::evaluate_clusters(), B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), ActsEvaluator::fillG4Particle(), CaloEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorialECCE::getPHG4Truth(), AnaTutorial::getPHG4Truth(), eIDMLInterface::getPHG4Truth(), AnaTutorialECCE::getTracks(), AnaTutorial::getTracks(), eIDMLInterface::getTracks(), operator==(), CaloEvaluator::printInputInfo(), CaloEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), QAG4SimulationUpsilon::process_event(), EICG4ZDCHitTree::process_event(), ParticleFlowReco::process_event(), QAG4SimulationTracking::process_event(), DetermineTowerBackground::process_event(), TPCDataStreamEmulator::process_event(), PHTruthClustering::process_event(), ECCEFastPIDReco::process_event(), PHG4ScoringManager::process_event(), TpcRS::process_event(), getVectors::process_event(), eIDMLInterface::process_event(), QAG4SimulationCalorimeter::process_event_G4Hit(), PHG4TruthEventAction::ProcessShowers(), and PHG4ParticleGeneratorBase::SetParticleId().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 32 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), DSTEmulator::get_embed(), TrackEvaluation::get_embed(), BaseTruthEval::get_primary_particle(), PHG4ConsistencyCheck::process_event(), and PHTruthClustering::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 24 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), ActsEvaluator::evaluateTrackFits(), B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), ActsEvaluator::fillG4Particle(), CaloEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorialECCE::getPHG4Truth(), AnaTutorial::getPHG4Truth(), eIDMLInterface::getPHG4Truth(), AnaTutorialECCE::getTracks(), AnaTutorial::getTracks(), eIDMLInterface::getTracks(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), operator==(), CaloEvaluator::printInputInfo(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGenerator::process_event(), QAG4SimulationUpsilon::process_event(), QAG4SimulationVertex::process_event(), EICG4ZDCHitTree::process_event(), ParticleFlowReco::process_event(), DetermineTowerBackground::process_event(), QAG4SimulationTracking::process_event(), TPCDataStreamEmulator::process_event(), PHTruthSiliconAssociation::process_event(), ECCEFastPIDReco::process_event(), PHG4ScoringManager::process_event(), getVectors::process_event(), eIDMLInterface::process_event(), PHG4TrackFastSim::PseudoPatternRecognition(), and B0TrackFastSim::PseudoPatternRecognition().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 25 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), ActsEvaluator::evaluateTrackFits(), B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), ActsEvaluator::fillG4Particle(), CaloEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorialECCE::getPHG4Truth(), AnaTutorial::getPHG4Truth(), eIDMLInterface::getPHG4Truth(), AnaTutorialECCE::getTracks(), AnaTutorial::getTracks(), eIDMLInterface::getTracks(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), operator==(), CaloEvaluator::printInputInfo(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGenerator::process_event(), QAG4SimulationUpsilon::process_event(), QAG4SimulationVertex::process_event(), EICG4ZDCHitTree::process_event(), ParticleFlowReco::process_event(), DetermineTowerBackground::process_event(), QAG4SimulationTracking::process_event(), TPCDataStreamEmulator::process_event(), PHTruthSiliconAssociation::process_event(), ECCEFastPIDReco::process_event(), PHG4ScoringManager::process_event(), getVectors::process_event(), eIDMLInterface::process_event(), PHG4TrackFastSim::PseudoPatternRecognition(), and B0TrackFastSim::PseudoPatternRecognition().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 26 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), ActsEvaluator::evaluateTrackFits(), B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), ActsEvaluator::fillG4Particle(), CaloEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorialECCE::getPHG4Truth(), AnaTutorial::getPHG4Truth(), eIDMLInterface::getPHG4Truth(), AnaTutorialECCE::getTracks(), AnaTutorial::getTracks(), eIDMLInterface::getTracks(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), operator==(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGenerator::process_event(), QAG4SimulationUpsilon::process_event(), QAG4SimulationVertex::process_event(), EICG4ZDCHitTree::process_event(), ParticleFlowReco::process_event(), QAG4SimulationTracking::process_event(), DetermineTowerBackground::process_event(), TPCDataStreamEmulator::process_event(), PHG4ScoringManager::process_event(), ECCEFastPIDReco::process_event(), getVectors::process_event(), eIDMLInterface::process_event(), PHG4TrackFastSim::PseudoPatternRecognition(), and B0TrackFastSim::PseudoPatternRecognition().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 29 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthInfoContainer::AddParticle(), SvtxHitEval::all_hits_from(), PHTruthClustering::all_truth_clusters(), SvtxTruthEval::all_truth_clusters(), PHTruthClustering::all_truth_hits(), BaseTruthEval::are_same_particle(), QAG4SimulationTpc::evaluate_clusters(), B0TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), ActsEvaluator::fillG4Particle(), CaloEvaluator::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), SvtxTruthEval::FillTruthHitsFromParticleCache(), BaseTruthEval::get_embed(), JetRecoEval::get_energy_contribution(), TruthJetInput::get_input(), BaseTruthEval::get_primary_shower(), PHTruthSiliconAssociation::getSiliconClustersFromParticle(), BaseTruthEval::is_g4hit_from_particle(), PHG4TruthInfoContainer::is_primary(), SvtxClusterEval::max_truth_cluster_by_energy(), PHG4TruthTrackingAction::PreUserTrackingAction(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), CreateCZHitContainer::process_event(), DetermineTowerBackground::process_event(), QAG4SimulationTracking::process_event(), PHTruthSiliconAssociation::process_event(), PHTruthClustering::process_event(), ECCEFastPIDReco::process_event(), getVectors::process_event(), eIDMLInterface::process_event(), PHG4TrackFastSim::process_event(), B0TrackFastSim::process_event(), PHG4TrackFastSim::PseudoPatternRecognition(), and B0TrackFastSim::PseudoPatternRecognition().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 30 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4Particle.h
Referenced by PHG4DSTReader::add_particle(), PHG4TruthEventAction::EndOfEventAction(), B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), B0TrackFastSimEval::fill_vertex_tree(), TrackFastSimEval::fill_vertex_tree(), PHG4TrackFastSimEval::fill_vertex_tree(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), BaseTruthEval::get_vertex(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), PHG4TruthTrackingAction::PreUserTrackingAction(), SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), PHG4DstCompressReco::process_event(), PHTruthSiliconAssociation::process_event(), and PHG4TruthEventAction::ProcessShowers().
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 37 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4Particle.h
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in PHG4Particlev2, PHG4Particlev3, and PHG4Particlev1.
Definition at line 3 of file PHG4Particle.cc.
View newest version in sPHENIX GitHub at line 3 of file PHG4Particle.cc
Referenced by SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), PHG4ConsistencyCheck::process_event(), QAG4SimulationUpsilon::process_event(), QAG4SimulationTracking::process_event(), ECCEFastPIDReco::process_event(), PHG4TrackFastSim::PseudoPatternRecognition(), and B0TrackFastSim::PseudoPatternRecognition().
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 21 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4Particle.h
bool PHG4Particle::operator== | ( | const PHG4Particle & | p | ) | const |
Definition at line 9 of file PHG4Particle.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4Particle.cc
References get_pid(), get_px(), get_py(), and get_pz().
Reimplemented in PHG4Particlev3.
Definition at line 54 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle().
Reimplemented in PHG4Particlev1.
Definition at line 52 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::PreUserTrackingAction(), and HepMCNodeReader::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev2.
Definition at line 50 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), PHG4ParticleGenerator_flat_pT::process_event(), PHG4ParticleGenerator::process_event(), and PHG4SimpleEventGenerator::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 58 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev3.
Definition at line 57 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4Particle.h
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 45 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), PHG4SimpleEventGenerator::process_event(), and PHG4ParticleGeneratorBase::SetParticleId().
Reimplemented in PHG4Particlev3.
Definition at line 56 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4Particle.h
Reimplemented in PHG4Particlev2.
Definition at line 43 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), PHG4TruthTrackingAction::PreUserTrackingAction(), and PHG4SimpleEventGenerator::process_event().
Reimplemented in PHG4Particlev1.
Definition at line 46 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4Particle.h
Referenced by PHG4ParticleGeneratorBase::AddParticle(), PHG4TruthTrackingAction::AddParticle(), PHG4InEventReadBack::process_event(), HepMCNodeReader::process_event(), PHG4SimpleEventGenerator::process_event(), and PHG4ParticleGeneratorBase::SetParticleId().
Reimplemented in PHG4Particlev2.
Definition at line 44 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), and PHG4TruthTrackingAction::PreUserTrackingAction().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 47 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4Particle.h
Referenced by PHG4ParticleGeneratorBase::AddParticle(), PHG4TruthTrackingAction::AddParticle(), PHG4InEventReadBack::process_event(), PHG4ParticleGenerator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), HepMCNodeReader::process_event(), and PHG4SimpleEventGenerator::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 48 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4Particle.h
Referenced by PHG4ParticleGeneratorBase::AddParticle(), PHG4TruthTrackingAction::AddParticle(), PHG4InEventReadBack::process_event(), PHG4ParticleGenerator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), HepMCNodeReader::process_event(), and PHG4SimpleEventGenerator::process_event().
|
inlinevirtual |
Reimplemented in PHG4Particlev1.
Definition at line 49 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4Particle.h
Referenced by PHG4ParticleGeneratorBase::AddParticle(), PHG4TruthTrackingAction::AddParticle(), PHG4InEventReadBack::process_event(), PHG4ParticleGenerator::process_event(), PHG4ParticleGenerator_flat_pT::process_event(), HepMCNodeReader::process_event(), and PHG4SimpleEventGenerator::process_event().
Reimplemented in PHG4Particlev2.
Definition at line 41 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), and PHG4SimpleEventGenerator::process_event().
Reimplemented in PHG4Particlev2.
Definition at line 42 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle(), and PHG4SimpleEventGenerator::process_event().
Reimplemented in PHG4Particlev3.
Definition at line 55 of file PHG4Particle.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4Particle.h
Referenced by PHG4TruthTrackingAction::AddParticle().