ATLAS Offline Software
Loading...
Searching...
No Matches
JetHitAssociationAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JET_HIT_ASSOCIATION_ALG_HH
6#define JET_HIT_ASSOCIATION_ALG_HH
7
8
9// STL includes
10#include <string>
11
12// FrameWork includes
14
15// Containers
19
20// Read and write handles
23
24// Element links
25#include "AthLinks/ElementLink.h"
26
27
28namespace FlavorTagDiscriminants {
29
31
32 public:
33
34 JetHitAssociationAlg (const std::string& name,
35 ISvcLocator* pSvcLocator);
36
37 virtual StatusCode initialize() override;
38 virtual StatusCode execute(const EventContext& ) const override;
39 virtual StatusCode finalize() override;
40
41
42 private:
43
45 this,"jetContainer","tempEmtopoJets","Key for jets"};
46
48 this,"hitContainer","PixelClusters","Key for hits"};
49
51 this, "hitReaderX","HitsXRelToBeamspot","Key for output hits x coordinate relative to beamspot"};
52
54 this, "hitReaderY","HitsYRelToBeamspot","Key for output hits y coordinate relative to beamspot"};
55
57 this,"hitAssociation","hitsAssociatedWithJet","Key for decorating links"};
58
59 Gaudi::Property <float> m_dPhiHitToJet{
60 this, "dphiHitToJet", 0.2, "Phi difference between hit and jet"};
61
62 Gaudi::Property <int> m_maxHits{
63 this, "maxHits", 200, "Maximum number of hits"};
64
65 };
66}
67
68#endif
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
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_inputPixHitCollectionKey
JetHitAssociationAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitsXRelToBeamspotKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetCollectionKey
SG::ReadDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitsYRelToBeamspotKey
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.