Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
ShowerRecoTools::ShowerPCADirection Class Reference
Inheritance diagram for ShowerRecoTools::ShowerPCADirection:
Collaboration diagram for ShowerRecoTools::ShowerPCADirection:

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::LArPandoraShowerAlgGetLArPandoraShowerAlg () 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
 
reco::shower::ShowerProducedPtrsHolderUniquePtrs
 
shower::LArPandoraShowerAlg fLArPandoraShowerAlg
 
bool fRunEventDisplay
 
art::ProducesCollector * collectorPtr
 

Detailed Description

Definition at line 28 of file ShowerPCADirection_tool.cc.

Constructor & Destructor Documentation

◆ ShowerPCADirection()

ShowerRecoTools::ShowerPCADirection::ShowerPCADirection ( const fhicl::ParameterSet &  pset)

Definition at line 71 of file ShowerPCADirection_tool.cc.

Member Function Documentation

◆ AddAssociations()

int ShowerRecoTools::ShowerPCADirection::AddAssociations ( const art::Ptr< recob::PFParticle > &  pfpPtr,
art::Event &  Event,
reco::shower::ShowerElementHolder ShowerEleHolder 
)
overrideprivatevirtual

Reimplemented from ShowerRecoTools::IShowerTool.

Definition at line 272 of file ShowerPCADirection_tool.cc.

Here is the call graph for this function:

◆ AddSingle()

template<class T , class A , class B >
void ShowerRecoTools::IShowerTool::AddSingle ( A &  a,
B &  b,
std::string  Name 
)
inlineprotectedinherited

Definition at line 152 of file IShowerTool.h.

Here is the call graph for this function:

◆ CalculateElement()

int ShowerRecoTools::ShowerPCADirection::CalculateElement ( const art::Ptr< recob::PFParticle > &  pfparticle,
art::Event &  Event,
reco::shower::ShowerElementHolder ShowerEleHolder 
)
overridevirtual

Implements ShowerRecoTools::IShowerTool.

Definition at line 91 of file ShowerPCADirection_tool.cc.

Here is the call graph for this function:

◆ CalculateShowerPCA()

recob::PCAxis ShowerRecoTools::ShowerPCADirection::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 
)
private

Definition at line 177 of file ShowerPCADirection_tool.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLArPandoraShowerAlg()

const shower::LArPandoraShowerAlg & ShowerRecoTools::IShowerTool::GetLArPandoraShowerAlg ( ) const
inlineprotectedinherited

Definition at line 82 of file IShowerTool.h.

Here is the caller graph for this function:

◆ GetPCAxisVector()

geo::Vector_t ShowerRecoTools::ShowerPCADirection::GetPCAxisVector ( recob::PCAxis &  PCAxis)
private

Definition at line 265 of file ShowerPCADirection_tool.cc.

Here is the caller graph for this function:

◆ GetProducedElementPtr()

template<class T >
art::Ptr< T > ShowerRecoTools::IShowerTool::GetProducedElementPtr ( std::string  Name,
reco::shower::ShowerElementHolder ShowerEleHolder,
int  iter = -1 
)
inlineprotectedinherited

Definition at line 102 of file IShowerTool.h.

Here is the call graph for this function:

◆ GetVectorPtrSize()

int ShowerRecoTools::IShowerTool::GetVectorPtrSize ( std::string  Name)
inlineprotectedinherited

Definition at line 158 of file IShowerTool.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitaliseProducerPtr()

void ShowerRecoTools::IShowerTool::InitaliseProducerPtr ( reco::shower::ShowerProducedPtrsHolder uniqueproducerPtrs)
inlineinherited

Definition at line 68 of file IShowerTool.h.

◆ InitialiseProducers()

void ShowerRecoTools::ShowerPCADirection::InitialiseProducers ( )
overrideprivatevirtual

Reimplemented from ShowerRecoTools::IShowerTool.

Definition at line 84 of file ShowerPCADirection_tool.cc.

◆ InitialiseProduct()

template<class T >
void ShowerRecoTools::IShowerTool::InitialiseProduct ( std::string  Name,
std::string  InstanceName = "" 
)
inlineprotectedinherited

Definition at line 137 of file IShowerTool.h.

Here is the call graph for this function:

◆ PrintPtr()

void ShowerRecoTools::IShowerTool::PrintPtr ( std::string  Name)
inlineprotectedinherited

Definition at line 162 of file IShowerTool.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PrintPtrs()

void ShowerRecoTools::IShowerTool::PrintPtrs ( )
inlineprotectedinherited

Definition at line 160 of file IShowerTool.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RunShowerTool()

int ShowerRecoTools::IShowerTool::RunShowerTool ( const art::Ptr< recob::PFParticle > &  pfparticle,
art::Event &  Event,
reco::shower::ShowerElementHolder ShowerEleHolder,
std::string  evd_display_name_append = "" 
)
inlineinherited

Definition at line 46 of file IShowerTool.h.

Here is the call graph for this function:

◆ SetPtr()

void ShowerRecoTools::IShowerTool::SetPtr ( art::ProducesCollector *  collector)
inlineinherited

Definition at line 65 of file IShowerTool.h.

Member Data Documentation

◆ collectorPtr

art::ProducesCollector* ShowerRecoTools::IShowerTool::collectorPtr
privateinherited

Definition at line 97 of file IShowerTool.h.

◆ fChargeWeighted

bool ShowerRecoTools::ShowerPCADirection::fChargeWeighted
private

Definition at line 63 of file ShowerPCADirection_tool.cc.

◆ fLArPandoraShowerAlg

shower::LArPandoraShowerAlg ShowerRecoTools::IShowerTool::fLArPandoraShowerAlg
privateinherited

Definition at line 92 of file IShowerTool.h.

◆ fNSegments

unsigned int ShowerRecoTools::ShowerPCADirection::fNSegments
private

Definition at line 60 of file ShowerPCADirection_tool.cc.

◆ fPFParticleLabel

art::InputTag ShowerRecoTools::ShowerPCADirection::fPFParticleLabel
private

Definition at line 57 of file ShowerPCADirection_tool.cc.

◆ fRunEventDisplay

bool ShowerRecoTools::IShowerTool::fRunEventDisplay
privateinherited

Definition at line 95 of file IShowerTool.h.

◆ fShowerCentreOutputLabel

std::string ShowerRecoTools::ShowerPCADirection::fShowerCentreOutputLabel
private

Definition at line 67 of file ShowerPCADirection_tool.cc.

◆ fShowerDirectionOutputLabel

std::string ShowerRecoTools::ShowerPCADirection::fShowerDirectionOutputLabel
private

Definition at line 66 of file ShowerPCADirection_tool.cc.

◆ fShowerPCAOutputLabel

std::string ShowerRecoTools::ShowerPCADirection::fShowerPCAOutputLabel
private

Definition at line 68 of file ShowerPCADirection_tool.cc.

◆ fShowerStartPositionInputLabel

std::string ShowerRecoTools::ShowerPCADirection::fShowerStartPositionInputLabel
private

Definition at line 65 of file ShowerPCADirection_tool.cc.

◆ fUseStartPosition

bool ShowerRecoTools::ShowerPCADirection::fUseStartPosition
private

Definition at line 61 of file ShowerPCADirection_tool.cc.

◆ fVerbose

int ShowerRecoTools::ShowerPCADirection::fVerbose
private

Definition at line 58 of file ShowerPCADirection_tool.cc.

◆ UniquePtrs

reco::shower::ShowerProducedPtrsHolder* ShowerRecoTools::IShowerTool::UniquePtrs
privateinherited

Definition at line 89 of file IShowerTool.h.


The documentation for this class was generated from the following file: