LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
ShowerExampleTool (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
int | RunShowerTool (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder, std::string evd_display_name_append="") |
void | SetPtr (art::ProducesCollector *collector) |
void | InitaliseProducerPtr (reco::shower::ShowerProducedPtrsHolder &uniqueproducerPtrs) |
Protected Member Functions | |
const shower::LArPandoraShowerAlg & | GetLArPandoraShowerAlg () const |
template<class T > | |
art::Ptr< T > | GetProducedElementPtr (std::string Name, reco::shower::ShowerElementHolder &ShowerEleHolder, int iter=-1) |
template<class T > | |
void | InitialiseProduct (std::string Name, std::string InstanceName="") |
template<class T , class A , class B > | |
void | AddSingle (A &a, B &b, std::string Name) |
int | GetVectorPtrSize (std::string Name) |
void | PrintPtrs () |
void | PrintPtr (std::string Name) |
Private Member Functions | |
void | InitialiseProducers () override |
int | AddAssociations (const art::Ptr< recob::PFParticle > &pfpPtr, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
Private Attributes | |
art::InputTag | fPFParticleLabel |
int | fVerbose |
Definition at line 18 of file ShowerExampleTool_tool.cc.
ShowerRecoTools::ShowerExampleTool::ShowerExampleTool | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 42 of file ShowerExampleTool_tool.cc.
|
overrideprivatevirtual |
Reimplemented from ShowerRecoTools::IShowerTool.
Definition at line 127 of file ShowerExampleTool_tool.cc.
References reco::shower::ShowerElementHolder::CheckElement(), DEFINE_ART_CLASS_TOOL, fVerbose, and ShowerRecoTools::IShowerTool::GetVectorPtrSize().
|
inlineprotectedinherited |
Definition at line 152 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::AddSingle().
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 58 of file ShowerExampleTool_tool.cc.
References reco::shower::ShowerElementHolder::CheckElement(), reco::shower::ShowerElementHolder::CheckElementTag(), art::fill_ptr_vector(), fPFParticleLabel, fVerbose, reco::shower::ShowerElementHolder::GetElement(), reco::shower::ShowerElementHolder::GetShowerNumber(), art::ProductRetriever::getValidHandle(), util::kBogusD, util::kBogusI, recob::Vertex::position(), reco::shower::ShowerElementHolder::PrintElements(), ShowerRecoTools::IShowerTool::PrintPtr(), ShowerRecoTools::IShowerTool::PrintPtrs(), reco::shower::ShowerElementHolder::SetElement(), and reco::shower::ShowerElementHolder::SetElementTag().
|
inlineprotectedinherited |
Definition at line 82 of file IShowerTool.h.
Referenced by ShowerRecoTools::ShowerLengthPercentile::CalculateElement(), ShowerRecoTools::ShowerUnidirectiondEdx::CalculateElement(), ShowerRecoTools::Shower3DCylinderTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerPCAPropergationStartPosition::CalculateElement(), ShowerRecoTools::Shower2DLinearRegressionTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerPFPVertexStartPosition::CalculateElement(), ShowerRecoTools::ShowerDirectionCheater::CalculateElement(), ShowerRecoTools::ShowerPCADirection::CalculateElement(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), ShowerRecoTools::ShowerPCADirection::CalculateShowerPCA(), ShowerRecoTools::Shower2DLinearRegressionTrackHitFinder::FindInitialTrackHits(), ShowerRecoTools::Shower3DCylinderTrackHitFinder::FindTrackSpacePoints(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::FitSegmentAndCalculateResidual(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::PruneFrontOfSPSPool(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::PruneTrack(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::RunTestOfIncrementalSpacePointFinder(), ShowerRecoTools::ShowerTrackPCADirection::ShowerPCAVector(), and ShowerRecoTools::ShowerIncrementalTrackHitFinder::ShowerPCAVector().
|
inlineprotectedinherited |
Definition at line 102 of file IShowerTool.h.
References reco::shower::ShowerElementHolder::CheckElement(), reco::shower::ShowerProducedPtrsHolder::CheckUniqueProduerPtr(), reco::shower::ShowerProducedPtrsHolder::GetArtPtr(), and reco::shower::ShowerElementHolder::GetShowerNumber().
|
inlineprotectedinherited |
Definition at line 158 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::GetVectorPtrSize().
Referenced by AddAssociations(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::AddAssociations(), and ShowerRecoTools::ShowerPCADirection::AddAssociations().
|
inlineinherited |
Definition at line 68 of file IShowerTool.h.
|
overrideprivatevirtual |
Reimplemented from ShowerRecoTools::IShowerTool.
Definition at line 49 of file ShowerExampleTool_tool.cc.
|
inlineprotectedinherited |
Definition at line 137 of file IShowerTool.h.
References art::ProducesCollector::produces(), and reco::shower::ShowerProducedPtrsHolder::SetShowerUniqueProduerPtr().
|
inlineprotectedinherited |
Definition at line 162 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtr().
Referenced by CalculateElement().
|
inlineprotectedinherited |
Definition at line 160 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtrs().
Referenced by CalculateElement().
|
inlineinherited |
Definition at line 46 of file IShowerTool.h.
|
inlineinherited |
Definition at line 65 of file IShowerTool.h.
|
private |
Definition at line 38 of file ShowerExampleTool_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 39 of file ShowerExampleTool_tool.cc.
Referenced by AddAssociations(), and CalculateElement().