|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PFLOWCALIBPFODECORATORALGORITHM_H
6 #define PFLOWCALIBPFODECORATORALGORITHM_H
55 ToolHandle<ICaloCalibClusterTruthAttributerTool>
m_truthAttributerTool{
this,
"TruthAttributerTool",
"",
" ToolHandle to a tool to create the calibration hit truth information that we need for the decoration"};
58 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.
StatusCode LinkCalibHitPFO(SG::WriteDecorHandle< xAOD::FlowElementContainer, std::vector< std::pair< unsigned int, double > > > &pfoWriteDecorHandle, SG::ReadHandle< std::map< Identifier, std::vector< const CaloCalibrationHit * > > > &CalibHitHandle) const
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< std::map< Identifier, std::vector< const CaloCalibrationHit * > > > m_mapIdentifierToCalibHitsReadHandleKey
ReadHandleKey for the map between Identifiers and sets of calibration hits.
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< ICaloCalibClusterTruthAttributerTool > m_truthAttributerTool
ToolHandle to a tool to create the calibration hit truth information that we need for the decoration.
SG::WriteDecorHandleKey< xAOD::FlowElementContainer > m_pfoWriteDecorHandleKeyNLeadingTruthParticles
Write handle key to decorate PFO with threeN leading truth particle barcode and energy.
AthReentrantAlgorithm()
Default constructor:
Gaudi::Property< unsigned int > m_numTruthParticles
Allow user to set the number of truth particles per clusterCaloCluster or PFO, in descending pt order...
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
virtual StatusCode initialize() override
virtual ~PFlowCalibPFODecoratorAlgorithm()
Destructor.
This algorithm decorates xAOD::FlowElement with calibration hit truth information.
virtual StatusCode finalize() override