![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
ShowerLinearEnergy (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerElementHolder) override |
Private Member Functions | |
double | CalculateEnergy (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::Hit >> &hits, const geo::PlaneID::PlaneID_t plane) const |
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) |
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 | |
unsigned int | fNumPlanes |
std::vector< double > | fGradients |
std::vector< double > | fIntercepts |
art::InputTag | fPFParticleLabel |
int | fVerbose |
std::string | fShowerEnergyOutputLabel |
std::string | fShowerBestPlaneOutputLabel |
geo::WireReadoutGeom const & | fChannelMap = art::ServiceHandle<geo::WireReadout>()->Get() |
Definition at line 24 of file ShowerLinearEnergy_tool.cc.
ShowerRecoTools::ShowerLinearEnergy::ShowerLinearEnergy | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 55 of file ShowerLinearEnergy_tool.cc.
References fChannelMap, fGradients, fIntercepts, fNumPlanes, and geo::WireReadoutGeom::Nplanes().
|
inlinevirtualinherited |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, ShowerRecoTools::ShowerExampleTool, and ShowerRecoTools::ShowerSkeletonTool.
Definition at line 72 of file IShowerTool.h.
|
inlineprotectedinherited |
Definition at line 150 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::AddSingle().
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 73 of file ShowerLinearEnergy_tool.cc.
References CalculateEnergy(), util::end(), fChannelMap, fNumPlanes, fPFParticleLabel, fShowerBestPlaneOutputLabel, fShowerEnergyOutputLabel, reco::shower::ShowerElementHolder::GetFindManyP(), art::ProductRetriever::getValidHandle(), hits(), art::Ptr< T >::key(), geo::WireReadoutGeom::Nplanes(), and reco::shower::ShowerElementHolder::SetElement().
|
private |
Definition at line 150 of file ShowerLinearEnergy_tool.cc.
References DEFINE_ART_CLASS_TOOL, detinfo::DetectorPropertiesData::ElectronLifetime(), fGradients, fIntercepts, hits(), and detinfo::sampling_rate().
Referenced by CalculateElement().
|
inlineprotectedinherited |
Definition at line 80 of file IShowerTool.h.
Referenced by ShowerRecoTools::ShowerLengthPercentile::CalculateElement(), ShowerRecoTools::Shower3DCylinderTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerPCAPropergationStartPosition::CalculateElement(), ShowerRecoTools::Shower2DLinearRegressionTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerPFPVertexStartPosition::CalculateElement(), ShowerRecoTools::ShowerUnidirectiondEdx::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 100 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 156 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::GetVectorPtrSize().
Referenced by ShowerRecoTools::ShowerExampleTool::AddAssociations(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::AddAssociations(), and ShowerRecoTools::ShowerPCADirection::AddAssociations().
|
inlineinherited |
Definition at line 66 of file IShowerTool.h.
|
inlinevirtualinherited |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, and ShowerRecoTools::ShowerExampleTool.
Definition at line 60 of file IShowerTool.h.
|
inlineprotectedinherited |
Definition at line 135 of file IShowerTool.h.
References art::ProducesCollector::produces(), and reco::shower::ShowerProducedPtrsHolder::SetShowerUniqueProduerPtr().
|
inlineprotectedinherited |
Definition at line 160 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtr().
Referenced by ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inlineprotectedinherited |
Definition at line 158 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtrs().
Referenced by ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inlineinherited |
Definition at line 44 of file IShowerTool.h.
|
inlineinherited |
Definition at line 63 of file IShowerTool.h.
|
private |
Definition at line 52 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateElement(), and ShowerLinearEnergy().
|
private |
Definition at line 42 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateEnergy(), and ShowerLinearEnergy().
|
private |
Definition at line 43 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateEnergy(), and ShowerLinearEnergy().
|
private |
Definition at line 41 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateElement(), and ShowerLinearEnergy().
|
private |
Definition at line 45 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 49 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 48 of file ShowerLinearEnergy_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 46 of file ShowerLinearEnergy_tool.cc.