ATLAS Offline Software
EventInfoBSErrDecorator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // EvenTInfoBSErrDecorator.h, (c) ATLAS Detector software
8 
9 #ifndef DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
10 #define DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
11 
12 #include <string>
13 #include <vector>
14 
17 #include "GaudiKernel/ToolHandle.h"
18 #include "AthLinks/ElementLink.h"
19 
23 
27 
28 class AtlasDetectorID;
29 class SCT_ID;
30 
31 namespace DerivationFramework {
32 
34  public:
35  EventInfoBSErrDecorator(const std::string& type, const std::string& name, const IInterface* parent);
36 
39  virtual StatusCode addBranches() const;
40 
41  private:
42 
43  Gaudi::Property<std::string> m_prefix
44  { this,"DecorationPrefix", "", "" };
46  { this, "ContainerName", "EventInfo", ""};
47 
48  const SCT_ID* m_sctId = nullptr;
49 
50  ToolHandle<ISCT_ByteStreamErrorsTool> m_byteStreamErrTool{this, "ByteStreamErrTool", "SCT_ByteStreamErrorsTool", "Tool to retrieve SCT ByteStream Errors"};
51  ToolHandle<ISCT_CablingTool> m_cabling{this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"};
52 
63 
64  std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> > m_intDecorKeys;
65 
66  };
67 }
68 
69 #endif // DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
DerivationFramework::EventInfoBSErrDecorator::kNIntDecor
@ kNIntDecor
Definition: EventInfoBSErrDecorator.h:62
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:58
DerivationFramework::EventInfoBSErrDecorator::m_byteStreamErrTool
ToolHandle< ISCT_ByteStreamErrorsTool > m_byteStreamErrTool
Definition: EventInfoBSErrDecorator.h:50
IAugmentationTool.h
DerivationFramework::EventInfoBSErrDecorator::finalize
StatusCode finalize()
Definition: EventInfoBSErrDecorator.cxx:66
DerivationFramework::EventInfoBSErrDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: EventInfoBSErrDecorator.h:46
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_Ntot
@ kSCT_BSErr_Ntot
Definition: EventInfoBSErrDecorator.h:53
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::EventInfoBSErrDecorator::EventInfoBSErrDecorator
EventInfoBSErrDecorator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: EventInfoBSErrDecorator.cxx:22
DerivationFramework::IAugmentationTool
Definition: IAugmentationTool.h:24
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_phi
@ kSCT_BSErr_phi
Definition: EventInfoBSErrDecorator.h:57
DerivationFramework::EventInfoBSErrDecorator::m_sctId
const SCT_ID * m_sctId
Definition: EventInfoBSErrDecorator.h:48
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_rodid
@ kSCT_BSErr_rodid
Definition: EventInfoBSErrDecorator.h:59
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework::EventInfoBSErrDecorator
Definition: EventInfoBSErrDecorator.h:33
test_pyathena.parent
parent
Definition: test_pyathena.py:15
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_layer
@ kSCT_BSErr_layer
Definition: EventInfoBSErrDecorator.h:55
DerivationFramework
THE reconstruction tool.
Definition: ParticleSortingAlg.h:24
DerivationFramework::EventInfoBSErrDecorator::EIntDecor
EIntDecor
Definition: EventInfoBSErrDecorator.h:53
DerivationFramework::EventInfoBSErrDecorator::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition: EventInfoBSErrDecorator.cxx:71
EventAuxInfo.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_bec
@ kSCT_BSErr_bec
Definition: EventInfoBSErrDecorator.h:54
DerivationFramework::EventInfoBSErrDecorator::m_cabling
ToolHandle< ISCT_CablingTool > m_cabling
Definition: EventInfoBSErrDecorator.h:51
DerivationFramework::EventInfoBSErrDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition: EventInfoBSErrDecorator.h:64
EventInfo.h
DerivationFramework::EventInfoBSErrDecorator::initialize
StatusCode initialize()
Definition: EventInfoBSErrDecorator.cxx:30
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_type
@ kSCT_BSErr_type
Definition: EventInfoBSErrDecorator.h:61
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_channel
@ kSCT_BSErr_channel
Definition: EventInfoBSErrDecorator.h:60
SCT_ID
Definition: SCT_ID.h:68
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ISCT_CablingTool.h
SCT_OnlineId.h
AthAlgTool
Definition: AthAlgTool.h:26
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_eta
@ kSCT_BSErr_eta
Definition: EventInfoBSErrDecorator.h:56
DerivationFramework::EventInfoBSErrDecorator::m_prefix
Gaudi::Property< std::string > m_prefix
Definition: EventInfoBSErrDecorator.h:44
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57