ElectronNeutrinoSelection
 All Classes Functions Variables Groups
Public Member Functions | Protected Attributes | Private Attributes | List of all members
lee::PandoraInterfaceHelper Class Reference
Inheritance diagram for lee::PandoraInterfaceHelper:
lee::HelperBase

Public Member Functions

void reconfigure (fhicl::ParameterSet const &pset)
 
void traversePFParticleTree (const art::ValidHandle< std::vector< recob::PFParticle >> pfparticles, size_t top_index, std::vector< size_t > &unordered_daugthers, std::string _pfp_producer)
 Travers the tree of the daughters of a PFParticle. More...
 
std::vector< double > calculateChargeCenter (size_t ipf, const art::ValidHandle< std::vector< recob::PFParticle >> pfparticles, const art::Event &evt, std::string _pfp_producer)
 Measures the three-dimensional center of the deposited charge for a PFParticle. More...
 
void get_daughter_tracks (std::vector< size_t > pf_ids, const art::Event &evt, std::vector< art::Ptr< recob::Track >> &tracks, std::string _pfp_producer)
 
void get_daughter_showers (std::vector< size_t > pf_ids, const art::Event &evt, std::vector< art::Ptr< recob::Shower >> &showers, std::string _pfp_producer)
 
void GetRecoToTrueMatches (lar_pandora::PFParticlesToMCParticles &matchedParticles)
 Configure function parameters. More...
 
void Configure (art::Event const &e, std::string _pfp_producer, std::string _spacepoint_producer, std::string _hitfinder_producer, std::string _geant_producer, std::string _hit_mcp_producer)
 
art::Ptr< simb::MCTruth > TrackIDToMCTruth (art::Event const &e, std::string _geant_producer, int geant_track_id)
 
void CollectMCParticles (const art::Event &evt, const std::string &label, lar_pandora::MCParticleVector &particleVector)
 Collect a vector of MCParticle objects from the ART event record. More...
 
void CollectMCParticles (const art::Event &evt, const std::string &label, lar_pandora::MCTruthToMCParticles &truthToParticles, lar_pandora::MCParticlesToMCTruth &particlesToTruth)
 Collect truth information from the ART event record. More...
 
- Public Member Functions inherited from lee::HelperBase
void setDebug (bool b)
 Sets the debug parameter. More...
 

Protected Attributes

lar_pandora::HitsToMCParticles _hit_to_mcps_map
 A map from recon hits to MCParticles.
 
lar_pandora::PFParticlesToHits _pfp_to_hits_map
 A map from PFParticles to recon hits.
 

Private Attributes

bool _configured = false
 
bool m_isOverlaidSample = false
 
bool _debug = false
 
bool _verbose = false
 

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