|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef CALORECGPU_CALOCPUOUTPUT_H
8 #define CALORECGPU_CALOCPUOUTPUT_H
52 Gaudi::Property<std::string>
m_savePath{
this,
"SavePath",
"./saved_clusters",
"Path to where the files should be saved"};
57 Gaudi::Property<std::string>
m_filePrefix{
this,
"FilePrefix",
"",
"Prefix of the saved files"};
62 Gaudi::Property<std::string>
m_fileSuffix{
this,
"FileSuffix",
"",
"Suffix of the saved files"};
67 Gaudi::Property<unsigned int>
m_numWidth{
this,
"NumberWidth", 9,
"The number of digits to reserve for the events"};
75 "Whether to output cell energies, gains, times, etc., as this information is repeated in the GPU side too."};
89 #endif //CALORECGPU_CALOCPUOUTPUT_H
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< CaloCellContainer > m_cellsKey
vector of names of the cell containers to use as input.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *collection) const =0
Execute on an entire collection of clusters.
Standard tool to output CPU cluster info to the non-standard file format that we have been using for ...
Gaudi::Property< unsigned int > m_numWidth
The number of digits to reserve for the events.
virtual StatusCode initialize() override
Gaudi::Property< bool > m_saveCellInfo
If true, also outputs the cell energies, times, gains, qualities and provenances.
virtual StatusCode execute(const EventContext &ctx, xAOD::CaloClusterContainer *cluster_collection) const override
Execute on an entire collection of clusters.
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper class for offline cell identifiers.
Gaudi::Property< std::string > m_savePath
The path specifying the folder to which the files should be saved.
Base class for cluster processing tools called from CaloClusterMaker.
Gaudi::Property< std::string > m_fileSuffix
The suffix of the saved files.
Gaudi::Property< std::string > m_filePrefix
The prefix of the saved files.
CaloCPUOutput(const std::string &type, const std::string &name, const IInterface *parent)
virtual ~CaloCPUOutput()=default
const CaloCell_ID * m_calo_id
Pointer to Calo ID Helper.