Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::CaloHitManager Class Reference

CaloHitManager class. More...

#include "CaloHitManager.h"

Inheritance diagram for pandora::CaloHitManager:
Collaboration diagram for pandora::CaloHitManager:

Public Member Functions

 CaloHitManager (const Pandora *const pPandora)
 Constructor.
 
 ~CaloHitManager ()
 Destructor.
 
template<>
bool IsAvailable (const CaloHit *const pCaloHit) const
 
template<>
bool IsAvailable (const CaloHitList *const pCaloHitList) const
 
template<>
StatusCode SetAvailability (const CaloHit *const pCaloHit, bool isAvailable)
 
template<>
StatusCode SetAvailability (const CaloHitList *const pCaloHitList, bool isAvailable)
 

Protected Types

typedef Manager< CaloHit >::ObjectList ObjectList
 
typedef std::map< std::string, ObjectList * > NameToListMap
 
typedef std::unordered_map< const Algorithm *, AlgorithmInfoAlgorithmInfoMap
 

Protected Member Functions

virtual StatusCode CreateInputList ()
 Create the input list (accessible to algorithms), using objects created by client application.
 
virtual StatusCode CreateTemporaryListAndSetCurrent (const Algorithm *const pAlgorithm, const ObjectList &objectList, std::string &temporaryListName)
 Change the current list to a specified temporary list.
 
virtual StatusCode CreateTemporaryListAndSetCurrent (const Algorithm *const pAlgorithm, std::string &temporaryListName)
 Create a temporary list associated with a particular algorithm.
 
virtual StatusCode SaveList (const std::string &listName, const ObjectList &objectList)
 Save a list of objects in a list with a specified name; create new list if required.
 
virtual StatusCode AddObjectsToList (const std::string &listName, const ObjectList &objectList)
 Add objects to a saved list with a specified name.
 
virtual StatusCode RemoveObjectsFromList (const std::string &listName, const ObjectList &objectList)
 Remove objects from a saved list.
 
virtual StatusCode RenameList (const std::string &oldListName, const std::string &newListName)
 Rename a saved list, altering its saved name from a specified old list name to a specified new list name.
 
virtual StatusCode CreateInitialLists ()
 Create initial lists.
 
virtual StatusCode GetList (const std::string &listName, const ObjectList *&pObjectList) const
 Get a list.
 
virtual StatusCode GetCurrentList (const ObjectList *&pObjectList, std::string &listName) const
 Get the current list.
 
virtual StatusCode GetCurrentListName (std::string &listName) const
 Get the current list name.
 
virtual StatusCode GetAlgorithmInputList (const Algorithm *const pAlgorithm, const ObjectList *&pObjectList, std::string &listName) const
 Get the algorithm input list.
 
virtual StatusCode GetAlgorithmInputListName (const Algorithm *const pAlgorithm, std::string &listName) const
 Get the algorithm track list name.
 
virtual StatusCode ResetCurrentListToAlgorithmInputList (const Algorithm *const pAlgorithm)
 Reset the current list to the algorithm input list.
 
virtual StatusCode ReplaceCurrentAndAlgorithmInputLists (const Algorithm *const pAlgorithm, const std::string &listName)
 Replace the current and algorithm input lists with a pre-existing list.
 
virtual StatusCode DropCurrentList (const Algorithm *const pAlgorithm)
 Drop the current list, returning the current list to its default empty/null state.
 
virtual StatusCode RegisterAlgorithm (const Algorithm *const pAlgorithm)
 Register an algorithm with the manager.
 
virtual StatusCode ResetAlgorithmInfo (const Algorithm *const pAlgorithm, bool isAlgorithmFinished)
 Remove temporary lists and reset the current list to that when algorithm was initialized.
 
virtual StatusCode ResetForNextEvent ()
 Reset the manager.
 
virtual T * Modifiable (const T *const pT) const
 Access a modifiable object, when provided with address to const object.
 

Protected Attributes

const std::string m_inputListName
 The name of the input list.
 
const std::string m_nullListName
 The name of the default empty (NULL) list.
 
const Pandora *const m_pPandora
 The associated pandora object.
 
NameToListMap m_nameToListMap
 The name to list map.
 
AlgorithmInfoMap m_algorithmInfoMap
 The algorithm info map.
 
std::string m_currentListName
 The name of the current list.
 
StringSet m_savedLists
 The set of saved lists.
 

Private Member Functions

StatusCode Create (const object_creation::CaloHit::Parameters &parameters, const CaloHit *&pCaloHit, const ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > &factory)
 Create calo hit.
 
StatusCode AlterMetadata (const CaloHit *const pCaloHit, const object_creation::CaloHit::Metadata &metadata) const
 Alter the metadata information stored in a calo hit.
 
template<typename T >
bool IsAvailable (const T *const pT) const
 Is a calo hit, or a list of calo hits, available to add to a cluster.
 
template<typename T >
StatusCode SetAvailability (const T *const pT, bool isAvailable)
 Set availability of a calo hit, or a list of calo hits, to be added to a cluster.
 
StatusCode CreateTemporaryListAndSetCurrent (const Algorithm *const pAlgorithm, const ClusterList &clusterList, std::string &temporaryListName)
 Change the current calo hit list to the constituent hits of a cluster list.
 
StatusCode EraseAllContent ()
 Erase all calo hit manager content.
 
StatusCode MatchCaloHitsToMCPfoTargets (const UidToMCParticleWeightMap &caloHitToPfoTargetsMap)
 Match calo hits to their correct mc particles for particle flow.
 
StatusCode RemoveAllMCParticleRelationships ()
 Remove all mc particle associations that have been registered with calo hits.
 
StatusCode FragmentCaloHit (const CaloHit *const pOriginalCaloHit, const float fraction1, const CaloHit *&pDaughterCaloHit1, const CaloHit *&pDaughterCaloHit2, const ObjectFactory< object_creation::CaloHitFragment::Parameters, object_creation::CaloHitFragment::Object > &factory)
 Fragment a calo hit into two daughter calo hits, with a specified energy division.
 
StatusCode MergeCaloHitFragments (const CaloHit *const pFragmentCaloHit1, const CaloHit *const pFragmentCaloHit2, const CaloHit *&pMergedCaloHit, const ObjectFactory< object_creation::CaloHitFragment::Parameters, object_creation::CaloHitFragment::Object > &factory)
 Merge two calo hit fragments, originally from the same parent hit, to form a new calo hit.
 
bool CanFragmentCaloHit (const CaloHit *const pOriginalCaloHit, const float fraction1) const
 Whether a calo hit can be fragmented into two daughter calo hits with the specified energy division.
 
bool CanMergeCaloHitFragments (const CaloHit *const pFragmentCaloHit1, const CaloHit *const pFragmentCaloHit2) const
 Whether two candidate calo hit fragments can be merged.
 
StatusCode InitializeReclustering (const Algorithm *const pAlgorithm, const ClusterList &clusterList, const std::string &originalReclusterListName)
 Initialize reclustering operations, preparing lists and metadata accordingly.
 
StatusCode PrepareForClustering (const Algorithm *const pAlgorithm, const std::string &newReclusterListName)
 Prepare metadata to allow for construction of new recluster candidates.
 
StatusCode EndReclustering (const Algorithm *const pAlgorithm, const std::string &selectedReclusterListName)
 End reclustering operations and update calo hit lists accordingly.
 
StatusCode Update (const CaloHitMetadata &caloHitMetadata)
 Update all calo hit lists to account for changes by daughter recluster processes.
 
StatusCode Update (const CaloHitReplacement &caloHitReplacement)
 Update all calo hit lists to account for a specific calo hit replacement.
 
StatusCode Update (CaloHitList *const pCaloHitList, const CaloHitReplacement &caloHitReplacement)
 Update a calo hit list to account for a specific calo hit replacement.
 

Private Attributes

unsigned int m_nReclusteringProcesses
 The number of reclustering algorithms currently in operation.
 
ReclusterMetadatam_pCurrentReclusterMetadata
 Address of the current recluster metadata.
 
ReclusterMetadataList m_reclusterMetadataList
 The recluster metadata list.
 

Friends

class PandoraApiImpl
 
class PandoraContentApiImpl
 
class PandoraImpl
 

Detailed Description

CaloHitManager class.

Definition at line 23 of file CaloHitManager.h.

Member Typedef Documentation

◆ AlgorithmInfoMap

template<typename T >
typedef std::unordered_map<const Algorithm *, AlgorithmInfo> pandora::Manager< T >::AlgorithmInfoMap
protectedinherited

Definition at line 176 of file Manager.h.

◆ NameToListMap

template<typename T >
typedef std::map<std::string, ObjectList *> pandora::Manager< T >::NameToListMap
protectedinherited

Definition at line 175 of file Manager.h.

◆ ObjectList

typedef Manager<CaloHit >::ObjectList pandora::InputObjectManager< CaloHit >::ObjectList
protectedinherited

Definition at line 36 of file InputObjectManager.h.

Constructor & Destructor Documentation

◆ CaloHitManager()

pandora::CaloHitManager::CaloHitManager ( const Pandora *const  pPandora)

Constructor.

Parameters
pPandoraaddress of the associated pandora object

Definition at line 27 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ ~CaloHitManager()

pandora::CaloHitManager::~CaloHitManager ( )

Destructor.

Definition at line 37 of file CaloHitManager.cc.

Here is the call graph for this function:

Member Function Documentation

◆ AddObjectsToList()

StatusCode pandora::InputObjectManager< CaloHit >::AddObjectsToList ( const std::string &  listName,
const ObjectList objectList 
)
protectedvirtualinherited

Add objects to a saved list with a specified name.

Parameters
listNamethe list to add the objects to
objectListthe list of objects to be added

Definition at line 69 of file InputObjectManager.cc.

◆ AlterMetadata()

StatusCode pandora::CaloHitManager::AlterMetadata ( const CaloHit *const  pCaloHit,
const object_creation::CaloHit::Metadata metadata 
) const
private

Alter the metadata information stored in a calo hit.

Parameters
pCaloHitaddress of the calo hit to modify
metaDatathe metadata (only populated metadata fields will be propagated to the object)

Definition at line 78 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ CanFragmentCaloHit()

bool pandora::CaloHitManager::CanFragmentCaloHit ( const CaloHit *const  pOriginalCaloHit,
const float  fraction1 
) const
private

Whether a calo hit can be fragmented into two daughter calo hits with the specified energy division.

Parameters
pOriginalCaloHitaddress of the original calo hit
fraction1the fraction of energy to be assigned to daughter fragment 1
Returns
boolean

Definition at line 288 of file CaloHitManager.cc.

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

◆ CanMergeCaloHitFragments()

bool pandora::CaloHitManager::CanMergeCaloHitFragments ( const CaloHit *const  pFragmentCaloHit1,
const CaloHit *const  pFragmentCaloHit2 
) const
private

Whether two candidate calo hit fragments can be merged.

Parameters
pFragmentCaloHit1address of first candidate calo hit fragment
pFragmentCaloHit2address of second candidate calo hit fragment
Returns
boolean

Definition at line 309 of file CaloHitManager.cc.

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

◆ Create()

StatusCode pandora::CaloHitManager::Create ( const object_creation::CaloHit::Parameters parameters,
const CaloHit *&  pCaloHit,
const ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > &  factory 
)
private

Create calo hit.

Parameters
parametersthe calo hit parameters
pCaloHitto receive the address of the calo hit
factorythe factory that performs the object allocation

Definition at line 44 of file CaloHitManager.cc.

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

◆ CreateInitialLists()

StatusCode pandora::InputObjectManager< CaloHit >::CreateInitialLists ( )
protectedvirtualinherited

Create initial lists.

Reimplemented from pandora::Manager< T >.

Definition at line 95 of file InputObjectManager.cc.

◆ CreateInputList()

StatusCode pandora::InputObjectManager< CaloHit >::CreateInputList ( )
protectedvirtualinherited

Create the input list (accessible to algorithms), using objects created by client application.

Definition at line 41 of file InputObjectManager.cc.

◆ CreateTemporaryListAndSetCurrent() [1/3]

StatusCode pandora::CaloHitManager::CreateTemporaryListAndSetCurrent ( const Algorithm *const  pAlgorithm,
const ClusterList clusterList,
std::string &  temporaryListName 
)
private

Change the current calo hit list to the constituent hits of a cluster list.

Parameters
pAlgorithmaddress of the algorithm changing the current calo hit list
clusterListthe cluster list containing the hits
temporaryListNameto receive the name of the temporary list

Definition at line 140 of file CaloHitManager.cc.

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

◆ CreateTemporaryListAndSetCurrent() [2/3]

StatusCode pandora::InputObjectManager< CaloHit >::CreateTemporaryListAndSetCurrent ( const Algorithm *const  pAlgorithm,
const ObjectList objectList,
std::string &  temporaryListName 
)
protectedvirtualinherited

Change the current list to a specified temporary list.

Parameters
pAlgorithmaddress of the algorithm changing the current list
objectListthe specified temporary list
temporaryListNameto receive the name of the temporary list

Definition at line 52 of file InputObjectManager.cc.

◆ CreateTemporaryListAndSetCurrent() [3/3]

template<typename T >
StatusCode pandora::Manager< T >::CreateTemporaryListAndSetCurrent ( const Algorithm *const  pAlgorithm,
std::string &  temporaryListName 
)
protectedvirtualinherited

Create a temporary list associated with a particular algorithm.

Parameters
pAlgorithmaddress of the algorithm
temporaryListNameto receive the name of the temporary list

Reimplemented in pandora::AlgorithmObjectManager< T >, pandora::AlgorithmObjectManager< Cluster >, pandora::AlgorithmObjectManager< ParticleFlowObject >, and pandora::AlgorithmObjectManager< Vertex >.

Definition at line 177 of file Manager.cc.

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

◆ DropCurrentList()

template<typename T >
StatusCode pandora::Manager< T >::DropCurrentList ( const Algorithm *const  pAlgorithm)
protectedvirtualinherited

Drop the current list, returning the current list to its default empty/null state.

Parameters
pAlgorithmaddress of the algorithm altering the lists

Reimplemented in pandora::AlgorithmObjectManager< T >, pandora::AlgorithmObjectManager< Cluster >, pandora::AlgorithmObjectManager< ParticleFlowObject >, and pandora::AlgorithmObjectManager< Vertex >.

Definition at line 134 of file Manager.cc.

Here is the caller graph for this function:

◆ EndReclustering()

StatusCode pandora::CaloHitManager::EndReclustering ( const Algorithm *const  pAlgorithm,
const std::string &  selectedReclusterListName 
)
private

End reclustering operations and update calo hit lists accordingly.

Parameters
pAlgorithmaddress of the algorithm controlling reclustering
selectedReclusterListNamethe list name/key for the chosen recluster candidates

Definition at line 376 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ EraseAllContent()

StatusCode pandora::CaloHitManager::EraseAllContent ( )
privatevirtual

Erase all calo hit manager content.

Reimplemented from pandora::InputObjectManager< CaloHit >.

Definition at line 159 of file CaloHitManager.cc.

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

◆ FragmentCaloHit()

StatusCode pandora::CaloHitManager::FragmentCaloHit ( const CaloHit *const  pOriginalCaloHit,
const float  fraction1,
const CaloHit *&  pDaughterCaloHit1,
const CaloHit *&  pDaughterCaloHit2,
const ObjectFactory< object_creation::CaloHitFragment::Parameters, object_creation::CaloHitFragment::Object > &  factory 
)
private

Fragment a calo hit into two daughter calo hits, with a specified energy division.

Parameters
pOriginalCaloHitaddress of the original calo hit, which will be deleted
fraction1the fraction of energy to be assigned to daughter fragment 1
pDaughterCaloHit1to receive the address of daughter fragment 1
pDaughterCaloHit2to receive the address of daughter fragment 2
factoryto create the calo hit fragments

Definition at line 213 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ GetAlgorithmInputList()

template<typename T >
StatusCode pandora::Manager< T >::GetAlgorithmInputList ( const Algorithm *const  pAlgorithm,
const ObjectList *&  pObjectList,
std::string &  listName 
) const
protectedvirtualinherited

Get the algorithm input list.

Parameters
pAlgorithmaddress of the algorithm
pObjectListto receive the algorithm input list
listNameto receive the name of the algorithm input list

Definition at line 69 of file Manager.cc.

◆ GetAlgorithmInputListName()

template<typename T >
StatusCode pandora::Manager< T >::GetAlgorithmInputListName ( const Algorithm *const  pAlgorithm,
std::string &  listName 
) const
inlineprotectedvirtualinherited

Get the algorithm track list name.

Parameters
pAlgorithmaddress of the algorithm
listNameto receive the algorithm input list name

Definition at line 88 of file Manager.cc.

◆ GetCurrentList()

template<typename T >
StatusCode pandora::Manager< T >::GetCurrentList ( const ObjectList *&  pObjectList,
std::string &  listName 
) const
protectedvirtualinherited

Get the current list.

Parameters
pObjectListto receive the current list
listNameto receive the name of the current list

Definition at line 48 of file Manager.cc.

Here is the caller graph for this function:

◆ GetCurrentListName()

template<typename T >
StatusCode pandora::Manager< T >::GetCurrentListName ( std::string &  listName) const
inlineprotectedvirtualinherited

Get the current list name.

Parameters
listNameto receive the current list name

Definition at line 57 of file Manager.cc.

◆ GetList()

template<typename T >
StatusCode pandora::Manager< T >::GetList ( const std::string &  listName,
const ObjectList *&  pObjectList 
) const
protectedvirtualinherited

Get a list.

Parameters
listNamethe name of the list
pObjectListto receive the list

Definition at line 34 of file Manager.cc.

Here is the caller graph for this function:

◆ InitializeReclustering()

StatusCode pandora::CaloHitManager::InitializeReclustering ( const Algorithm *const  pAlgorithm,
const ClusterList clusterList,
const std::string &  originalReclusterListName 
)
private

Initialize reclustering operations, preparing lists and metadata accordingly.

Parameters
pAlgorithmaddress of the algorithm controlling reclustering
clusterListthe input cluster list
originalReclusterListNamethe list name/key for the original recluster candidates

Definition at line 336 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ IsAvailable() [1/3]

template<>
bool pandora::CaloHitManager::IsAvailable ( const CaloHit *const  pCaloHit) const

Definition at line 86 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ IsAvailable() [2/3]

template<>
bool pandora::CaloHitManager::IsAvailable ( const CaloHitList *const  pCaloHitList) const

Definition at line 95 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ IsAvailable() [3/3]

template<typename T >
bool pandora::CaloHitManager::IsAvailable ( const T *const  pT) const
private

Is a calo hit, or a list of calo hits, available to add to a cluster.

Parameters
pTaddress of the object or object list
Returns
boolean
Here is the caller graph for this function:

◆ MatchCaloHitsToMCPfoTargets()

StatusCode pandora::CaloHitManager::MatchCaloHitsToMCPfoTargets ( const UidToMCParticleWeightMap caloHitToPfoTargetsMap)
private

Match calo hits to their correct mc particles for particle flow.

Parameters
caloHitToPfoTargetsMapthe calo hit uid to mc pfo target map

Definition at line 173 of file CaloHitManager.cc.

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

◆ MergeCaloHitFragments()

StatusCode pandora::CaloHitManager::MergeCaloHitFragments ( const CaloHit *const  pFragmentCaloHit1,
const CaloHit *const  pFragmentCaloHit2,
const CaloHit *&  pMergedCaloHit,
const ObjectFactory< object_creation::CaloHitFragment::Parameters, object_creation::CaloHitFragment::Object > &  factory 
)
private

Merge two calo hit fragments, originally from the same parent hit, to form a new calo hit.

Parameters
pFragmentCaloHit1address of calo hit fragment 1, which will be deleted
pFragmentCaloHit2address of calo hit fragment 2, which will be deleted
pMergedCaloHitto receive the address of the merged calo hit
factoryto create the merged calo hit

Definition at line 252 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ Modifiable()

template<typename T >
T * pandora::Manager< T >::Modifiable ( const T *const  pT) const
protectedvirtualinherited

Access a modifiable object, when provided with address to const object.

Parameters
pTthe address of the const object
Returns
address of the modifiable object

Definition at line 288 of file Manager.cc.

Here is the caller graph for this function:

◆ PrepareForClustering()

StatusCode pandora::CaloHitManager::PrepareForClustering ( const Algorithm *const  pAlgorithm,
const std::string &  newReclusterListName 
)
private

Prepare metadata to allow for construction of new recluster candidates.

Parameters
pAlgorithmaddress of the algorithm controlling reclustering
newReclusterListNamethe list name/key for the new recluster candidates

Definition at line 356 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ RegisterAlgorithm()

template<typename T >
StatusCode pandora::Manager< T >::RegisterAlgorithm ( const Algorithm *const  pAlgorithm)
protectedvirtualinherited

Register an algorithm with the manager.

Parameters
pAlgorithmaddress of the algorithm

Definition at line 198 of file Manager.cc.

◆ RemoveAllMCParticleRelationships()

StatusCode pandora::CaloHitManager::RemoveAllMCParticleRelationships ( )
private

Remove all mc particle associations that have been registered with calo hits.

Definition at line 198 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ RemoveObjectsFromList()

StatusCode pandora::InputObjectManager< CaloHit >::RemoveObjectsFromList ( const std::string &  listName,
const ObjectList objectList 
)
protectedvirtualinherited

Remove objects from a saved list.

Parameters
listNamethe list to remove the objects from
objectListthe list of objects to be removed

Definition at line 77 of file InputObjectManager.cc.

◆ RenameList()

StatusCode pandora::InputObjectManager< CaloHit >::RenameList ( const std::string &  oldListName,
const std::string &  newListName 
)
protectedvirtualinherited

Rename a saved list, altering its saved name from a specified old list name to a specified new list name.

Parameters
oldListNamethe old list name
newListNamethe new list name

Reimplemented from pandora::Manager< T >.

Definition at line 85 of file InputObjectManager.cc.

◆ ReplaceCurrentAndAlgorithmInputLists()

template<typename T >
StatusCode pandora::Manager< T >::ReplaceCurrentAndAlgorithmInputLists ( const Algorithm *const  pAlgorithm,
const std::string &  listName 
)
protectedvirtualinherited

Replace the current and algorithm input lists with a pre-existing list.

Parameters
pAlgorithmaddress of the algorithm changing the current list
listNamethe name of the new current (and algorithm input) list

Reimplemented in pandora::AlgorithmObjectManager< T >, pandora::AlgorithmObjectManager< Cluster >, pandora::AlgorithmObjectManager< ParticleFlowObject >, and pandora::AlgorithmObjectManager< Vertex >.

Definition at line 110 of file Manager.cc.

Here is the caller graph for this function:

◆ ResetAlgorithmInfo()

template<typename T >
StatusCode pandora::Manager< T >::ResetAlgorithmInfo ( const Algorithm *const  pAlgorithm,
bool  isAlgorithmFinished 
)
protectedvirtualinherited

Remove temporary lists and reset the current list to that when algorithm was initialized.

Parameters
pAlgorithmaddress of the algorithm altering the lists
isAlgorithmFinishedwhether the algorithm has completely finished and the algorithm info should be entirely removed

Reimplemented in pandora::AlgorithmObjectManager< T >, pandora::AlgorithmObjectManager< Cluster >, pandora::AlgorithmObjectManager< ParticleFlowObject >, and pandora::AlgorithmObjectManager< Vertex >.

Definition at line 216 of file Manager.cc.

Here is the caller graph for this function:

◆ ResetCurrentListToAlgorithmInputList()

template<typename T >
StatusCode pandora::Manager< T >::ResetCurrentListToAlgorithmInputList ( const Algorithm *const  pAlgorithm)
protectedvirtualinherited

Reset the current list to the algorithm input list.

Parameters
pAlgorithmaddress of the algorithm changing the current track list

Reimplemented in pandora::AlgorithmObjectManager< T >, pandora::AlgorithmObjectManager< Cluster >, pandora::AlgorithmObjectManager< ParticleFlowObject >, and pandora::AlgorithmObjectManager< Vertex >.

Definition at line 102 of file Manager.cc.

Here is the caller graph for this function:

◆ ResetForNextEvent()

template<typename T >
StatusCode pandora::Manager< T >::ResetForNextEvent ( )
protectedvirtualinherited

Reset the manager.

Definition at line 247 of file Manager.cc.

Here is the caller graph for this function:

◆ SaveList()

StatusCode pandora::InputObjectManager< CaloHit >::SaveList ( const std::string &  listName,
const ObjectList objectList 
)
protectedvirtualinherited

Save a list of objects in a list with a specified name; create new list if required.

Parameters
listNamethe list name
objectListthe object list

Definition at line 61 of file InputObjectManager.cc.

◆ SetAvailability() [1/3]

template<>
StatusCode pandora::CaloHitManager::SetAvailability ( const CaloHit *const  pCaloHit,
bool  isAvailable 
)

Definition at line 113 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ SetAvailability() [2/3]

template<>
StatusCode pandora::CaloHitManager::SetAvailability ( const CaloHitList *const  pCaloHitList,
bool  isAvailable 
)

Definition at line 125 of file CaloHitManager.cc.

Here is the call graph for this function:

◆ SetAvailability() [3/3]

template<typename T >
StatusCode pandora::CaloHitManager::SetAvailability ( const T *const  pT,
bool  isAvailable 
)
private

Set availability of a calo hit, or a list of calo hits, to be added to a cluster.

Parameters
pTthe address of the object or object list
isAvailablethe availability

◆ Update() [1/3]

StatusCode pandora::CaloHitManager::Update ( CaloHitList *const  pCaloHitList,
const CaloHitReplacement caloHitReplacement 
)
private

Update a calo hit list to account for a specific calo hit replacement.

Parameters
pCaloHitListaddress of the calo hit list
caloHitReplacementthe calo hit replacement

Definition at line 448 of file CaloHitManager.cc.

◆ Update() [2/3]

StatusCode pandora::CaloHitManager::Update ( const CaloHitMetadata caloHitMetadata)
private

Update all calo hit lists to account for changes by daughter recluster processes.

Parameters
caloHitMetadatadescription of the changes made by daughter reclustering processes

Definition at line 408 of file CaloHitManager.cc.

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

◆ Update() [3/3]

StatusCode pandora::CaloHitManager::Update ( const CaloHitReplacement caloHitReplacement)
private

Update all calo hit lists to account for a specific calo hit replacement.

Parameters
caloHitReplacementthe calo hit replacement

Definition at line 433 of file CaloHitManager.cc.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ PandoraApiImpl

friend class PandoraApiImpl
friend

Definition at line 199 of file CaloHitManager.h.

◆ PandoraContentApiImpl

friend class PandoraContentApiImpl
friend

Definition at line 200 of file CaloHitManager.h.

◆ PandoraImpl

friend class PandoraImpl
friend

Definition at line 201 of file CaloHitManager.h.

Member Data Documentation

◆ m_algorithmInfoMap

template<typename T >
AlgorithmInfoMap pandora::Manager< T >::m_algorithmInfoMap
protectedinherited

The algorithm info map.

Definition at line 179 of file Manager.h.

◆ m_currentListName

template<typename T >
std::string pandora::Manager< T >::m_currentListName
protectedinherited

The name of the current list.

Definition at line 181 of file Manager.h.

◆ m_inputListName

const std::string pandora::InputObjectManager< CaloHit >::m_inputListName
protectedinherited

The name of the input list.

Definition at line 97 of file InputObjectManager.h.

◆ m_nameToListMap

template<typename T >
NameToListMap pandora::Manager< T >::m_nameToListMap
protectedinherited

The name to list map.

Definition at line 178 of file Manager.h.

◆ m_nReclusteringProcesses

unsigned int pandora::CaloHitManager::m_nReclusteringProcesses
private

The number of reclustering algorithms currently in operation.

Definition at line 195 of file CaloHitManager.h.

◆ m_nullListName

template<typename T >
const std::string pandora::Manager< T >::m_nullListName
protectedinherited

The name of the default empty (NULL) list.

Definition at line 172 of file Manager.h.

◆ m_pCurrentReclusterMetadata

ReclusterMetadata* pandora::CaloHitManager::m_pCurrentReclusterMetadata
private

Address of the current recluster metadata.

Definition at line 196 of file CaloHitManager.h.

◆ m_pPandora

template<typename T >
const Pandora* const pandora::Manager< T >::m_pPandora
protectedinherited

The associated pandora object.

Definition at line 173 of file Manager.h.

◆ m_reclusterMetadataList

ReclusterMetadataList pandora::CaloHitManager::m_reclusterMetadataList
private

The recluster metadata list.

Definition at line 197 of file CaloHitManager.h.

◆ m_savedLists

template<typename T >
StringSet pandora::Manager< T >::m_savedLists
protectedinherited

The set of saved lists.

Definition at line 182 of file Manager.h.


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