ATLAS Offline Software
HitDecoratorAlg.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 HIT_DECORATOR_ALG_HH
6 #define HIT_DECORATOR_ALG_HH
7 
8 // FrameWork includes
10 
11 // Containers
14 
15 // Read and write handle keys
18 
19 
20 
21 namespace FlavorTagDiscriminants {
22 
24 
25  public:
26 
27  HitDecoratorAlg(const std::string& name,
28  ISvcLocator* pSvcLocator );
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode execute(const EventContext& ) const override;
32  virtual StatusCode finalize() override;
33 
34 
35  private:
36 
37  // Read and write handle keys
39  this,"hitContainer","PixelClusters","Key for hits"};
40 
42  this,"eventInfo","EventInfo","Key for EventInfo"};
43 
45  this, "hitsXRelToBeamspotDecorator", "HitsXRelToBeamspot", "Key for output hits x coordinate relative to beamspot"};
46 
48  this, "hitsYRelToBeamspotDecorator", "HitsYRelToBeamspot", "Key for output hits y coordinate relative to beamspot"};
49 
51  this, "hitsZRelToBeamspotDecorator", "HitsZRelToBeamspot", "Key for output hits z coordinate relative to beamspot"};
52 
53  };
54 }
55 
56 #endif
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
FlavorTagDiscriminants::HitDecoratorAlg::m_HitContainerKey
SG::ReadHandleKey< xAOD::TrackMeasurementValidationContainer > m_HitContainerKey
Definition: HitDecoratorAlg.h:38
FlavorTagDiscriminants::HitDecoratorAlg::m_OutputHitZKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitZKey
Definition: HitDecoratorAlg.h:50
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition: AssociationEnums.h:11
FlavorTagDiscriminants::HitDecoratorAlg::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: HitDecoratorAlg.h:41
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
FlavorTagDiscriminants::HitDecoratorAlg::m_OutputHitYKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitYKey
Definition: HitDecoratorAlg.h:47
FlavorTagDiscriminants::HitDecoratorAlg::m_OutputHitXKey
SG::WriteDecorHandleKey< xAOD::TrackMeasurementValidationContainer > m_OutputHitXKey
Definition: HitDecoratorAlg.h:44
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
FlavorTagDiscriminants::HitDecoratorAlg::HitDecoratorAlg
HitDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: HitDecoratorAlg.cxx:17
FlavorTagDiscriminants::HitDecoratorAlg
Definition: HitDecoratorAlg.h:23
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
FlavorTagDiscriminants::HitDecoratorAlg::finalize
virtual StatusCode finalize() override
Definition: HitDecoratorAlg.cxx:81
FlavorTagDiscriminants::HitDecoratorAlg::initialize
virtual StatusCode initialize() override
Definition: HitDecoratorAlg.cxx:22
TrackMeasurementValidationContainer.h
FlavorTagDiscriminants::HitDecoratorAlg::execute
virtual StatusCode execute(const EventContext &) const override
Definition: HitDecoratorAlg.cxx:41