Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_pandora::LArPandoraEventDump Class Reference
Inheritance diagram for lar_pandora::LArPandoraEventDump:
Collaboration diagram for lar_pandora::LArPandoraEventDump:

Classes

class  PandoraData
 Class holding the handle for all of the data types from Pandora. More...
 

Public Member Functions

 LArPandoraEventDump (fhicl::ParameterSet const &pset)
 
 LArPandoraEventDump (LArPandoraEventDump const &)=delete
 
 LArPandoraEventDump (LArPandoraEventDump &&)=delete
 
LArPandoraEventDumpoperator= (LArPandoraEventDump const &)=delete
 
LArPandoraEventDumpoperator= (LArPandoraEventDump &&)=delete
 
void analyze (art::Event const &evt) override
 

Private Types

template<class T >
using Collection = art::Handle< std::vector< T > >
 
template<class T >
using Association = art::FindManyP< T >
 

Private Member Functions

void PrintEventMetadata (const art::Event &evt) const
 Print the metadata about the event.
 
void PrintEventSummary (const PandoraData &data) const
 Print a summary of the event similar to the standard event dump.
 
void PrintPFParticleHierarchy (const PandoraData &data) const
 Print the full PFParticle Hierarchy.
 
void BuildPFParticleMap (const PandoraData &data, PFParticleMap &pfParticleMap) const
 Build the map from PFParticle ID to PFParticle from the input data.
 
void PrintParticle (const art::Ptr< recob::PFParticle > &particle, const PFParticleMap &pfParticleMap, const PandoraData &data, const unsigned int depth) const
 Print a given PFParticle.
 
void PrintHit (const art::Ptr< recob::Hit > &hit, const unsigned int depth) const
 Print a given Hit.
 
void PrintSlice (const art::Ptr< recob::Slice > &slice, const PandoraData &data, const unsigned int depth) const
 Print a given Slice.
 
void PrintCluster (const art::Ptr< recob::Cluster > &cluster, const PandoraData &data, const unsigned int depth) const
 Print a given Cluster.
 
void PrintVertex (const art::Ptr< recob::Vertex > &vertex, const unsigned int depth) const
 Print a given Vertex.
 
void PrintSpacePoint (const art::Ptr< recob::SpacePoint > &spacePoint, const PandoraData &data, const unsigned int depth) const
 Print a given SpacePoint.
 
void PrintTrack (const art::Ptr< recob::Track > &track, const PandoraData &data, const unsigned int depth) const
 Print a given Track.
 
void PrintShower (const art::Ptr< recob::Shower > &shower, const PandoraData &data, const unsigned int depth) const
 Print a given Shower.
 
void PrintRule (const unsigned int depth) const
 Print a horizontal line.
 
void PrintTitle (const std::string &name, const unsigned int depth) const
 Print a title line.
 
template<class T >
void PrintProperty (const std::string &name, const T &value, const unsigned int depth) const
 Print a given property with the correct amount of whitespace.
 

Private Attributes

std::string m_verbosityLevel
 The level of verbosity to use.
 
std::string m_pandoraLabel
 The label of the Pandora pattern recognition producer.
 
std::string m_trackLabel
 The track producer label.
 
std::string m_showerLabel
 The shower producer label.
 

Detailed Description

Definition at line 31 of file LArPandoraEventDump_module.cc.

Member Typedef Documentation

◆ Association

template<class T >
using lar_pandora::LArPandoraEventDump::Association = art::FindManyP<T>
private

Definition at line 47 of file LArPandoraEventDump_module.cc.

◆ Collection

template<class T >
using lar_pandora::LArPandoraEventDump::Collection = art::Handle<std::vector<T> >
private

Definition at line 44 of file LArPandoraEventDump_module.cc.

Constructor & Destructor Documentation

◆ LArPandoraEventDump() [1/3]

lar_pandora::LArPandoraEventDump::LArPandoraEventDump ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 292 of file LArPandoraEventDump_module.cc.

◆ LArPandoraEventDump() [2/3]

lar_pandora::LArPandoraEventDump::LArPandoraEventDump ( LArPandoraEventDump const &  )
delete

◆ LArPandoraEventDump() [3/3]

lar_pandora::LArPandoraEventDump::LArPandoraEventDump ( LArPandoraEventDump &&  )
delete

Member Function Documentation

◆ analyze()

void lar_pandora::LArPandoraEventDump::analyze ( art::Event const &  evt)
override

Definition at line 311 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:

◆ BuildPFParticleMap()

void lar_pandora::LArPandoraEventDump::BuildPFParticleMap ( const PandoraData data,
PFParticleMap pfParticleMap 
) const
private

Build the map from PFParticle ID to PFParticle from the input data.

Parameters
datathe pandora collections and associations
pfParticleMapthe output PFParticle map

Definition at line 432 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ operator=() [1/2]

LArPandoraEventDump & lar_pandora::LArPandoraEventDump::operator= ( LArPandoraEventDump &&  )
delete

◆ operator=() [2/2]

LArPandoraEventDump & lar_pandora::LArPandoraEventDump::operator= ( LArPandoraEventDump const &  )
delete

◆ PrintCluster()

void lar_pandora::LArPandoraEventDump::PrintCluster ( const art::Ptr< recob::Cluster > &  cluster,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given Cluster.

Parameters
clusterthe cluster to print
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 593 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintEventMetadata()

void lar_pandora::LArPandoraEventDump::PrintEventMetadata ( const art::Event &  evt) const
private

Print the metadata about the event.

Parameters
evtthe art event

Definition at line 324 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ PrintEventSummary()

void lar_pandora::LArPandoraEventDump::PrintEventSummary ( const PandoraData data) const
private

Print a summary of the event similar to the standard event dump.

Parameters
datathe pandora collections and associations

Definition at line 335 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ PrintHit()

void lar_pandora::LArPandoraEventDump::PrintHit ( const art::Ptr< recob::Hit > &  hit,
const unsigned int  depth 
) const
private

Print a given Hit.

Parameters
hitthe hit to print
depththe number of characters to indent

Definition at line 558 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintParticle()

void lar_pandora::LArPandoraEventDump::PrintParticle ( const art::Ptr< recob::PFParticle > &  particle,
const PFParticleMap pfParticleMap,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given PFParticle.

Parameters
particlethe particle to print
pfParticleMapthe input mapping from PFParticle ID to PFParticle
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 443 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintPFParticleHierarchy()

void lar_pandora::LArPandoraEventDump::PrintPFParticleHierarchy ( const PandoraData data) const
private

Print the full PFParticle Hierarchy.

Parameters
datathe pandora collections and associations

Definition at line 414 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintProperty()

template<class T >
void lar_pandora::LArPandoraEventDump::PrintProperty ( const std::string &  name,
const T &  value,
const unsigned int  depth 
) const
private

Print a given property with the correct amount of whitespace.

Parameters
namethe property name
valuethe property value
depththe number of characters to indent

Definition at line 735 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ PrintRule()

void lar_pandora::LArPandoraEventDump::PrintRule ( const unsigned int  depth) const
private

Print a horizontal line.

Parameters
depththe number of characters to indent

Definition at line 718 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ PrintShower()

void lar_pandora::LArPandoraEventDump::PrintShower ( const art::Ptr< recob::Shower > &  shower,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given Shower.

Parameters
showerthe shower to print
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 679 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintSlice()

void lar_pandora::LArPandoraEventDump::PrintSlice ( const art::Ptr< recob::Slice > &  slice,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given Slice.

Parameters
slicethe slice to print
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 571 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintSpacePoint()

void lar_pandora::LArPandoraEventDump::PrintSpacePoint ( const art::Ptr< recob::SpacePoint > &  spacePoint,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given SpacePoint.

Parameters
spacePointthe spacePoint to print
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 616 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintTitle()

void lar_pandora::LArPandoraEventDump::PrintTitle ( const std::string &  name,
const unsigned int  depth 
) const
private

Print a title line.

Parameters
namethe title name
depththe number of characters to indent

Definition at line 727 of file LArPandoraEventDump_module.cc.

Here is the caller graph for this function:

◆ PrintTrack()

void lar_pandora::LArPandoraEventDump::PrintTrack ( const art::Ptr< recob::Track > &  track,
const PandoraData data,
const unsigned int  depth 
) const
private

Print a given Track.

Parameters
trackthe track to print
datathe pandora collections and associations
depththe number of characters to indent

Definition at line 656 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintVertex()

void lar_pandora::LArPandoraEventDump::PrintVertex ( const art::Ptr< recob::Vertex > &  vertex,
const unsigned int  depth 
) const
private

Print a given Vertex.

Parameters
vertexthe vertex to print
depththe number of characters to indent

Definition at line 642 of file LArPandoraEventDump_module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_pandoraLabel

std::string lar_pandora::LArPandoraEventDump::m_pandoraLabel
private

The label of the Pandora pattern recognition producer.

Definition at line 278 of file LArPandoraEventDump_module.cc.

◆ m_showerLabel

std::string lar_pandora::LArPandoraEventDump::m_showerLabel
private

The shower producer label.

Definition at line 280 of file LArPandoraEventDump_module.cc.

◆ m_trackLabel

std::string lar_pandora::LArPandoraEventDump::m_trackLabel
private

The track producer label.

Definition at line 279 of file LArPandoraEventDump_module.cc.

◆ m_verbosityLevel

std::string lar_pandora::LArPandoraEventDump::m_verbosityLevel
private

The level of verbosity to use.

Definition at line 277 of file LArPandoraEventDump_module.cc.


The documentation for this class was generated from the following file: