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

ReclusterMetadata class. More...

#include "Metadata.h"

Collaboration diagram for pandora::ReclusterMetadata:

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 CaloHitListGetCaloHitList () const
 Get the initial calo hit list.
 
CaloHitMetadataGetCurrentCaloHitMetadata ()
 Get the current calo hit metadata.
 

Private Types

typedef std::map< std::string, CaloHitMetadata * > NameToMetadataMap
 

Private Attributes

CaloHitMetadatam_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.
 

Detailed Description

ReclusterMetadata class.

Definition at line 120 of file Metadata.h.

Member Typedef Documentation

◆ NameToMetadataMap

typedef std::map<std::string, CaloHitMetadata *> pandora::ReclusterMetadata::NameToMetadataMap
private

Definition at line 169 of file Metadata.h.

Constructor & Destructor Documentation

◆ ReclusterMetadata()

pandora::ReclusterMetadata::ReclusterMetadata ( CaloHitList *const  pCaloHitList)

Constructor.

Parameters
pCaloHitListaddress of the initial calo hit list, copies of which will be used during reclustering

Definition at line 186 of file Metadata.cc.

◆ ~ReclusterMetadata()

pandora::ReclusterMetadata::~ReclusterMetadata ( )

Destructor.

Definition at line 196 of file Metadata.cc.

Member Function Documentation

◆ CreateCaloHitMetadata()

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.

Parameters
pCaloHitListaddress of the calo hit list associated with the reclustering option
caloHitListNamename of the calo hit list associated with the reclustering option
reclusterListNamethe name of the reclustering option
initialHitAvailabilitythe initial availability of the calo hits

Definition at line 204 of file Metadata.cc.

Here is the caller graph for this function:

◆ ExtractCaloHitMetadata()

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.

Parameters
reclusterListNamethe key/name matching the desired metadata
pCaloHitMetaDatato receive the pointer to the metadata

Definition at line 220 of file Metadata.cc.

Here is the caller graph for this function:

◆ GetCaloHitList()

const CaloHitList & pandora::ReclusterMetadata::GetCaloHitList ( ) const
inline

Get the initial calo hit list.

Returns
the initial calo hit list

Definition at line 196 of file Metadata.h.

Here is the caller graph for this function:

◆ GetCurrentCaloHitMetadata()

CaloHitMetadata * pandora::ReclusterMetadata::GetCurrentCaloHitMetadata ( )
inline

Get the current calo hit metadata.

Returns
the current calo hit metadata

Definition at line 203 of file Metadata.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_caloHitList

CaloHitList pandora::ReclusterMetadata::m_caloHitList
private

Copy of the reclustering input calo hit list.

Definition at line 172 of file Metadata.h.

◆ m_nameToMetadataMap

NameToMetadataMap pandora::ReclusterMetadata::m_nameToMetadataMap
private

The recluster list name to metadata map.

Definition at line 173 of file Metadata.h.

◆ m_pCurrentCaloHitMetadata

CaloHitMetadata* pandora::ReclusterMetadata::m_pCurrentCaloHitMetadata
private

Address of the current calo hit metadata.

Definition at line 171 of file Metadata.h.


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