ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
UnassociatedHitsDecorator.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_UNASSOCIATEDHITSDECORATOR_H
6
#define DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_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 "GaudiKernel/ServiceHandle.h"
15
#include "AthLinks/ElementLink.h"
16
17
#include "
xAODEventInfo/EventInfo.h
"
18
#include "
xAODEventInfo/EventAuxInfo.h
"
19
20
#include "
DerivationFrameworkInDet/MinBiasPRDAssociation.h
"
21
#include "
DerivationFrameworkInDet/IUnassociatedHitsGetterTool.h
"
22
23
#include "
StoreGate/WriteDecorHandleKey.h
"
24
#include "
StoreGate/ReadHandleKey.h
"
25
26
namespace
DerivationFramework
{
27
28
class
UnassociatedHitsDecorator
:
public
extends<AthAlgTool, IAugmentationTool> {
29
public
:
30
31
using
base_class::base_class;
32
33
virtual
StatusCode
initialize
()
override
final
;
34
virtual
StatusCode
addBranches
(
const
EventContext& ctx)
const
override
final
;
35
36
private
:
37
38
Gaudi::Property<std::string>
m_sgName
39
{
this
,
"DecorationPrefix"
,
""
,
""
};
40
41
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
42
{
this
,
"ContainerName"
,
"EventInfo"
,
""
};
43
44
ToolHandle<IUnassociatedHitsGetterTool>
m_UnassociatedHitsGetterTool
45
{
this
,
"UnassociatedHitsGetter"
,
""
,
""
};
46
47
enum
EIntDecor
{
knPixelUADecor
,
48
knBlayerUADecor
,
49
knPixelBarrelUADecor
,
50
knPixelEndCapAUADecor
,
51
knPixelEndCapCUADecor
,
52
knSCTUADecor
,
53
knSCTBarrelUADecor
,
54
knSCTEndCapAUADecor
,
55
knSCTEndCapCUADecor
,
56
knTRTUADecor
,
57
knTRTBarrelUADecor
,
58
knTRTEndCapAUADecor
,
59
knTRTEndCapCUADecor
,
60
kNIntDecor
};
61
std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> >
m_intDecorKeys
;
62
// TODO
63
//SG::WriteDecorHandleKeyArray<xAOD::EventInfo> m_intDecorKeys{this, "DecorationKeys", m_eventInfoKey, {} };
64
65
};
66
}
67
68
#endif
// DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
AthAlgTool.h
EventAuxInfo.h
IAugmentationTool.h
IUnassociatedHitsGetterTool.h
MinBiasPRDAssociation.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
DerivationFramework::UnassociatedHitsDecorator
Definition
UnassociatedHitsDecorator.h:28
DerivationFramework::UnassociatedHitsDecorator::addBranches
virtual StatusCode addBranches(const EventContext &ctx) const override final
Definition
UnassociatedHitsDecorator.cxx:54
DerivationFramework::UnassociatedHitsDecorator::EIntDecor
EIntDecor
Definition
UnassociatedHitsDecorator.h:47
DerivationFramework::UnassociatedHitsDecorator::knTRTUADecor
@ knTRTUADecor
Definition
UnassociatedHitsDecorator.h:56
DerivationFramework::UnassociatedHitsDecorator::knPixelEndCapAUADecor
@ knPixelEndCapAUADecor
Definition
UnassociatedHitsDecorator.h:50
DerivationFramework::UnassociatedHitsDecorator::knSCTEndCapCUADecor
@ knSCTEndCapCUADecor
Definition
UnassociatedHitsDecorator.h:55
DerivationFramework::UnassociatedHitsDecorator::knPixelBarrelUADecor
@ knPixelBarrelUADecor
Definition
UnassociatedHitsDecorator.h:49
DerivationFramework::UnassociatedHitsDecorator::knTRTEndCapCUADecor
@ knTRTEndCapCUADecor
Definition
UnassociatedHitsDecorator.h:59
DerivationFramework::UnassociatedHitsDecorator::knPixelUADecor
@ knPixelUADecor
Definition
UnassociatedHitsDecorator.h:47
DerivationFramework::UnassociatedHitsDecorator::knPixelEndCapCUADecor
@ knPixelEndCapCUADecor
Definition
UnassociatedHitsDecorator.h:51
DerivationFramework::UnassociatedHitsDecorator::kNIntDecor
@ kNIntDecor
Definition
UnassociatedHitsDecorator.h:60
DerivationFramework::UnassociatedHitsDecorator::knSCTBarrelUADecor
@ knSCTBarrelUADecor
Definition
UnassociatedHitsDecorator.h:53
DerivationFramework::UnassociatedHitsDecorator::knBlayerUADecor
@ knBlayerUADecor
Definition
UnassociatedHitsDecorator.h:48
DerivationFramework::UnassociatedHitsDecorator::knSCTEndCapAUADecor
@ knSCTEndCapAUADecor
Definition
UnassociatedHitsDecorator.h:54
DerivationFramework::UnassociatedHitsDecorator::knTRTEndCapAUADecor
@ knTRTEndCapAUADecor
Definition
UnassociatedHitsDecorator.h:58
DerivationFramework::UnassociatedHitsDecorator::knSCTUADecor
@ knSCTUADecor
Definition
UnassociatedHitsDecorator.h:52
DerivationFramework::UnassociatedHitsDecorator::knTRTBarrelUADecor
@ knTRTBarrelUADecor
Definition
UnassociatedHitsDecorator.h:57
DerivationFramework::UnassociatedHitsDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
UnassociatedHitsDecorator.h:42
DerivationFramework::UnassociatedHitsDecorator::initialize
virtual StatusCode initialize() override final
Definition
UnassociatedHitsDecorator.cxx:17
DerivationFramework::UnassociatedHitsDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition
UnassociatedHitsDecorator.h:61
DerivationFramework::UnassociatedHitsDecorator::m_UnassociatedHitsGetterTool
ToolHandle< IUnassociatedHitsGetterTool > m_UnassociatedHitsGetterTool
Definition
UnassociatedHitsDecorator.h:45
DerivationFramework::UnassociatedHitsDecorator::m_sgName
Gaudi::Property< std::string > m_sgName
Definition
UnassociatedHitsDecorator.h:39
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