Public Member Functions | |
ShowerIncrementalTrackHitFinder (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
Public Member Functions inherited from ShowerRecoTools::IShowerTool | |
IShowerTool (const fhicl::ParameterSet &pset) | |
virtual | ~IShowerTool () noexcept=default |
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) |
Private Member Functions | |
std::vector< art::Ptr < recob::SpacePoint > > | RunIncrementalSpacePointFinder (const art::Event &Event, std::vector< art::Ptr< recob::SpacePoint >> const &sps, const art::FindManyP< recob::Hit > &fmh) |
void | PruneFrontOfSPSPool (std::vector< art::Ptr< recob::SpacePoint >> &sps_pool, std::vector< art::Ptr< recob::SpacePoint >> const &initial_track) |
void | PruneTrack (std::vector< art::Ptr< recob::SpacePoint >> &initial_track) |
void | AddSpacePointsToSegment (std::vector< art::Ptr< recob::SpacePoint >> &segment, std::vector< art::Ptr< recob::SpacePoint >> &sps_pool, size_t num_sps_to_take) |
bool | IsSegmentValid (std::vector< art::Ptr< recob::SpacePoint >> const &segment) |
bool | IncrementallyFitSegment (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::SpacePoint >> &segment, std::vector< art::Ptr< recob::SpacePoint >> &sps_pool, const art::FindManyP< recob::Hit > &fmh, double current_residual) |
double | FitSegmentAndCalculateResidual (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::SpacePoint >> &segment, const art::FindManyP< recob::Hit > &fmh) |
double | FitSegmentAndCalculateResidual (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::SpacePoint >> &segment, const art::FindManyP< recob::Hit > &fmh, int &max_residual_point) |
bool | RecursivelyReplaceLastSpacePointAndRefit (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::SpacePoint >> &segment, std::vector< art::Ptr< recob::SpacePoint >> &reduced_sps_pool, const art::FindManyP< recob::Hit > &fmh, double current_residual) |
bool | IsResidualOK (double new_residual, double current_residual) |
bool | IsResidualOK (double new_residual, double current_residual, size_t no_sps) |
bool | IsResidualOK (double residual, size_t no_sps) |
double | CalculateResidual (std::vector< art::Ptr< recob::SpacePoint >> &sps, TVector3 &PCAEigenvector, TVector3 &TrackPosition) |
double | CalculateResidual (std::vector< art::Ptr< recob::SpacePoint >> &sps, TVector3 &PCAEigenvector, TVector3 &TrackPosition, int &max_residual_point) |
TVector3 | ShowerPCAVector (std::vector< art::Ptr< recob::SpacePoint >> &sps) |
TVector3 | ShowerPCAVector (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::SpacePoint >> &sps, const art::FindManyP< recob::Hit > &fmh) |
std::vector< art::Ptr < recob::SpacePoint > > | CreateFakeShowerTrajectory (TVector3 start_position, TVector3 start_direction) |
std::vector< art::Ptr < recob::SpacePoint > > | CreateFakeSPLine (TVector3 start_position, TVector3 start_direction, int npoints) |
void | RunTestOfIncrementalSpacePointFinder (const art::Event &Event, const art::FindManyP< recob::Hit > &dud_fmh) |
void | MakeTrackSeed (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, std::vector< art::Ptr< recob::SpacePoint >> &segment, const art::FindManyP< recob::Hit > &fmh) |
Private Attributes | |
art::InputTag | fPFParticleLabel |
int | fVerbose |
bool | fUseShowerDirection |
bool | fChargeWeighted |
bool | fForwardHitsOnly |
float | fMaxResidualDiff |
float | fMaxAverageResidual |
int | fStartFitSize |
int | fNMissPoints |
float | fTrackMaxAdjacentSPDistance |
bool | fRunTest |
bool | fMakeTrackSeed |
float | fStartDistanceCut |
float | fDistanceCut |
std::string | fShowerStartPositionInputLabel |
std::string | fShowerDirectionInputLabel |
std::string | fInitialTrackHitsOutputLabel |
std::string | fInitialTrackSpacePointsOutputLabel |
Additional Inherited Members | |
Protected Member Functions inherited from ShowerRecoTools::IShowerTool | |
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) |
Definition at line 28 of file ShowerIncrementalTrackHitFinder_tool.cc.
ShowerRecoTools::ShowerIncrementalTrackHitFinder::ShowerIncrementalTrackHitFinder | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 149 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 551 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 181 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 721 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 743 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 772 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 815 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 642 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 668 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 575 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
inlineprivate |
Definition at line 82 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
inlineprivate |
Definition at line 87 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
inlineprivate |
Definition at line 93 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 565 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 406 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 514 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 532 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 695 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 444 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 835 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 310 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 345 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 132 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 142 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 133 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 145 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 146 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 140 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 135 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 134 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 137 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 129 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 139 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 144 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 143 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 141 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 136 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 138 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 131 of file ShowerIncrementalTrackHitFinder_tool.cc.
|
private |
Definition at line 130 of file ShowerIncrementalTrackHitFinder_tool.cc.