Pandora
Pandora source code navigator
|
ReclusterMetadata class. More...
#include "Metadata.h"
Public Member Functions | |
ReclusterMetadata (CaloHitList *const pCaloHitList) | |
Constructor. | |
~ReclusterMetadata () | |
Destructor. | |
StatusCode | CreateCaloHitMetadata (CaloHitList *const pCaloHitList, const std::string &caloHitListName, const std::string &reclusterListName, const bool initialHitAvailability) |
Create new calo hit metadata, associated with a new reclustering option for the calo hits. | |
StatusCode | ExtractCaloHitMetadata (const std::string &reclusterListName, CaloHitMetadata *&pCaloHitMetaData) |
Extract specific calo hit metadata, removing entry from map and receiving a pointer to the metadata. | |
const CaloHitList & | GetCaloHitList () const |
Get the initial calo hit list. | |
CaloHitMetadata * | GetCurrentCaloHitMetadata () |
Get the current calo hit metadata. | |
Private Types | |
typedef std::map< std::string, CaloHitMetadata * > | NameToMetadataMap |
Private Attributes | |
CaloHitMetadata * | m_pCurrentCaloHitMetadata |
Address of the current calo hit metadata. | |
CaloHitList | m_caloHitList |
Copy of the reclustering input calo hit list. | |
NameToMetadataMap | m_nameToMetadataMap |
The recluster list name to metadata map. | |
ReclusterMetadata class.
Definition at line 120 of file Metadata.h.
|
private |
Definition at line 169 of file Metadata.h.
pandora::ReclusterMetadata::ReclusterMetadata | ( | CaloHitList *const | pCaloHitList | ) |
Constructor.
pCaloHitList | address of the initial calo hit list, copies of which will be used during reclustering |
Definition at line 186 of file Metadata.cc.
pandora::ReclusterMetadata::~ReclusterMetadata | ( | ) |
Destructor.
Definition at line 196 of file Metadata.cc.
StatusCode pandora::ReclusterMetadata::CreateCaloHitMetadata | ( | CaloHitList *const | pCaloHitList, |
const std::string & | caloHitListName, | ||
const std::string & | reclusterListName, | ||
const bool | initialHitAvailability | ||
) |
Create new calo hit metadata, associated with a new reclustering option for the calo hits.
pCaloHitList | address of the calo hit list associated with the reclustering option |
caloHitListName | name of the calo hit list associated with the reclustering option |
reclusterListName | the name of the reclustering option |
initialHitAvailability | the initial availability of the calo hits |
Definition at line 204 of file Metadata.cc.
StatusCode pandora::ReclusterMetadata::ExtractCaloHitMetadata | ( | const std::string & | reclusterListName, |
CaloHitMetadata *& | pCaloHitMetaData | ||
) |
Extract specific calo hit metadata, removing entry from map and receiving a pointer to the metadata.
reclusterListName | the key/name matching the desired metadata |
pCaloHitMetaData | to receive the pointer to the metadata |
Definition at line 220 of file Metadata.cc.
|
inline |
Get the initial calo hit list.
Definition at line 196 of file Metadata.h.
|
inline |
Get the current calo hit metadata.
Definition at line 203 of file Metadata.h.
|
private |
Copy of the reclustering input calo hit list.
Definition at line 172 of file Metadata.h.
|
private |
The recluster list name to metadata map.
Definition at line 173 of file Metadata.h.
|
private |
Address of the current calo hit metadata.
Definition at line 171 of file Metadata.h.