LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
Shower2DLinearRegressionTrackHitFinder (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
Private Member Functions | |
std::vector< art::Ptr< recob::Hit > > | FindInitialTrackHits (const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::Hit >> &hits) |
Int_t | WeightedFit (const Int_t n, const Double_t *x, const Double_t *y, const Double_t *w, Double_t *parm) |
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 | fNfitpass |
std::vector< unsigned int > | fNfithits |
std::vector< double > | fToler |
bool | fApplyChargeWeight |
art::InputTag | fPFParticleLabel |
int | fVerbose |
art::InputTag | fHitLabel |
std::string | fShowerStartPositionInputLabel |
std::string | fShowerDirectionInputLabel |
std::string | fInitialTrackHitsOutputLabel |
std::string | fInitialTrackSpacePointsOutputLabel |
Definition at line 24 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
ShowerRecoTools::Shower2DLinearRegressionTrackHitFinder::Shower2DLinearRegressionTrackHitFinder | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 63 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
References art::errors::Configuration, fNfithits, fNfitpass, and fToler.
|
inlinevirtualinherited |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, ShowerRecoTools::ShowerExampleTool, and ShowerRecoTools::ShowerSkeletonTool.
Definition at line 74 of file IShowerTool.h.
|
inlineprotectedinherited |
Definition at line 152 of file IShowerTool.h.
References reco::shower::ShowerProducedPtrsHolder::AddSingle().
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 86 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
References geo::PlaneID::asPlaneID(), reco::shower::ShowerElementHolder::CheckElement(), fHitLabel, FindInitialTrackHits(), fInitialTrackHitsOutputLabel, fInitialTrackSpacePointsOutputLabel, fPFParticleLabel, fShowerDirectionInputLabel, fShowerStartPositionInputLabel, fVerbose, reco::shower::ShowerElementHolder::GetElement(), reco::shower::ShowerElementHolder::GetFindManyP(), ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg(), art::ProductRetriever::getValidHandle(), hits(), art::Ptr< T >::key(), shower::LArPandoraShowerAlg::OrderShowerHits(), and reco::shower::ShowerElementHolder::SetElement().
|
private |
Definition at line 196 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
References util::abs(), geo::vect::coord(), fApplyChargeWeight, fNfithits, fNfitpass, fToler, ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg(), shower::LArPandoraShowerAlg::HitCoordinates(), hits(), and WeightedFit().
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(), CalculateElement(), ShowerRecoTools::ShowerPFPVertexStartPosition::CalculateElement(), ShowerRecoTools::ShowerDirectionCheater::CalculateElement(), ShowerRecoTools::ShowerPCADirection::CalculateElement(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::CalculateElement(), ShowerRecoTools::ShowerTrajPointdEdx::CalculateElement(), ShowerRecoTools::ShowerPCADirection::CalculateShowerPCA(), 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 ShowerRecoTools::ShowerExampleTool::AddAssociations(), ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder::AddAssociations(), and ShowerRecoTools::ShowerPCADirection::AddAssociations().
|
inlineinherited |
Definition at line 68 of file IShowerTool.h.
|
inlinevirtualinherited |
Reimplemented in ShowerRecoTools::ShowerPCADirection, ShowerRecoTools::ShowerPandoraSlidingFitTrackFinder, and ShowerRecoTools::ShowerExampleTool.
Definition at line 62 of file IShowerTool.h.
|
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 248 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
References DEFINE_ART_CLASS_TOOL, and n.
Referenced by FindInitialTrackHits().
|
private |
Definition at line 53 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by FindInitialTrackHits().
|
private |
Definition at line 56 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 59 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 60 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 49 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by FindInitialTrackHits(), and Shower2DLinearRegressionTrackHitFinder().
|
private |
Definition at line 47 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by FindInitialTrackHits(), and Shower2DLinearRegressionTrackHitFinder().
|
private |
Definition at line 54 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 58 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 57 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 50 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by FindInitialTrackHits(), and Shower2DLinearRegressionTrackHitFinder().
|
private |
Definition at line 55 of file Shower2DLinearRegressionTrackHitFinder_tool.cc.
Referenced by CalculateElement().