![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CALOCALIBCLUSTERDECORATORALGORITHM_H
6 #define CALOCALIBCLUSTERDECORATORALGORITHM_H
51 ToolHandle<ICaloCalibClusterTruthAttributerTool>
m_truthAttributerTool{
this,
"TruthAttributerTool",
"",
" ToolHandle to a tool to create the calibration hit truth information that we need for the decoration"};
54 Gaudi::Property<unsigned int>
m_numTruthParticles{
this,
"NumTruthParticles",20,
"Set number of truth particles per CaloCluster/PFO for which we store calibration hit energy"};
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
virtual StatusCode finalize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< ICaloCalibClusterTruthAttributerTool > m_truthAttributerTool
ToolHandle to a tool to create the calibration hit truth information that we need for the decoration.
An algorithm that can be simultaneously executed in multiple threads.
AthReentrantAlgorithm()
Default constructor:
virtual StatusCode initialize() override
SG::ReadHandleKey< std::map< Identifier, std::vector< const CaloCalibrationHit * > > > m_mapIdentifierToCalibHitsReadHandleKey
ReadHandleKey for the map between Identifiers and sets of calibration hits.
virtual StatusCode execute(const EventContext &ctx) const override
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< unsigned int > m_numTruthParticles
Allow user to set the number of truth particles per clusterCaloCluster or PFO, in descending pt order...
This algorithm decorates xAOD::CaloCluster with calibration hit truth information.
virtual ~CaloCalibClusterDecoratorAlgorithm()
Destructor.
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_caloClusterWriteDecorHandleKeyNLeadingTruthParticles
Write handle key to decorate CaloCluster with threeN leading truth particle barcode and energy.