CheatingPfoCreationAlgorithm class.
More...
#include "CheatingPfoCreationAlgorithm.h"
|
virtual StatusCode | Initialize () |
| Perform any operations that must occur after reading settings, but before running the process.
|
|
virtual StatusCode | Reset () |
| Perform any operations when pandora is reset, typically at the end of each event.
|
|
StatusCode | RegisterDetails (const Pandora *const pPandora, const std::string &type, const std::string &instanceName) |
| Register i) the pandora instance that will run the process and ii) the process type.
|
|
◆ HitTypeMap
◆ MCParticleToClusterListMap
◆ ParticleIdList
◆ CheatingPfoCreationAlgorithm()
lar_content::CheatingPfoCreationAlgorithm::CheatingPfoCreationAlgorithm |
( |
| ) |
|
◆ CreatePfos()
Create pfos corresponding to the details in a provided mc particle to cluster list map.
- Parameters
-
mcParticleToClusterListMap | the mc particle to cluster list map |
Definition at line 102 of file CheatingPfoCreationAlgorithm.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetMCParticleToClusterListMap()
Get a map relating mc particles to a list of daughter clusters.
- Parameters
-
pClusterList | address of a cluster list |
mcPrimaryMap | the mapping between mc particles and their parents |
mcParticleToClusterListMap | to receive the populated mc particle to cluster list map |
Definition at line 67 of file CheatingPfoCreationAlgorithm.cc.
◆ GetNHitTypesAboveThreshold()
unsigned int lar_content::CheatingPfoCreationAlgorithm::GetNHitTypesAboveThreshold |
( |
const pandora::ClusterList & |
clusterList, |
|
|
const unsigned int |
nHitsThreshold |
|
) |
| const |
|
private |
Get the number of hit types containing more than a specified number of hits.
- Parameters
-
clusterList | the cluster list, consider all hits in clusters in this list |
nHitsThreshold | the threshold number of hits of a specified hit type |
- Returns
- the number of good hit types
Definition at line 179 of file CheatingPfoCreationAlgorithm.cc.
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ IsShower()
bool lar_content::CheatingPfoCreationAlgorithm::IsShower |
( |
const pandora::MCParticle *const |
pMCParticle | ) |
const |
|
private |
Determine whether an input MCParticle is a shower-like particle.
- Parameters
-
pMCParticle | the input MCParticle |
- Returns
- whether an input MCParticle is a shower-like particle
Definition at line 210 of file CheatingPfoCreationAlgorithm.cc.
◆ IsTrack()
bool lar_content::CheatingPfoCreationAlgorithm::IsTrack |
( |
const pandora::MCParticle *const |
pMCParticle | ) |
const |
|
private |
Determine whether an input MCParticle is a track-like particle.
- Parameters
-
pMCParticle | the input MCParticle |
- Returns
- whether an input MCParticle is a track-like particle
Definition at line 201 of file CheatingPfoCreationAlgorithm.cc.
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::CheatingPfoCreationAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ m_addVertices
bool lar_content::CheatingPfoCreationAlgorithm::m_addVertices |
|
private |
◆ m_collapseToPrimaryMCParticles
bool lar_content::CheatingPfoCreationAlgorithm::m_collapseToPrimaryMCParticles |
|
private |
◆ m_inputClusterListNames
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_mcParticleListName
std::string lar_content::CheatingPfoCreationAlgorithm::m_mcParticleListName |
|
private |
◆ m_minGoodHitTypes
unsigned int lar_content::CheatingPfoCreationAlgorithm::m_minGoodHitTypes |
|
private |
◆ m_nHitsForGoodHitType
unsigned int lar_content::CheatingPfoCreationAlgorithm::m_nHitsForGoodHitType |
|
private |
◆ m_outputPfoListName
std::string lar_content::CheatingPfoCreationAlgorithm::m_outputPfoListName |
|
private |
◆ m_outputVertexListName
std::string lar_content::CheatingPfoCreationAlgorithm::m_outputVertexListName |
|
private |
◆ m_particleIdList
ParticleIdList lar_content::CheatingPfoCreationAlgorithm::m_particleIdList |
|
private |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_replaceCurrentVertexList
bool lar_content::CheatingPfoCreationAlgorithm::m_replaceCurrentVertexList |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
◆ m_useOnlyAvailableClusters
bool lar_content::CheatingPfoCreationAlgorithm::m_useOnlyAvailableClusters |
|
private |
The documentation for this class was generated from the following files: