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

Public Member Functions

 ShowerLinearEnergy (const fhicl::ParameterSet &pset)
 
int CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerElementHolder) override
 

Private Member Functions

double CalculateEnergy (const detinfo::DetectorClocksData &clockData, const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::Hit > > &hits, const geo::PlaneID::PlaneID_t plane) const
 
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::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 Attributes

unsigned int fNumPlanes
 
std::vector< double > fGradients
 
std::vector< double > fIntercepts
 
art::InputTag fPFParticleLabel
 
int fVerbose
 
std::string fShowerEnergyOutputLabel
 
std::string fShowerBestPlaneOutputLabel
 
art::ServiceHandle< geo::Geometry > fGeom
 
reco::shower::ShowerProducedPtrsHolderUniquePtrs
 
shower::LArPandoraShowerAlg fLArPandoraShowerAlg
 
bool fRunEventDisplay
 
art::ProducesCollector * collectorPtr
 

Detailed Description

Definition at line 23 of file ShowerLinearEnergy_tool.cc.

Constructor & Destructor Documentation

◆ ShowerLinearEnergy()

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

Definition at line 54 of file ShowerLinearEnergy_tool.cc.

Member Function Documentation

◆ AddAssociations()

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

◆ 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::ShowerLinearEnergy::CalculateElement ( const art::Ptr< recob::PFParticle > &  pfparticle,
art::Event &  Event,
reco::shower::ShowerElementHolder ShowerElementHolder 
)
overridevirtual

Implements ShowerRecoTools::IShowerTool.

Definition at line 72 of file ShowerLinearEnergy_tool.cc.

Here is the call graph for this function:

◆ CalculateEnergy()

double ShowerRecoTools::ShowerLinearEnergy::CalculateEnergy ( const detinfo::DetectorClocksData &  clockData,
const detinfo::DetectorPropertiesData &  detProp,
const std::vector< art::Ptr< recob::Hit > > &  hits,
const geo::PlaneID::PlaneID_t  plane 
) const
private

Definition at line 149 of file ShowerLinearEnergy_tool.cc.

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:

◆ 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()

virtual void ShowerRecoTools::IShowerTool::InitialiseProducers ( )
inlinevirtualinherited

◆ 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.

◆ fGeom

art::ServiceHandle<geo::Geometry> ShowerRecoTools::ShowerLinearEnergy::fGeom
private

Definition at line 51 of file ShowerLinearEnergy_tool.cc.

◆ fGradients

std::vector<double> ShowerRecoTools::ShowerLinearEnergy::fGradients
private

Definition at line 41 of file ShowerLinearEnergy_tool.cc.

◆ fIntercepts

std::vector<double> ShowerRecoTools::ShowerLinearEnergy::fIntercepts
private

Definition at line 42 of file ShowerLinearEnergy_tool.cc.

◆ fLArPandoraShowerAlg

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

Definition at line 92 of file IShowerTool.h.

◆ fNumPlanes

unsigned int ShowerRecoTools::ShowerLinearEnergy::fNumPlanes
private

Definition at line 40 of file ShowerLinearEnergy_tool.cc.

◆ fPFParticleLabel

art::InputTag ShowerRecoTools::ShowerLinearEnergy::fPFParticleLabel
private

Definition at line 44 of file ShowerLinearEnergy_tool.cc.

◆ fRunEventDisplay

bool ShowerRecoTools::IShowerTool::fRunEventDisplay
privateinherited

Definition at line 95 of file IShowerTool.h.

◆ fShowerBestPlaneOutputLabel

std::string ShowerRecoTools::ShowerLinearEnergy::fShowerBestPlaneOutputLabel
private

Definition at line 48 of file ShowerLinearEnergy_tool.cc.

◆ fShowerEnergyOutputLabel

std::string ShowerRecoTools::ShowerLinearEnergy::fShowerEnergyOutputLabel
private

Definition at line 47 of file ShowerLinearEnergy_tool.cc.

◆ fVerbose

int ShowerRecoTools::ShowerLinearEnergy::fVerbose
private

Definition at line 45 of file ShowerLinearEnergy_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: