5#ifndef JET_HIT_ASSOCIATION_ALG_HH
6#define JET_HIT_ASSOCIATION_ALG_HH
25#include "AthLinks/ElementLink.h"
35 ISvcLocator* pSvcLocator);
38 virtual StatusCode
execute(
const EventContext& )
const override;
39 virtual StatusCode
finalize()
override;
45 this,
"jetContainer",
"tempEmtopoJets",
"Key for jets"};
48 this,
"hitContainer",
"PixelClusters",
"Key for hits"};
51 this,
"hitReaderX",
"HitsXRelToBeamspot",
"Key for output hits x coordinate relative to beamspot"};
54 this,
"hitReaderY",
"HitsYRelToBeamspot",
"Key for output hits y coordinate relative to beamspot"};
57 this,
"hitAssociation",
"hitsAssociatedWithJet",
"Key for decorating links"};
60 this,
"dphiHitToJet", 0.2,
"Phi difference between hit and jet"};
63 this,
"maxHits", 200,
"Maximum number of hits"};
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &) const override
SG::WriteDecorHandleKey< xAOD::JetContainer > m_hitAssociationKey
Gaudi::Property< int > m_maxHits
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_inputPixHitCollectionKey
JetHitAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitsXRelToBeamspotKey
Gaudi::Property< float > m_dPhiHitToJet
SG::ReadHandleKey< xAOD::JetContainer > m_jetCollectionKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitsYRelToBeamspotKey
virtual StatusCode initialize() override
virtual StatusCode finalize() override
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.