![]() |
ATLAS Offline Software
|
Outputs counts of cells, both by type and cluster presence, with each cluster being identified by its cell with the largest signal-to-noise ratio. More...
#include <CaloCellsCounterCPU.h>
Public Member Functions | |
CaloCellsCounterCPU (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual StatusCode | initialize () override |
virtual StatusCode | execute (const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override |
virtual | ~CaloCellsCounterCPU ()=default |
virtual StatusCode | execute (const EventContext &ctx, xAOD::CaloClusterContainer *collection) const=0 |
Execute on an entire collection of clusters. More... | |
virtual StatusCode | execute (xAOD::CaloClusterContainer *collection) final |
Execute on an entire collection of clusters. More... | |
Private Attributes | |
Gaudi::Property< std::string > | m_savePath {this, "SavePath", "./cell_counts", "Path to where the files should be saved"} |
The path specifying the folder to which the files should be saved. More... | |
Gaudi::Property< std::string > | m_filePrefix {this, "FilePrefix", "", "Prefix of the saved files"} |
The prefix of the saved files. More... | |
Gaudi::Property< std::string > | m_fileSuffix {this, "FileSuffix", "", "Suffix of the saved files"} |
The suffix of the saved files. More... | |
Gaudi::Property< unsigned int > | m_numWidth {this, "NumberWidth", 9, "The number of digits to reserve for the events"} |
The number of digits to reserve for the events. More... | |
SG::ReadHandleKey< CaloCellContainer > | m_cellsKey {this, "CellsName", "", "Name(s) of Cell Containers"} |
vector of names of the cell containers to use as input. More... | |
SG::ReadCondHandleKey< CaloNoise > | m_noiseCDOKey {this, "CaloNoiseKey", "totalNoise", "SG Key of CaloNoise data object"} |
Key of the CaloNoise Conditions data object. More... | |
Gaudi::Property< float > | m_seedThreshold {this, "SeedThresholdOnEorAbsEinSigma", 4., "Seed threshold (in units of noise Sigma)"} |
Value to consider for the seed threshold. More... | |
Gaudi::Property< float > | m_growThreshold {this, "NeighborThresholdOnEorAbsEinSigma", 2., "Neighbor (grow) threshold (in units of noise Sigma)"} |
Value to consider for the seed threshold. More... | |
Gaudi::Property< float > | m_cellThreshold {this, "CellThresholdOnEorAbsEinSigma", 0., "Cell (terminal) threshold (in units of noise Sigma)"} |
Value to consider for the seed threshold. More... | |
const CaloCell_ID * | m_calo_id {nullptr} |
Pointer to Calo ID Helper. More... | |
Outputs counts of cells, both by type and cluster presence, with each cluster being identified by its cell with the largest signal-to-noise ratio.
Definition at line 27 of file CaloCellsCounterCPU.h.
CaloCellsCounterCPU::CaloCellsCounterCPU | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 18 of file CaloCellsCounterCPU.cxx.
|
virtualdefault |
|
overridevirtual |
Definition at line 61 of file CaloCellsCounterCPU.cxx.
virtual StatusCode CaloClusterCollectionProcessor::execute |
Execute on an entire collection of clusters.
collection | The container of clusters. param ctx The event context. |
|
inlinefinal |
Execute on an entire collection of clusters.
collection | The container of clusters. (deprecated) |
Definition at line 50 of file CaloClusterCollectionProcessor.h.
|
overridevirtual |
Definition at line 24 of file CaloCellsCounterCPU.cxx.
|
private |
Pointer to Calo ID Helper.
Definition at line 96 of file CaloCellsCounterCPU.h.
|
private |
vector of names of the cell containers to use as input.
Definition at line 69 of file CaloCellsCounterCPU.h.
|
private |
Value to consider for the seed threshold.
Should be consistent with the one used in Topological Clustering to ensure cell classification is correct.
Definition at line 89 of file CaloCellsCounterCPU.h.
|
private |
The prefix of the saved files.
Empty string by default.
Definition at line 54 of file CaloCellsCounterCPU.h.
|
private |
The suffix of the saved files.
Empty string by default.
Definition at line 59 of file CaloCellsCounterCPU.h.
|
private |
Value to consider for the seed threshold.
Should be consistent with the one used in Topological Clustering to ensure cell classification is correct.
Definition at line 84 of file CaloCellsCounterCPU.h.
|
private |
Key of the CaloNoise Conditions data object.
Typical values are '"electronicNoise', 'pileupNoise', or '"totalNoise' (default)
Definition at line 74 of file CaloCellsCounterCPU.h.
|
private |
The number of digits to reserve for the events.
9 by default.
Definition at line 64 of file CaloCellsCounterCPU.h.
|
private |
The path specifying the folder to which the files should be saved.
Default ./cell_counts
Definition at line 49 of file CaloCellsCounterCPU.h.
|
private |
Value to consider for the seed threshold.
Should be consistent with the one used in Topological Clustering to ensure cell classification is correct.
Definition at line 79 of file CaloCellsCounterCPU.h.