ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetRecTools
InDetVKalVxInJetTool
InDetVKalVxInJetTool
TCTDecorCheckInTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
//
5
// TCTDecorCheck.h - Description
6
//
7
/*
8
Test algorithm to check that TrackParticle decorations regarding the TCT are correctly saved
9
Before running TCTDecorCheck the decorations have to be applied through the InDetVKalVxInJetTool/TrackClassificationDecorator algorithm
10
11
Author: Katharina Voss
12
e-mail: katharina.voss@cern.ch
13
*/
14
#ifndef ANALYSISEXAMPLES_TCTDecorCheckInTool_H
15
#define ANALYSISEXAMPLES_TCTDecorCheckInTool_H
16
17
#include <vector>
18
#include <string>
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "GaudiKernel/ToolHandle.h"
21
#include "
StoreGate/ReadDecorHandle.h
"
22
23
#include "
xAODJet/JetContainer.h
"
24
#include "
xAODTracking/VertexContainer.h
"
25
#include "
xAODTracking/TrackParticleContainer.h
"
26
27
#include "
InDetVKalVxInJetTool/InDetTrkInJetType.h
"
28
29
30
class
TCTDecorCheckInTool
:
public
AthReentrantAlgorithm
31
{
32
public
:
33
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
34
35
virtual
StatusCode
initialize
()
override
;
36
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
37
38
//------------------------------------------------------------------------------------------------------------------
39
// Private data and functions
40
//
41
42
private
:
43
44
// get handle to TCT Tool
45
ToolHandle<InDet::IInDetTrkInJetType>
m_trackClassificationTool
46
{
this
,
"TrackClassificationTool"
,
"InDet::InDetTrkInJetType"
};
47
48
// ReadHandle for the jets
49
SG::ReadHandleKey<xAOD::JetContainer>
m_jetsKey
{
this
,
"JetContainer"
,
"AntiKt4EMPFlowJets"
,
"ReadHandleKey for Jet Container"
};
50
SG::ReadHandleKey<xAOD::TrackParticleContainer>
m_particlesKey
{
this
,
"trackCollection"
,
"InDetTrackParticles"
};
51
SG::ReadHandleKey<xAOD::VertexContainer>
m_verticesKey
{
this
,
"VertexContainer"
,
"PrimaryVertices"
};
52
54
//from https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/Event/xAOD/xAODTrackingCnv/src/TrackParticleCnvAlg.cxx
55
SG::ReadDecorHandleKey<xAOD::TrackParticleContainer>
m_trackReadDecorKeyTCTScore
{
this
,
"trackDecorKeyTCTScore"
,
56
"InDetTrackParticles.TCTScore_AntiKt4EMPFlowJets"
,
"ReadDecorHandleKey for adding TCT score to TrackParticles"
};
57
SG::ReadDecorHandleKey<xAOD::TrackParticleContainer>
m_trackReadDecorKeyJetLink
{
this
,
"trackDecorKeyJetLink"
,
58
"InDetTrackParticles.TCTJetLink_AntiKt4EMPFlowJets"
,
"ReadDecorHandleKey for adding JetLink to TrackParticles"
};
59
61
SG::ReadDecorHandleKey<xAOD::JetContainer>
m_jetReadDecorKeyTCTScore
{
this
,
"jetDecorKeyTCTScore"
,
62
"AntiKt4EMPFlowJets.TCTScore"
,
"ReadDecorHandleKey for adding TCT score to Jets"
};
63
SG::ReadDecorHandleKey<xAOD::JetContainer>
m_jetReadDecorKeyTrackLink
{
this
,
"jetDecorKeyJetLink"
,
64
"AntiKt4EMPFlowJets.TCTTrackLink"
,
"ReadDecorHandleKey for adding TrackParticleLink to Jets"
};
65
66
StringProperty
m_decoratorMethod
{
this
,
"decoratorMethod"
,
"decorateTrack"
};
67
68
};
69
70
71
#endif
AthReentrantAlgorithm.h
TrackParticleContainer.h
InDetTrkInJetType.h
JetContainer.h
ReadDecorHandle.h
Handle class for reading a decoration on an object.
VertexContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
TCTDecorCheckInTool
Definition
TCTDecorCheckInTool.h:31
TCTDecorCheckInTool::m_trackClassificationTool
ToolHandle< InDet::IInDetTrkInJetType > m_trackClassificationTool
Definition
TCTDecorCheckInTool.h:46
TCTDecorCheckInTool::m_decoratorMethod
StringProperty m_decoratorMethod
Definition
TCTDecorCheckInTool.h:66
TCTDecorCheckInTool::m_jetReadDecorKeyTCTScore
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetReadDecorKeyTCTScore
The write key for adding TCT score as decoration to Jet objects.
Definition
TCTDecorCheckInTool.h:61
TCTDecorCheckInTool::m_jetsKey
SG::ReadHandleKey< xAOD::JetContainer > m_jetsKey
Definition
TCTDecorCheckInTool.h:49
TCTDecorCheckInTool::m_verticesKey
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesKey
Definition
TCTDecorCheckInTool.h:51
TCTDecorCheckInTool::m_particlesKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_particlesKey
Definition
TCTDecorCheckInTool.h:50
TCTDecorCheckInTool::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TCTDecorCheckInTool.cxx:43
TCTDecorCheckInTool::m_jetReadDecorKeyTrackLink
SG::ReadDecorHandleKey< xAOD::JetContainer > m_jetReadDecorKeyTrackLink
Definition
TCTDecorCheckInTool.h:63
TCTDecorCheckInTool::m_trackReadDecorKeyTCTScore
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_trackReadDecorKeyTCTScore
The read key for adding TCT score as decoration to TrackParticle objects.
Definition
TCTDecorCheckInTool.h:55
TCTDecorCheckInTool::initialize
virtual StatusCode initialize() override
Definition
TCTDecorCheckInTool.cxx:11
TCTDecorCheckInTool::m_trackReadDecorKeyJetLink
SG::ReadDecorHandleKey< xAOD::TrackParticleContainer > m_trackReadDecorKeyJetLink
Definition
TCTDecorCheckInTool.h:57
Generated on
for ATLAS Offline Software by
1.17.0