ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigMonitoring
TrigJetMonitoring
src
TrigL1FexJetMonitorTool.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef TRIGJETMONITORING_TRIGL1JETFEXMONITORTOOL_H
8
#define TRIGJETMONITORING_TRIGL1JETFEXMONITORTOOL_H
9
10
#include "
TrigJetMonitoring/ITrigJetMonitorTool.h
"
11
#include "
AsgDataHandles/ReadDecorHandleKey.h
"
12
13
#include "
AthenaBaseComps/AthAlgTool.h
"
14
15
#include <string>
16
18
19
// Template paramter must provide a name T::JetContainer
20
template
<
typename
T>
21
class
TrigL1FexJetMonitorTool
:
public
extends<AthAlgTool,
22
ITrigJetMonitorTool> {
23
24
public
:
25
26
typedef
typename
T::JetContainer
JetContainer
;
27
28
TrigL1FexJetMonitorTool
(
const
std::string&,
29
const
std::string&,
30
const
IInterface*);
31
32
virtual
StatusCode
initialize
()
override
;
33
34
virtual
StatusCode
35
getData
(
const
EventContext& ctx,
36
std::vector<JetData>& jetData)
const override
;
37
38
virtual
StatusCode
39
getMatchData
(
const
EventContext& ctx,
40
MatchToEnum
,
41
std::vector<JetMatchData>& jetData)
const override
;
42
43
private
:
44
45
// initialisation using an initialise list ie {...}
46
// does not work - sommrthing to do with the template.
47
// intstead use declareProperty in the constructor.
48
SG::ReadHandleKey<JetContainer>
m_l1jetContainerkey
;
49
50
// Variables to add matched histograms
51
Gaudi::Property<bool>
m_doMatching
{
52
this
,
"do_matching"
,
false
,
53
"Plotting response histograms for L1 jets matched to online/offline jets"
};
54
55
Gaudi::Property<std::string>
m_offlineJetContainerToMatch
{
56
this
,
"offlineJetsToMatch"
,
""
,
57
"Name of matched offline jet collection"
};
58
59
Gaudi::Property<std::string>
m_HLTJetContainerToMatch
{
60
this
,
"HLTJetsToMatch"
,
""
,
"Name of matched HLT jet collection"
};
61
62
SG::ReadDecorHandleKey<JetContainer>
m_offmatchedKey
{
63
this
,
"offmatched"
,
"offmatched"
,
"SG key for input matched decoration"
};
64
65
SG::ReadDecorHandleKey<JetContainer>
m_offptdiffKey
{
66
this
,
"offptdiff"
,
"offptdiff"
,
67
"SG key for input matched ptdiff decoration"
};
68
69
SG::ReadDecorHandleKey<JetContainer>
m_offenergydiffKey
{
70
this
,
"offenergydiff"
,
"offenergydiff"
,
71
"SG key for input matched energydiff decoration"
};
72
73
SG::ReadDecorHandleKey<JetContainer>
m_offmassdiffKey
{
74
this
,
"offmassdiff"
,
"offmassdiff"
,
75
"SG key for input matched massdiff decoration"
};
76
77
SG::ReadDecorHandleKey<JetContainer>
m_offptrespKey
{
78
this
,
"offptresp"
,
"offptresp"
,
79
"SG key for input matched ptresp decoration"
};
80
81
SG::ReadDecorHandleKey<JetContainer>
m_offenergyrespKey
{
82
this
,
"offenergyresp"
,
"offenergyresp"
,
83
"SG key for input matched energyresp decoration"
};
84
85
SG::ReadDecorHandleKey<JetContainer>
m_offmassrespKey
{
86
this
,
"offmassresp"
,
"offmassresp"
,
87
"SG key for input matched massresp decoration"
};
88
89
SG::ReadDecorHandleKey<JetContainer>
m_offptrefKey
{
90
this
,
"offptref"
,
"offptref"
,
91
"SG key for input matched ptref decoration"
};
92
93
SG::ReadDecorHandleKey<JetContainer>
m_offetarefKey
{
94
this
,
"offetaref"
,
"offetaref"
,
95
"SG key for input matched etaref decoration"
};
96
97
SG::ReadDecorHandleKey<JetContainer>
m_hltmatchedKey
{
98
this
,
"hltmatched"
,
"hltmatched"
,
"SG key for input matched decoration"
};
99
100
SG::ReadDecorHandleKey<JetContainer>
m_hltptdiffKey
{
101
this
,
"hltptdiff"
,
"hltptdiff"
,
102
"SG key for input matched ptdiff decoration"
};
103
104
SG::ReadDecorHandleKey<JetContainer>
m_hltenergydiffKey
{
105
this
,
"hltenergydiff"
,
"hltenergydiff"
,
106
"SG key for input matched energydiff decoration"
};
107
108
SG::ReadDecorHandleKey<JetContainer>
m_hltmassdiffKey
{
109
this
,
"hltmassdiff"
,
"hltmassdiff"
,
110
"SG key for input matched massdiff decoration"
};
111
112
SG::ReadDecorHandleKey<JetContainer>
m_hltptrespKey
{
113
this
,
"hltptresp"
,
"hltptresp"
,
114
"SG key for input matched ptresp decoration"
};
115
116
SG::ReadDecorHandleKey<JetContainer>
m_hltenergyrespKey
{
117
this
,
"hltenergyresp"
,
"hltenergyresp"
,
118
"SG key for input matched energyresp decoration"
};
119
120
SG::ReadDecorHandleKey<JetContainer>
m_hltmassrespKey
{
121
this
,
"hltmassresp"
,
"hltmassresp"
,
122
"SG key for input matched massresp decoration"
};
123
124
SG::ReadDecorHandleKey<JetContainer>
m_hltptrefKey
{
125
this
,
"hltptref"
,
"hltptref"
,
126
"SG key for input matched ptref decoration"
};
127
128
SG::ReadDecorHandleKey<JetContainer>
m_hltetarefKey
{
129
this
,
"hltetaref"
,
"hltetaref"
,
130
"SG key for input matched etaref decoration"
};
131
132
};
133
134
#endif
135
AthAlgTool.h
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ITrigJetMonitorTool.h
MatchToEnum
MatchToEnum
Definition
ITrigJetMonitorTool.h:17
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
TrigL1FexJetMonitorTool::m_offlineJetContainerToMatch
Gaudi::Property< std::string > m_offlineJetContainerToMatch
Definition
TrigL1FexJetMonitorTool.h:55
TrigL1FexJetMonitorTool::m_hltmassrespKey
SG::ReadDecorHandleKey< JetContainer > m_hltmassrespKey
Definition
TrigL1FexJetMonitorTool.h:120
TrigL1FexJetMonitorTool::m_offmatchedKey
SG::ReadDecorHandleKey< JetContainer > m_offmatchedKey
Definition
TrigL1FexJetMonitorTool.h:62
TrigL1FexJetMonitorTool::m_offptrefKey
SG::ReadDecorHandleKey< JetContainer > m_offptrefKey
Definition
TrigL1FexJetMonitorTool.h:89
TrigL1FexJetMonitorTool::m_HLTJetContainerToMatch
Gaudi::Property< std::string > m_HLTJetContainerToMatch
Definition
TrigL1FexJetMonitorTool.h:59
TrigL1FexJetMonitorTool::m_offetarefKey
SG::ReadDecorHandleKey< JetContainer > m_offetarefKey
Definition
TrigL1FexJetMonitorTool.h:93
TrigL1FexJetMonitorTool::m_hltptdiffKey
SG::ReadDecorHandleKey< JetContainer > m_hltptdiffKey
Definition
TrigL1FexJetMonitorTool.h:100
TrigL1FexJetMonitorTool::m_hltmassdiffKey
SG::ReadDecorHandleKey< JetContainer > m_hltmassdiffKey
Definition
TrigL1FexJetMonitorTool.h:108
TrigL1FexJetMonitorTool::m_hltptrespKey
SG::ReadDecorHandleKey< JetContainer > m_hltptrespKey
Definition
TrigL1FexJetMonitorTool.h:112
TrigL1FexJetMonitorTool::getData
virtual StatusCode getData(const EventContext &ctx, std::vector< JetData > &jetData) const override
Definition
TrigL1FexJetMonitorTool.cxx:143
TrigL1FexJetMonitorTool::m_hltenergyrespKey
SG::ReadDecorHandleKey< JetContainer > m_hltenergyrespKey
Definition
TrigL1FexJetMonitorTool.h:116
TrigL1FexJetMonitorTool::m_hltenergydiffKey
SG::ReadDecorHandleKey< JetContainer > m_hltenergydiffKey
Definition
TrigL1FexJetMonitorTool.h:104
TrigL1FexJetMonitorTool::m_offptrespKey
SG::ReadDecorHandleKey< JetContainer > m_offptrespKey
Definition
TrigL1FexJetMonitorTool.h:77
TrigL1FexJetMonitorTool::initialize
virtual StatusCode initialize() override
Definition
TrigL1FexJetMonitorTool.cxx:31
TrigL1FexJetMonitorTool::m_offmassdiffKey
SG::ReadDecorHandleKey< JetContainer > m_offmassdiffKey
Definition
TrigL1FexJetMonitorTool.h:73
TrigL1FexJetMonitorTool::m_hltmatchedKey
SG::ReadDecorHandleKey< JetContainer > m_hltmatchedKey
Definition
TrigL1FexJetMonitorTool.h:97
TrigL1FexJetMonitorTool::m_hltetarefKey
SG::ReadDecorHandleKey< JetContainer > m_hltetarefKey
Definition
TrigL1FexJetMonitorTool.h:128
TrigL1FexJetMonitorTool::getMatchData
virtual StatusCode getMatchData(const EventContext &ctx, MatchToEnum, std::vector< JetMatchData > &jetData) const override
Definition
TrigL1FexJetMonitorTool.cxx:182
TrigL1FexJetMonitorTool::TrigL1FexJetMonitorTool
TrigL1FexJetMonitorTool(const std::string &, const std::string &, const IInterface *)
Definition
TrigL1FexJetMonitorTool.cxx:19
TrigL1FexJetMonitorTool::m_offenergyrespKey
SG::ReadDecorHandleKey< JetContainer > m_offenergyrespKey
Definition
TrigL1FexJetMonitorTool.h:81
TrigL1FexJetMonitorTool::m_offmassrespKey
SG::ReadDecorHandleKey< JetContainer > m_offmassrespKey
Definition
TrigL1FexJetMonitorTool.h:85
TrigL1FexJetMonitorTool::JetContainer
T::JetContainer JetContainer
Definition
TrigL1FexJetMonitorTool.h:26
TrigL1FexJetMonitorTool::m_offenergydiffKey
SG::ReadDecorHandleKey< JetContainer > m_offenergydiffKey
Definition
TrigL1FexJetMonitorTool.h:69
TrigL1FexJetMonitorTool::m_offptdiffKey
SG::ReadDecorHandleKey< JetContainer > m_offptdiffKey
Definition
TrigL1FexJetMonitorTool.h:65
TrigL1FexJetMonitorTool::m_hltptrefKey
SG::ReadDecorHandleKey< JetContainer > m_hltptrefKey
Definition
TrigL1FexJetMonitorTool.h:124
TrigL1FexJetMonitorTool::m_l1jetContainerkey
SG::ReadHandleKey< JetContainer > m_l1jetContainerkey
Definition
TrigL1FexJetMonitorTool.h:48
TrigL1FexJetMonitorTool::m_doMatching
Gaudi::Property< bool > m_doMatching
Definition
TrigL1FexJetMonitorTool.h:51
Generated on
for ATLAS Offline Software by
1.17.0