LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "IShowerTool.h"
Public Member Functions | |
IShowerTool (const fhicl::ParameterSet &pset) | |
virtual | ~IShowerTool () noexcept=default |
virtual int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder)=0 |
int | RunShowerTool (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder, std::string evd_display_name_append="") |
virtual void | InitialiseProducers () |
void | SetPtr (art::ProducesCollector *collector) |
void | InitaliseProducerPtr (reco::shower::ShowerProducedPtrsHolder &uniqueproducerPtrs) |
virtual int | AddAssociations (const art::Ptr< recob::PFParticle > &pfpPtr, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) |
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 Attributes | |
reco::shower::ShowerProducedPtrsHolder * | UniquePtrs |
shower::LArPandoraShowerAlg | fLArPandoraShowerAlg |
bool | fRunEventDisplay |
art::ProducesCollector * | collectorPtr |
Definition at line 30 of file IShowerTool.h.
|
inline |
Definition at line 33 of file IShowerTool.h.
|
virtualdefaultnoexcept |
|
inlinevirtual |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, ShowerRecoTools::ShowerExampleTool, and ShowerRecoTools::ShowerSkeletonTool.
Definition at line 74 of file IShowerTool.h.
|
inlineprotected |
Definition at line 152 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::AddSingle().
|
pure virtual |
Implemented in ShowerRecoTools::ShowerTrajPointdEdx, ShowerRecoTools::ShowerIncrementalTrackHitFinder, ShowerRecoTools::ShowerNumElectronsEnergy, ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerBayesianTrucatingdEdx, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, ShowerRecoTools::ShowerTrackPCADirection, ShowerRecoTools::ShowerDirectionCheater, ShowerRecoTools::ShowerTrackColinearTrajPointDirection, ShowerRecoTools::Shower2DLinearRegressionTrackHitFinder, ShowerRecoTools::ShowerLinearEnergy, ShowerRecoTools::ShowerPFPVertexStartPosition, ShowerRecoTools::ShowerPCAPropergationStartPosition, ShowerRecoTools::ShowerStartPositionCheater, ShowerRecoTools::ShowerTrackFinderCheater, ShowerRecoTools::Shower3DCylinderTrackHitFinder, ShowerRecoTools::ShowerTrackHitDirection, ShowerRecoTools::ShowerUnidirectiondEdx, ShowerRecoTools::ShowerTrackSpacePointDirection, ShowerRecoTools::ShowerTrackTrajToSpacePoint, ShowerRecoTools::ShowerDirectionTopologyDecisionTool, ShowerRecoTools::ShowerLengthPercentile, ShowerRecoTools::ShowerTrackDirection, ShowerRecoTools::ShowerTrackTrajPointDirection, ShowerRecoTools::ShowerExampleTool, ShowerRecoTools::ShowerPCAEigenvalueLength, ShowerRecoTools::ShowerTrackStartPosition, and ShowerRecoTools::ShowerSkeletonTool.
|
inlineprotected |
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().
|
inlineprotected |
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().
|
inlineprotected |
Definition at line 158 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::GetVectorPtrSize().
Referenced by ShowerRecoTools::ShowerExampleTool::AddAssociations(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::AddAssociations(), and ShowerRecoTools::ShowerPCADirection::AddAssociations().
|
inline |
Definition at line 68 of file IShowerTool.h.
|
inlinevirtual |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, and ShowerRecoTools::ShowerExampleTool.
Definition at line 62 of file IShowerTool.h.
|
inlineprotected |
Definition at line 137 of file IShowerTool.h.
References art::ProducesCollector::produces(), and reco::shower::ShowerProducedPtrsHolder::SetShowerUniqueProduerPtr().
|
inlineprotected |
Definition at line 162 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtr().
Referenced by ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inlineprotected |
Definition at line 160 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtrs().
Referenced by ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inline |
Definition at line 46 of file IShowerTool.h.
|
inline |
Definition at line 65 of file IShowerTool.h.
|
private |
Definition at line 97 of file IShowerTool.h.
|
private |
Definition at line 92 of file IShowerTool.h.
|
private |
Definition at line 95 of file IShowerTool.h.
|
private |
Definition at line 85 of file IShowerTool.h.