LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Class holding the handle for all of the data types from Pandora. More...
Public Member Functions | |
PandoraData (const art::Event &evt, const std::string &pandoraLabel, const std::string &trackLabel="", const std::string &showerLabel="") | |
Default constructor. More... | |
~PandoraData () | |
Default destructor. More... | |
Private Member Functions | |
template<class T > | |
void | LoadCollection (const art::Event &evt, const std::string &label, Collection< T > &collection) |
Load a collection from the event. More... | |
template<class T , class U > | |
void | LoadAssociation (const art::Event &evt, const std::string &label, const Collection< T > &collection, Association< U > *&pAssociation) |
Load an association from the event. More... | |
Class holding the handle for all of the data types from Pandora.
Definition at line 52 of file LArPandoraEventDump_module.cc.
lar_pandora::LArPandoraEventDump::PandoraData::PandoraData | ( | const art::Event & | evt, |
const std::string & | pandoraLabel, | ||
const std::string & | trackLabel = "" , |
||
const std::string & | showerLabel = "" |
||
) |
Default constructor.
evt | the art event |
pandoraLabel | the pandora producer label |
trackLabel | the track producer label (optional) |
showerLabel | the shower producer label (optional) |
Definition at line 749 of file LArPandoraEventDump_module.cc.
References LoadAssociation(), LoadCollection(), m_clusterCollection, m_pcAxisCollection, m_pClusterToHitAssociation, m_pfParticleCollection, m_pfParticleMetadataCollection, m_pPFParticleToClusterAssociation, m_pPFParticleToMetadataAssociation, m_pPFParticleToShowerAssociation, m_pPFParticleToSliceAssociation, m_pPFParticleToSpacePointAssociation, m_pPFParticleToTrackAssociation, m_pPFParticleToVertexAssociation, m_pShowerToHitAssociation, m_pShowerToPCAxisAssociation, m_pSliceToHitAssociation, m_pSpacePointToHitAssociation, m_pTrackToHitAssociation, m_showerCollection, m_sliceCollection, m_spacePointCollection, m_trackCollection, and m_vertexCollection.
lar_pandora::LArPandoraEventDump::PandoraData::~PandoraData | ( | ) |
Default destructor.
Definition at line 805 of file LArPandoraEventDump_module.cc.
References m_pClusterToHitAssociation, m_pPFParticleToClusterAssociation, m_pPFParticleToMetadataAssociation, m_pPFParticleToShowerAssociation, m_pPFParticleToSliceAssociation, m_pPFParticleToSpacePointAssociation, m_pPFParticleToTrackAssociation, m_pPFParticleToVertexAssociation, m_pShowerToHitAssociation, m_pShowerToPCAxisAssociation, m_pSliceToHitAssociation, m_pSpacePointToHitAssociation, and m_pTrackToHitAssociation.
|
private |
Load an association from the event.
evt | the art event |
label | the producer label |
collection | the input collection (from which object are associated) |
pAssociation | the output association |
Definition at line 838 of file LArPandoraEventDump_module.cc.
References tca::evt.
Referenced by PandoraData().
|
private |
Load a collection from the event.
evt | the art event |
label | the producer label |
collection | the output collection |
Definition at line 826 of file LArPandoraEventDump_module.cc.
References art::ProductRetriever::getByLabel().
Referenced by PandoraData().
Collection<recob::Cluster> lar_pandora::LArPandoraEventDump::PandoraData::m_clusterCollection |
The Cluster handle.
Definition at line 76 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Collection<recob::PCAxis> lar_pandora::LArPandoraEventDump::PandoraData::m_pcAxisCollection |
The PCAxis handle.
Definition at line 81 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Association<recob::Hit>* lar_pandora::LArPandoraEventDump::PandoraData::m_pClusterToHitAssociation |
The Cluster to hit association.
Definition at line 100 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintCluster(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), and ~PandoraData().
Collection<recob::PFParticle> lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleCollection |
The PFParticle handle.
Definition at line 73 of file LArPandoraEventDump_module.cc.
Referenced by lar_pandora::LArPandoraEventDump::BuildPFParticleMap(), PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), and lar_pandora::LArPandoraEventDump::PrintPFParticleHierarchy().
Collection<larpandoraobj::PFParticleMetadata> lar_pandora::LArPandoraEventDump::PandoraData::m_pfParticleMetadataCollection |
The PFParticleMetadata handle.
Definition at line 75 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Association<recob::Cluster>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToClusterAssociation |
The PFParticle to cluster association.
Definition at line 88 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<larpandoraobj::PFParticleMetadata>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToMetadataAssociation |
The PFParticle to metadata association.
Definition at line 86 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::Shower>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToShowerAssociation |
The PFParticle to shower association.
Definition at line 96 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::Slice>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSliceAssociation |
The PFParticle to slice association.
Definition at line 98 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::SpacePoint>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToSpacePointAssociation |
The PFParticle to space point association.
Definition at line 90 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::Track>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToTrackAssociation |
The PFParticle to track association.
Definition at line 94 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::Vertex>* lar_pandora::LArPandoraEventDump::PandoraData::m_pPFParticleToVertexAssociation |
The PFParticle to vertex association.
Definition at line 92 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintParticle(), and ~PandoraData().
Association<recob::Hit>* lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToHitAssociation |
The Shower to hit association.
Definition at line 103 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintShower(), and ~PandoraData().
Association<recob::PCAxis>* lar_pandora::LArPandoraEventDump::PandoraData::m_pShowerToPCAxisAssociation |
The Shower to PCAxis association.
Definition at line 107 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintShower(), and ~PandoraData().
Association<recob::Hit>* lar_pandora::LArPandoraEventDump::PandoraData::m_pSliceToHitAssociation |
The Slice to hit association.
Definition at line 104 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintSlice(), and ~PandoraData().
Association<recob::Hit>* lar_pandora::LArPandoraEventDump::PandoraData::m_pSpacePointToHitAssociation |
The SpacePoint to hit association.
Definition at line 101 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintSpacePoint(), and ~PandoraData().
Association<recob::Hit>* lar_pandora::LArPandoraEventDump::PandoraData::m_pTrackToHitAssociation |
The Track to hit association.
Definition at line 102 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), lar_pandora::LArPandoraEventDump::PrintEventSummary(), lar_pandora::LArPandoraEventDump::PrintTrack(), and ~PandoraData().
Collection<recob::Shower> lar_pandora::LArPandoraEventDump::PandoraData::m_showerCollection |
The Shower handle.
Definition at line 80 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Collection<recob::Slice> lar_pandora::LArPandoraEventDump::PandoraData::m_sliceCollection |
The Slice handle.
Definition at line 82 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Collection<recob::SpacePoint> lar_pandora::LArPandoraEventDump::PandoraData::m_spacePointCollection |
The SpacePoint handle.
Definition at line 77 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Collection<recob::Track> lar_pandora::LArPandoraEventDump::PandoraData::m_trackCollection |
The Track handle.
Definition at line 79 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().
Collection<recob::Vertex> lar_pandora::LArPandoraEventDump::PandoraData::m_vertexCollection |
The Vertex handle.
Definition at line 78 of file LArPandoraEventDump_module.cc.
Referenced by PandoraData(), and lar_pandora::LArPandoraEventDump::PrintEventSummary().