ATLAS Offline Software
Loading...
Searching...
No Matches
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
24class AtlasDetectorID;
25class SCT_ID;
26
27namespace 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
interface file for tool that keeps track of errors in the bytestream.
Header file for abstract interface to SCT cabling tool.
Header file for a utility class to hold the online id.
Property holding a SG store/key/clid from which a ReadHandle is made.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
ToolHandle< ISCT_ByteStreamErrorsTool > m_byteStreamErrTool
virtual StatusCode addBranches(const EventContext &ctx) const override final
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
THE reconstruction tool.