LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
ShowerPCADirection (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 |
recob::PCAxis | CalculateShowerPCA (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::SpacePoint >> &spacePoints_pfp, const art::FindManyP< recob::Hit > &fmh, geo::Point_t &ShowerCentre) |
geo::Vector_t | GetPCAxisVector (recob::PCAxis &PCAxis) |
Private Attributes | |
art::InputTag | fPFParticleLabel |
int | fVerbose |
unsigned int | fNSegments |
bool | fUseStartPosition |
bool | fChargeWeighted |
std::string | fShowerStartPositionInputLabel |
std::string | fShowerDirectionOutputLabel |
std::string | fShowerCentreOutputLabel |
std::string | fShowerPCAOutputLabel |
Definition at line 28 of file ShowerPCADirection_tool.cc.
ShowerRecoTools::ShowerPCADirection::ShowerPCADirection | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 71 of file ShowerPCADirection_tool.cc.
|
overrideprivatevirtual |
Reimplemented from ShowerRecoTools::IShowerTool.
Definition at line 272 of file ShowerPCADirection_tool.cc.
References reco::shower::ShowerElementHolder::CheckElement(), DEFINE_ART_CLASS_TOOL, fShowerPCAOutputLabel, 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 91 of file ShowerPCADirection_tool.cc.
References CalculateShowerPCA(), reco::shower::ShowerElementHolder::CheckElement(), fNSegments, fPFParticleLabel, fShowerCentreOutputLabel, fShowerDirectionOutputLabel, fShowerPCAOutputLabel, fShowerStartPositionInputLabel, fUseStartPosition, fVerbose, reco::shower::ShowerElementHolder::GetElement(), reco::shower::ShowerElementHolder::GetFindManyP(), ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg(), GetPCAxisVector(), art::ProductRetriever::getValidHandle(), art::Ptr< T >::key(), shower::LArPandoraShowerAlg::RMSShowerGradient(), and reco::shower::ShowerElementHolder::SetElement().
|
private |
Definition at line 177 of file ShowerPCADirection_tool.cc.
References detinfo::DetectorPropertiesData::ElectronLifetime(), fChargeWeighted, ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg(), detinfo::sampling_rate(), shower::LArPandoraShowerAlg::ShowerCentre(), shower::LArPandoraShowerAlg::SpacePointCharge(), shower::LArPandoraShowerAlg::SpacePointTime(), xx, and zz.
Referenced by CalculateElement().
|
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(), CalculateElement(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), 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().
|
private |
Definition at line 265 of file ShowerPCADirection_tool.cc.
References recob::PCAxis::getEigenVectors().
Referenced by CalculateElement().
|
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 ShowerRecoTools::ShowerExampleTool::AddAssociations(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::AddAssociations(), and AddAssociations().
|
inlineinherited |
Definition at line 68 of file IShowerTool.h.
|
overrideprivatevirtual |
Reimplemented from ShowerRecoTools::IShowerTool.
Definition at line 84 of file ShowerPCADirection_tool.cc.
References fShowerPCAOutputLabel.
|
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 ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inlineprotectedinherited |
Definition at line 160 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::PrintPtrs().
Referenced by ShowerRecoTools::ShowerExampleTool::CalculateElement().
|
inlineinherited |
Definition at line 46 of file IShowerTool.h.
|
inlineinherited |
Definition at line 65 of file IShowerTool.h.
|
private |
Definition at line 63 of file ShowerPCADirection_tool.cc.
Referenced by CalculateShowerPCA().
|
private |
Definition at line 60 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 57 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 67 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 66 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 68 of file ShowerPCADirection_tool.cc.
Referenced by AddAssociations(), CalculateElement(), and InitialiseProducers().
|
private |
Definition at line 65 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 61 of file ShowerPCADirection_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 58 of file ShowerPCADirection_tool.cc.
Referenced by AddAssociations(), and CalculateElement().