ATLAS Offline Software
EventInfoBSErrDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
6 #define DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
7 
8 #include <string>
9 #include <vector>
10 
13 #include "GaudiKernel/ToolHandle.h"
14 #include "AthLinks/ElementLink.h"
15 
19 
23 
24 class AtlasDetectorID;
25 class SCT_ID;
26 
27 namespace DerivationFramework {
28 
29  class EventInfoBSErrDecorator : public extends<AthAlgTool, IAugmentationTool> {
30  public:
31 
32  using base_class::base_class;
33 
34  virtual StatusCode initialize() override final;
35  virtual StatusCode addBranches(const EventContext& ctx) const override final;
36 
37  private:
38 
39  Gaudi::Property<std::string> m_prefix
40  { this,"DecorationPrefix", "", "" };
42  { this, "ContainerName", "EventInfo", ""};
43 
44  const SCT_ID* m_sctId{};
45 
46  ToolHandle<ISCT_ByteStreamErrorsTool> m_byteStreamErrTool{this, "ByteStreamErrTool", "SCT_ByteStreamErrorsTool", "Tool to retrieve SCT ByteStream Errors"};
47  ToolHandle<ISCT_CablingTool> m_cabling{this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"};
48 
59 
60  std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_intDecorKeys;
61 
62  };
63 }
64 
65 #endif // DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
DerivationFramework::EventInfoBSErrDecorator::kNIntDecor
@ kNIntDecor
Definition: EventInfoBSErrDecorator.h:58
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ISCT_ByteStreamErrorsTool.h
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_side
@ kSCT_BSErr_side
Definition: EventInfoBSErrDecorator.h:54
DerivationFramework::EventInfoBSErrDecorator::m_byteStreamErrTool
ToolHandle< ISCT_ByteStreamErrorsTool > m_byteStreamErrTool
Definition: EventInfoBSErrDecorator.h:46
IAugmentationTool.h
DerivationFramework::EventInfoBSErrDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: EventInfoBSErrDecorator.h:42
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_Ntot
@ kSCT_BSErr_Ntot
Definition: EventInfoBSErrDecorator.h:49
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_phi
@ kSCT_BSErr_phi
Definition: EventInfoBSErrDecorator.h:53
DerivationFramework::EventInfoBSErrDecorator::m_sctId
const SCT_ID * m_sctId
Definition: EventInfoBSErrDecorator.h:44
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_rodid
@ kSCT_BSErr_rodid
Definition: EventInfoBSErrDecorator.h:55
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::EventInfoBSErrDecorator
Definition: EventInfoBSErrDecorator.h:29
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_layer
@ kSCT_BSErr_layer
Definition: EventInfoBSErrDecorator.h:51
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::EventInfoBSErrDecorator::EIntDecor
EIntDecor
Definition: EventInfoBSErrDecorator.h:49
EventAuxInfo.h
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_bec
@ kSCT_BSErr_bec
Definition: EventInfoBSErrDecorator.h:50
DerivationFramework::EventInfoBSErrDecorator::m_cabling
ToolHandle< ISCT_CablingTool > m_cabling
Definition: EventInfoBSErrDecorator.h:47
DerivationFramework::EventInfoBSErrDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition: EventInfoBSErrDecorator.h:60
EventInfo.h
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_type
@ kSCT_BSErr_type
Definition: EventInfoBSErrDecorator.h:57
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_channel
@ kSCT_BSErr_channel
Definition: EventInfoBSErrDecorator.h:56
SCT_ID
Definition: SCT_ID.h:68
DerivationFramework::EventInfoBSErrDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition: EventInfoBSErrDecorator.cxx:56
ISCT_CablingTool.h
SCT_OnlineId.h
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_eta
@ kSCT_BSErr_eta
Definition: EventInfoBSErrDecorator.h:52
DerivationFramework::EventInfoBSErrDecorator::m_prefix
Gaudi::Property< std::string > m_prefix
Definition: EventInfoBSErrDecorator.h:40
DerivationFramework::EventInfoBSErrDecorator::initialize
virtual StatusCode initialize() override final
Definition: EventInfoBSErrDecorator.cxx:19
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:52