ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
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
11
#include "
AthenaBaseComps/AthAlgTool.h
"
12
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "AthLinks/ElementLink.h"
15
16
#include "
xAODEventInfo/EventInfo.h
"
17
#include "
xAODEventInfo/EventAuxInfo.h
"
18
#include "
StoreGate/ReadHandleKey.h
"
19
20
#include "
SCT_ConditionsTools/ISCT_ByteStreamErrorsTool.h
"
21
#include "
SCT_Cabling/ISCT_CablingTool.h
"
22
#include "
SCT_Cabling/SCT_OnlineId.h
"
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"
,
""
,
""
};
41
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
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
49
enum
EIntDecor
{
kSCT_BSErr_Ntot
,
50
kSCT_BSErr_bec
,
51
kSCT_BSErr_layer
,
52
kSCT_BSErr_eta
,
53
kSCT_BSErr_phi
,
54
kSCT_BSErr_side
,
55
kSCT_BSErr_rodid
,
56
kSCT_BSErr_channel
,
57
kSCT_BSErr_type
,
58
kNIntDecor
};
59
60
std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> >
m_intDecorKeys
;
61
62
};
63
}
64
65
#endif
// DERIVATIONFRAMEWORK_EVENTINFOBSERRDECORATOR_H
AthAlgTool.h
EventAuxInfo.h
IAugmentationTool.h
ISCT_ByteStreamErrorsTool.h
interface file for tool that keeps track of errors in the bytestream.
ISCT_CablingTool.h
Header file for abstract interface to SCT cabling tool.
SCT_OnlineId.h
Header file for a utility class to hold the online id.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:53
DerivationFramework::EventInfoBSErrDecorator
Definition
EventInfoBSErrDecorator.h:29
DerivationFramework::EventInfoBSErrDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
EventInfoBSErrDecorator.h:42
DerivationFramework::EventInfoBSErrDecorator::EIntDecor
EIntDecor
Definition
EventInfoBSErrDecorator.h:49
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_eta
@ kSCT_BSErr_eta
Definition
EventInfoBSErrDecorator.h:52
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_layer
@ kSCT_BSErr_layer
Definition
EventInfoBSErrDecorator.h:51
DerivationFramework::EventInfoBSErrDecorator::kNIntDecor
@ kNIntDecor
Definition
EventInfoBSErrDecorator.h:58
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_rodid
@ kSCT_BSErr_rodid
Definition
EventInfoBSErrDecorator.h:55
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_Ntot
@ kSCT_BSErr_Ntot
Definition
EventInfoBSErrDecorator.h:49
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_type
@ kSCT_BSErr_type
Definition
EventInfoBSErrDecorator.h:57
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_channel
@ kSCT_BSErr_channel
Definition
EventInfoBSErrDecorator.h:56
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_bec
@ kSCT_BSErr_bec
Definition
EventInfoBSErrDecorator.h:50
DerivationFramework::EventInfoBSErrDecorator::kSCT_BSErr_phi
@ kSCT_BSErr_phi
Definition
EventInfoBSErrDecorator.h:53
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
DerivationFramework::EventInfoBSErrDecorator::m_sctId
const SCT_ID * m_sctId
Definition
EventInfoBSErrDecorator.h:44
DerivationFramework::EventInfoBSErrDecorator::m_cabling
ToolHandle< ISCT_CablingTool > m_cabling
Definition
EventInfoBSErrDecorator.h:47
DerivationFramework::EventInfoBSErrDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
EventInfoBSErrDecorator.cxx:56
DerivationFramework::EventInfoBSErrDecorator::initialize
virtual StatusCode initialize() override final
Definition
EventInfoBSErrDecorator.cxx:19
DerivationFramework::EventInfoBSErrDecorator::m_prefix
Gaudi::Property< std::string > m_prefix
Definition
EventInfoBSErrDecorator.h:40
DerivationFramework::EventInfoBSErrDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition
EventInfoBSErrDecorator.h:60
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
DerivationFramework
THE reconstruction tool.
Definition
CascadeTools.h:16
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0