![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/KFParticle_sPHENIX/KFParticle_DST.h>
Inheritance diagram for KFParticle_DST:
Collaboration diagram for KFParticle_DST:Public Member Functions | |
| KFParticle_DST () | |
| Constructor. | |
| virtual | ~KFParticle_DST () |
| Destructor. | |
| int | createParticleNode (PHCompositeNode *topNode) |
| Places a KFParticle_Container and SvtxTrackMap on the node tree if they don't exist. | |
| void | fillParticleNode (PHCompositeNode *topNode, const KFParticle &motherParticle, const std::vector< KFParticle > &daughters, const std::vector< KFParticle > &intermediates) |
| Simultaneously fills a KFParticle_Container and SvtxTrackMap if they are enabled. | |
| void | fillParticleNode_Track (PHCompositeNode *topNode, const KFParticle &motherParticle, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates) |
| Called by fillParticleNode, fills an SvtxTrackMap. | |
| void | fillParticleNode_Particle (PHCompositeNode *topNode, const KFParticle &motherParticle, std::vector< KFParticle > daughters, std::vector< KFParticle > intermediates) |
| Called by fillParticleNode, fills a KFParitcle_Container. | |
| void | printNode (PHCompositeNode *topNode) |
| Prints contents of KFParticle_Containers and SvtxTrackMaps for an event if they are enabled. | |
Protected Attributes | |
| bool | m_has_intermediates_DST = false |
| bool | m_write_track_container = true |
| bool | m_write_particle_container = true |
| std::string | m_container_name |
Private Member Functions | |
| SvtxTrack * | buildSvtxTrack (KFParticle particle) |
Private Attributes | |
| SvtxTrackMap * | m_recoTrackMap = nullptr |
| KFParticle_Container * | m_recoParticleMap = nullptr |
Definition at line 15 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 15 of file KFParticle_DST.h
|
inline |
Constructor.
Definition at line 19 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 19 of file KFParticle_DST.h
|
inlinevirtual |
Destructor.
Definition at line 22 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 22 of file KFParticle_DST.h
|
private |
Definition at line 228 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 228 of file KFParticle_DST.cc
References kdfinder::abs(), SvtxTrack::set_charge(), SvtxTrack::set_chisq(), SvtxTrack::set_error(), SvtxTrack::set_id(), SvtxTrack::set_ndf(), SvtxTrack::set_px(), SvtxTrack::set_py(), SvtxTrack::set_pz(), SvtxTrack::set_x(), SvtxTrack::set_y(), SvtxTrack::set_z(), and track.
Referenced by fillParticleNode_Track().
Here is the call graph for this function:
Here is the caller graph for this function:| int KFParticle_DST::createParticleNode | ( | PHCompositeNode * | topNode | ) |
Places a KFParticle_Container and SvtxTrackMap on the node tree if they don't exist.
Definition at line 32 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 32 of file KFParticle_DST.cc
References PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), PHNodeIterator::findFirst(), m_container_name, m_recoParticleMap, m_recoTrackMap, m_write_particle_container, m_write_track_container, and pos().
Referenced by KFParticle_sPHENIX::Init().
Here is the call graph for this function:
Here is the caller graph for this function:| void KFParticle_DST::fillParticleNode | ( | PHCompositeNode * | topNode, |
| const KFParticle & | motherParticle, | ||
| const std::vector< KFParticle > & | daughters, | ||
| const std::vector< KFParticle > & | intermediates | ||
| ) |
Simultaneously fills a KFParticle_Container and SvtxTrackMap if they are enabled.
Definition at line 98 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 98 of file KFParticle_DST.cc
References fillParticleNode_Particle(), fillParticleNode_Track(), m_write_particle_container, and m_write_track_container.
Referenced by KFParticle_sPHENIX::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| void KFParticle_DST::fillParticleNode_Particle | ( | PHCompositeNode * | topNode, |
| const KFParticle & | motherParticle, | ||
| std::vector< KFParticle > | daughters, | ||
| std::vector< KFParticle > | intermediates | ||
| ) |
Called by fillParticleNode, fills a KFParitcle_Container.
Definition at line 181 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 181 of file KFParticle_DST.cc
References KFParticle_Container::insert(), k, m_container_name, m_has_intermediates_DST, m_recoParticleMap, and pos().
Referenced by fillParticleNode().
Here is the call graph for this function:
Here is the caller graph for this function:| void KFParticle_DST::fillParticleNode_Track | ( | PHCompositeNode * | topNode, |
| const KFParticle & | motherParticle, | ||
| std::vector< KFParticle > | daughters, | ||
| std::vector< KFParticle > | intermediates | ||
| ) |
Called by fillParticleNode, fills an SvtxTrackMap.
Definition at line 112 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 112 of file KFParticle_DST.cc
References buildSvtxTrack(), KFParticle_truthAndDetTools::getTrack(), SvtxTrackMap::insert(), k, m_container_name, m_has_intermediates_DST, m_recoTrackMap, pos(), PHObject::Reset(), and SvtxTrackMap::size().
Referenced by fillParticleNode().
Here is the call graph for this function:
Here is the caller graph for this function:| void KFParticle_DST::printNode | ( | PHCompositeNode * | topNode | ) |
Prints contents of KFParticle_Containers and SvtxTrackMaps for an event if they are enabled.
Definition at line 252 of file KFParticle_DST.cc.
View newest version in sPHENIX GitHub at line 252 of file KFParticle_DST.cc
References SvtxTrackMap::begin(), KFParticle_Container::begin(), SvtxTrackMap::end(), KFParticle_Container::end(), SvtxTrack::identify(), KFParticle_Tools::identify(), m_container_name, m_write_particle_container, m_write_track_container, particle, pos(), and track.
Referenced by KFParticle_sPHENIX::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 49 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 49 of file KFParticle_DST.h
Referenced by createParticleNode(), fillParticleNode_Particle(), fillParticleNode_Track(), printNode(), and KFParticle_sPHENIX::setContainerName().
|
protected |
Definition at line 46 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 46 of file KFParticle_DST.h
Referenced by fillParticleNode_Particle(), fillParticleNode_Track(), and KFParticle_sPHENIX::hasIntermediateStates().
|
private |
Definition at line 53 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 53 of file KFParticle_DST.h
Referenced by createParticleNode(), and fillParticleNode_Particle().
|
private |
Definition at line 52 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 52 of file KFParticle_DST.h
Referenced by createParticleNode(), and fillParticleNode_Track().
|
protected |
Definition at line 48 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 48 of file KFParticle_DST.h
Referenced by createParticleNode(), fillParticleNode(), printNode(), and KFParticle_sPHENIX::saveParticleContainer().
|
protected |
Definition at line 47 of file KFParticle_DST.h.
View newest version in sPHENIX GitHub at line 47 of file KFParticle_DST.h
Referenced by createParticleNode(), fillParticleNode(), printNode(), and KFParticle_sPHENIX::saveTrackContainer().