ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkInDet
DerivationFrameworkInDet
UnassociatedHitsDecorator.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
// UnassociatedHitsDecorator.h, (c) ATLAS Detector software
8
9
#ifndef DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
10
#define DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
11
12
#include <string>
13
#include <vector>
14
15
#include "
AthenaBaseComps/AthAlgTool.h
"
16
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
17
#include "GaudiKernel/ToolHandle.h"
18
#include "GaudiKernel/ServiceHandle.h"
19
#include "AthLinks/ElementLink.h"
20
21
#include "
xAODEventInfo/EventInfo.h
"
22
#include "
xAODEventInfo/EventAuxInfo.h
"
23
24
#include "
DerivationFrameworkInDet/MinBiasPRDAssociation.h
"
25
#include "
DerivationFrameworkInDet/IUnassociatedHitsGetterTool.h
"
26
27
#include "
StoreGate/WriteDecorHandleKey.h
"
28
#include "
StoreGate/ReadHandleKey.h
"
29
30
namespace
DerivationFramework
{
31
32
class
UnassociatedHitsDecorator
:
public
AthAlgTool
,
public
IAugmentationTool
{
33
public
:
34
UnassociatedHitsDecorator
(
const
std::string&
type
,
const
std::string&
name
,
const
IInterface*
parent
);
35
36
StatusCode
initialize
();
37
StatusCode
finalize
();
38
virtual
StatusCode
addBranches
()
const
;
39
40
private
:
41
42
Gaudi::Property<std::string>
m_sgName
43
{
this
,
"DecorationPrefix"
,
""
,
""
};
44
45
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
46
{
this
,
"ContainerName"
,
"EventInfo"
,
""
};
47
48
ToolHandle<IUnassociatedHitsGetterTool>
m_UnassociatedHitsGetterTool
49
{
this
,
"UnassociatedHitsGetter"
,
""
,
""
};
50
51
enum
EIntDecor
{
knPixelUADecor
,
52
knBlayerUADecor
,
53
knPixelBarrelUADecor
,
54
knPixelEndCapAUADecor
,
55
knPixelEndCapCUADecor
,
56
knSCTUADecor
,
57
knSCTBarrelUADecor
,
58
knSCTEndCapAUADecor
,
59
knSCTEndCapCUADecor
,
60
knTRTUADecor
,
61
knTRTBarrelUADecor
,
62
knTRTEndCapAUADecor
,
63
knTRTEndCapCUADecor
,
64
kNIntDecor
};
65
std::vector<SG::WriteDecorHandleKey<xAOD::EventInfo> >
m_intDecorKeys
;
66
67
};
68
}
69
70
#endif // DERIVATIONFRAMEWORK_UNASSOCIATEDHITSDECORATOR_H
DerivationFramework::UnassociatedHitsDecorator::EIntDecor
EIntDecor
Definition:
UnassociatedHitsDecorator.h:51
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DerivationFramework::UnassociatedHitsDecorator
Definition:
UnassociatedHitsDecorator.h:32
DerivationFramework::UnassociatedHitsDecorator::initialize
StatusCode initialize()
Definition:
UnassociatedHitsDecorator.cxx:28
MinBiasPRDAssociation.h
DerivationFramework::UnassociatedHitsDecorator::m_intDecorKeys
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > m_intDecorKeys
Definition:
UnassociatedHitsDecorator.h:65
IAugmentationTool.h
DerivationFramework::UnassociatedHitsDecorator::knPixelEndCapCUADecor
@ knPixelEndCapCUADecor
Definition:
UnassociatedHitsDecorator.h:55
DerivationFramework::UnassociatedHitsDecorator::knSCTEndCapCUADecor
@ knSCTEndCapCUADecor
Definition:
UnassociatedHitsDecorator.h:59
DerivationFramework::UnassociatedHitsDecorator::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition:
UnassociatedHitsDecorator.cxx:69
DerivationFramework::UnassociatedHitsDecorator::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition:
UnassociatedHitsDecorator.h:46
SG::ReadHandleKey< xAOD::EventInfo >
DerivationFramework::UnassociatedHitsDecorator::knPixelUADecor
@ knPixelUADecor
Definition:
UnassociatedHitsDecorator.h:51
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
DerivationFramework::UnassociatedHitsDecorator::kNIntDecor
@ kNIntDecor
Definition:
UnassociatedHitsDecorator.h:64
DerivationFramework::UnassociatedHitsDecorator::m_sgName
Gaudi::Property< std::string > m_sgName
Definition:
UnassociatedHitsDecorator.h:43
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
DerivationFramework::UnassociatedHitsDecorator::knSCTBarrelUADecor
@ knSCTBarrelUADecor
Definition:
UnassociatedHitsDecorator.h:57
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
EventAuxInfo.h
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
DerivationFramework::UnassociatedHitsDecorator::knBlayerUADecor
@ knBlayerUADecor
Definition:
UnassociatedHitsDecorator.h:52
EventInfo.h
DerivationFramework::UnassociatedHitsDecorator::knTRTBarrelUADecor
@ knTRTBarrelUADecor
Definition:
UnassociatedHitsDecorator.h:61
DerivationFramework::UnassociatedHitsDecorator::knPixelEndCapAUADecor
@ knPixelEndCapAUADecor
Definition:
UnassociatedHitsDecorator.h:54
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
DerivationFramework::UnassociatedHitsDecorator::knTRTEndCapCUADecor
@ knTRTEndCapCUADecor
Definition:
UnassociatedHitsDecorator.h:63
DerivationFramework::UnassociatedHitsDecorator::UnassociatedHitsDecorator
UnassociatedHitsDecorator(const std::string &type, const std::string &name, const IInterface *parent)
Definition:
UnassociatedHitsDecorator.cxx:20
IUnassociatedHitsGetterTool.h
DerivationFramework::UnassociatedHitsDecorator::knSCTUADecor
@ knSCTUADecor
Definition:
UnassociatedHitsDecorator.h:56
AthAlgTool
Definition:
AthAlgTool.h:26
DerivationFramework::UnassociatedHitsDecorator::knTRTUADecor
@ knTRTUADecor
Definition:
UnassociatedHitsDecorator.h:60
DerivationFramework::UnassociatedHitsDecorator::m_UnassociatedHitsGetterTool
ToolHandle< IUnassociatedHitsGetterTool > m_UnassociatedHitsGetterTool
Definition:
UnassociatedHitsDecorator.h:49
DerivationFramework::UnassociatedHitsDecorator::knTRTEndCapAUADecor
@ knTRTEndCapAUADecor
Definition:
UnassociatedHitsDecorator.h:62
DerivationFramework::UnassociatedHitsDecorator::knPixelBarrelUADecor
@ knPixelBarrelUADecor
Definition:
UnassociatedHitsDecorator.h:53
DerivationFramework::UnassociatedHitsDecorator::knSCTEndCapAUADecor
@ knSCTEndCapAUADecor
Definition:
UnassociatedHitsDecorator.h:58
DerivationFramework::UnassociatedHitsDecorator::finalize
StatusCode finalize()
Definition:
UnassociatedHitsDecorator.cxx:64
Generated on Thu Nov 7 2024 21:31:15 for ATLAS Offline Software by
1.8.18