LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
ShowerTrajPointdEdx (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
void | FinddEdxLength (std::vector< double > &dEdx_vec, std::vector< double > &dEdx_val) |
Private Member Functions | |
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 | |
art::ServiceHandle< geo::Geometry > | fGeom |
calo::CalorimetryAlg | fCalorimetryAlg |
float | fMinAngleToWire |
float | fShapingTime |
float | fMinDistCutOff |
float | fMaxDist |
float | MaxDist |
float | fdEdxTrackLength |
float | dEdxTrackLength |
float | fdEdxCut |
bool | fUseMedian |
bool | fCutStartPosition |
bool | fT0Correct |
bool | fSCECorrectPitch |
bool | fSCECorrectEField |
bool | fSCEInputCorrected |
bool | fSumHitSnippets |
art::InputTag | fPFParticleLabel |
int | fVerbose |
std::string | fShowerStartPositionInputLabel |
std::string | fInitialTrackHitsInputLabel |
std::string | fInitialTrackSpacePointsInputLabel |
std::string | fInitialTrackInputLabel |
std::string | fShowerdEdxOutputLabel |
std::string | fShowerBestPlaneOutputLabel |
std::string | fShowerdEdxVecOutputLabel |
Definition at line 32 of file ShowerTrajPointdEdx_tool.cc.
ShowerRecoTools::ShowerTrajPointdEdx::ShowerTrajPointdEdx | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 87 of file ShowerTrajPointdEdx_tool.cc.
References fSCECorrectEField, fSCECorrectPitch, and fSCEInputCorrected.
|
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 119 of file ShowerTrajPointdEdx_tool.cc.
References util::abs(), geo::TPCID::asTPCID(), reco::shower::ShowerElementHolder::CheckElement(), tca::dEdx(), calo::CalorimetryAlg::dEdx_AREA(), dEdxTrackLength, recob::Track::DirectionAtPoint(), larg4::dist(), fCalorimetryAlg, fCutStartPosition, fdEdxTrackLength, fGeom, FinddEdxLength(), geo::GeometryCore::FindTPCAtPosition(), fInitialTrackHitsInputLabel, fInitialTrackInputLabel, fInitialTrackSpacePointsInputLabel, recob::Track::FlagsAtPoint(), fMaxDist, fMinAngleToWire, fMinDistCutOff, fPFParticleLabel, fSCECorrectEField, fSCECorrectPitch, fShapingTime, fShowerBestPlaneOutputLabel, fShowerdEdxOutputLabel, fShowerdEdxVecOutputLabel, fShowerStartPositionInputLabel, fSumHitSnippets, fT0Correct, fUseMedian, fVerbose, reco::shower::ShowerElementHolder::GetElement(), reco::shower::ShowerElementHolder::GetFindManyP(), geo::PlaneGeo::GetIncreasingWireDirection(), ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg(), art::ProductRetriever::getValidHandle(), hits(), recob::Hit::Integral(), geo::GeometryCore::Iterate(), art::Ptr< T >::key(), recob::Track::LocationAtPoint(), MaxDist, geo::GeometryCore::MaxPlanes(), recob::TrajectoryPointFlagTraits::NoPoint, recob::Track::NumberTrajectoryPoints(), shower::LArPandoraShowerAlg::OrganizeHits(), recob::Hit::PeakTime(), geo::PlaneID::Plane, geo::GeometryCore::Plane(), shower::LArPandoraShowerAlg::SCECorrectEField(), shower::LArPandoraShowerAlg::SCECorrectPitch(), reco::shower::ShowerElementHolder::SetElement(), geo::TPCID::TPC, recob::Hit::WireID(), and geo::GeometryCore::WirePitch().
void ShowerRecoTools::ShowerTrajPointdEdx::FinddEdxLength | ( | std::vector< double > & | dEdx_vec, |
std::vector< double > & | dEdx_val | ||
) |
Definition at line 400 of file ShowerTrajPointdEdx_tool.cc.
References tca::dEdx(), DEFINE_ART_CLASS_TOOL, fdEdxCut, and fVerbose.
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(), ShowerRecoTools::ShowerPCADirection::CalculateElement(), ShowerRecoTools::ShowerIncrementalTrackHitFinder::CalculateElement(), 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 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 59 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 47 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 64 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 62 of file ShowerTrajPointdEdx_tool.cc.
Referenced by FinddEdxLength().
|
private |
Definition at line 59 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 46 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 79 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 81 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 80 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 57 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 50 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 55 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 75 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 69 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement(), and ShowerTrajPointdEdx().
|
private |
Definition at line 67 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement(), and ShowerTrajPointdEdx().
|
private |
Definition at line 71 of file ShowerTrajPointdEdx_tool.cc.
Referenced by ShowerTrajPointdEdx().
|
private |
Definition at line 53 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 83 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 82 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 84 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 78 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 73 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 66 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 63 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().
|
private |
Definition at line 76 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement(), and FinddEdxLength().
|
private |
Definition at line 57 of file ShowerTrajPointdEdx_tool.cc.
Referenced by CalculateElement().