ATLAS Offline Software
L1MonitorAdaptors.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGJETMONITOR_L1MONITORADAPTORS_H
6 #define TRIGJETMONITOR_L1MONITORADAPTORS_H
7 
10 #include "xAODTrigger/gFexJetRoI.h"
11 #include "xAODTrigger/JetRoI.h"
12 
13 
14 inline bool vetoJet(const xAOD::jFexSRJetRoI* j){
15  return j->tobWord() == 0;
16 }
17 inline float et(const xAOD::jFexSRJetRoI* j){
18  return j->et();
19 }
20 inline std::string et_label(const xAOD::jFexSRJetRoI*){
21  return "et";
22 }
23 
24 inline bool vetoJet(const xAOD::jFexLRJetRoI*){
25  return false;
26 }
27 inline float et(const xAOD::jFexLRJetRoI* j){
28  return j->et();
29 }
30 inline std::string et_label(const xAOD::jFexLRJetRoI*){
31  return "et";
32 }
33 
34 
35 inline bool vetoJet(const xAOD::gFexJetRoI*){
36  return false;
37 }
38 inline float et(const xAOD::gFexJetRoI* j){
39  return j->et();
40 }
41 inline std::string et_label(const xAOD::gFexJetRoI*){
42  return "et";
43 }
44 
45 
46 inline bool vetoJet(const xAOD::JetRoI*){
47  return false;
48 }
49 inline float et(const xAOD::JetRoI* j){
50  return j->et8x8();
51 }
52 inline std::string et_label(const xAOD::JetRoI*){
53  return "et8x8";
54 }
55 
56 
57 #endif
xAOD::jFexSRJetRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition: jFexSRJetRoI_v1.h:22
xAOD::JetRoI_v2::et8x8
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
jFexLRJetRoI.h
xAOD::jFexLRJetRoI_v1::et
unsigned int et() const
Methods that require combining results or applying scales.
Definition: jFexLRJetRoI_v1.cxx:139
xAOD::jFexSRJetRoI_v1::tobWord
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
xAOD::jFexLRJetRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition: jFexLRJetRoI_v1.h:22
jFexSRJetRoI.h
xAOD::gFexJetRoI_v1
Class describing properties of a LVL1 gFEX jet Trigger Object (TOB) in the xAOD format.
Definition: gFexJetRoI_v1.h:25
xAOD::gFexJetRoI_v1::et
float et() const
retrieves the Et index from the 32-bit word
Definition: gFexJetRoI_v1.cxx:157
et_label
std::string et_label(const xAOD::jFexSRJetRoI *)
Definition: L1MonitorAdaptors.h:20
et
float et(const xAOD::jFexSRJetRoI *j)
Definition: L1MonitorAdaptors.h:17
gFexJetRoI.h
xAOD::JetRoI_v2
Class describing a LVL1 jet region of interest.
Definition: JetRoI_v2.h:35
JetRoI.h
vetoJet
bool vetoJet(const xAOD::jFexSRJetRoI *j)
Definition: L1MonitorAdaptors.h:14
xAOD::jFexSRJetRoI_v1::et
unsigned int et() const
Methods that require combining results or applying scales.
Definition: jFexSRJetRoI_v1.cxx:138