CheatingClusterCreationAlgorithm class.
More...
#include "CheatingClusterCreationAlgorithm.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.
|
|
◆ MCParticleToHitListMap
◆ CheatingClusterCreationAlgorithm()
lar_content::CheatingClusterCreationAlgorithm::CheatingClusterCreationAlgorithm |
( |
| ) |
|
◆ CreateClusters()
void lar_content::CheatingClusterCreationAlgorithm::CreateClusters |
( |
const MCParticleToHitListMap & |
mcParticleToHitListMap | ) |
const |
|
private |
Create clusters based on information in the mc particle to hit list map.
- Parameters
-
mcParticleToHitListMap | the mc particle to hit list map |
Definition at line 106 of file CheatingClusterCreationAlgorithm.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.
◆ GetMCParticleToHitListMap()
void lar_content::CheatingClusterCreationAlgorithm::GetMCParticleToHitListMap |
( |
MCParticleToHitListMap & |
mcParticleToHitListMap | ) |
const |
|
private |
Create map between each (primary) MC particle and associated calo hits.
- Parameters
-
mcParticleToHitListMap | to receive the mc particle to hit list map |
Definition at line 35 of file CheatingClusterCreationAlgorithm.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 |
◆ 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::CheatingClusterCreationAlgorithm::Run |
( |
| ) |
|
|
privatevirtual |
◆ SelectMCParticlesForClustering()
bool lar_content::CheatingClusterCreationAlgorithm::SelectMCParticlesForClustering |
( |
const pandora::MCParticle *const |
pMCParticle | ) |
const |
|
private |
Check whether mc particle is of a type specified for inclusion in cheated clustering.
- Parameters
-
pMCParticle | the mc particle to hit list map |
- Returns
- boolean
Definition at line 90 of file CheatingClusterCreationAlgorithm.cc.
◆ SimpleMCParticleCollection()
Simple mc particle collection, using main mc particle associated with each calo hit.
- Parameters
-
pCaloHit | address of the calo hit |
mcPrimaryMap | the mapping between mc particles and their parents |
mcParticleToHitListMap | the mc particle to hit list map |
Definition at line 67 of file CheatingClusterCreationAlgorithm.cc.
◆ m_collapseToPrimaryMCParticles
bool lar_content::CheatingClusterCreationAlgorithm::m_collapseToPrimaryMCParticles |
|
private |
◆ 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::CheatingClusterCreationAlgorithm::m_mcParticleListName |
|
private |
◆ m_particleIdList
◆ 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_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: