Pandora
Pandora source code navigator
|
CaloHitMetadata class. More...
#include "Metadata.h"
Public Member Functions | |
CaloHitMetadata (CaloHitList *const pCaloHitList, const std::string &caloHitListName, const bool initialHitAvailability) | |
Constructor. | |
~CaloHitMetadata () | |
Destructor. | |
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 | Update (const CaloHitMetadata &caloHitMetadata) |
Update metadata to account for changes by daughter recluster processes. | |
StatusCode | Update (const CaloHitReplacement &caloHitReplacement) |
Update metadata to account for a specific calo hit replacement. | |
void | Clear () |
Clear all metadata content. | |
const CaloHitUsageMap & | GetCaloHitUsageMap () const |
Get the calo hit usage map. | |
const CaloHitReplacementList & | GetCaloHitReplacementList () const |
Get the calo hit replacement list. | |
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) |
Private Attributes | |
CaloHitList * | m_pCaloHitList |
Address of the associated calo hit list. | |
std::string | m_caloHitListName |
The name of the associated calo hit list. | |
CaloHitUsageMap | m_caloHitUsageMap |
The calo hit usage map. | |
CaloHitReplacementList | m_caloHitReplacementList |
The calo hit replacement list. | |
CaloHitMetadata class.
Definition at line 38 of file Metadata.h.
pandora::CaloHitMetadata::CaloHitMetadata | ( | CaloHitList *const | pCaloHitList, |
const std::string & | caloHitListName, | ||
const bool | initialHitAvailability | ||
) |
Constructor.
pCaloHitList | address of the associated calo hit list |
caloHitListName | name of the associated calo hit list |
initialHitAvailability | the initial availability of the calo hits |
Definition at line 18 of file Metadata.cc.
pandora::CaloHitMetadata::~CaloHitMetadata | ( | ) |
Destructor.
Definition at line 31 of file Metadata.cc.
void pandora::CaloHitMetadata::Clear | ( | ) |
Clear all metadata content.
Definition at line 172 of file Metadata.cc.
|
inline |
Get the calo hit replacement list.
Definition at line 188 of file Metadata.h.
|
inline |
Get the calo hit usage map.
Definition at line 181 of file Metadata.h.
bool pandora::CaloHitMetadata::IsAvailable | ( | const CaloHit *const | pCaloHit | ) | const |
Definition at line 45 of file Metadata.cc.
bool pandora::CaloHitMetadata::IsAvailable | ( | const CaloHitList *const | pCaloHitList | ) | const |
Definition at line 56 of file Metadata.cc.
bool pandora::CaloHitMetadata::IsAvailable | ( | const T *const | pT | ) | const |
Is a calo hit, or a list of calo hits, available to add to a cluster.
pT | address of the object or object list |
StatusCode pandora::CaloHitMetadata::SetAvailability | ( | const CaloHit *const | pCaloHit, |
bool | isAvailable | ||
) |
Definition at line 72 of file Metadata.cc.
StatusCode pandora::CaloHitMetadata::SetAvailability | ( | const CaloHitList *const | pCaloHitList, |
bool | isAvailable | ||
) |
Definition at line 85 of file Metadata.cc.
StatusCode pandora::CaloHitMetadata::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.
pT | the address of the object or object list |
isAvailable | the availability |
StatusCode pandora::CaloHitMetadata::Update | ( | const CaloHitMetadata & | caloHitMetadata | ) |
Update metadata to account for changes by daughter recluster processes.
caloHitMetadata | description of the changes made by daughter reclustering processes |
Definition at line 102 of file Metadata.cc.
StatusCode pandora::CaloHitMetadata::Update | ( | const CaloHitReplacement & | caloHitReplacement | ) |
Update metadata to account for a specific calo hit replacement.
caloHitReplacement | the calo hit replacement |
Definition at line 132 of file Metadata.cc.
|
private |
The name of the associated calo hit list.
Definition at line 109 of file Metadata.h.
|
private |
The calo hit replacement list.
Definition at line 111 of file Metadata.h.
|
private |
The calo hit usage map.
Definition at line 110 of file Metadata.h.
|
private |
Address of the associated calo hit list.
Definition at line 108 of file Metadata.h.