ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include "xAODTrigger/JetRoI.h"
12
13
14inline bool vetoJet(const xAOD::jFexSRJetRoI* j){
15 return j->tobWord() == 0;
16}
17inline float et(const xAOD::jFexSRJetRoI* j){
18 return j->et();
19}
20inline std::string et_label(const xAOD::jFexSRJetRoI*){
21 return "et";
22}
23
24inline bool vetoJet(const xAOD::jFexLRJetRoI*){
25 return false;
26}
27inline float et(const xAOD::jFexLRJetRoI* j){
28 return j->et();
29}
30inline std::string et_label(const xAOD::jFexLRJetRoI*){
31 return "et";
32}
33
34
35inline bool vetoJet(const xAOD::gFexJetRoI*){
36 return false;
37}
38inline float et(const xAOD::gFexJetRoI* j){
39 return j->et();
40}
41inline std::string et_label(const xAOD::gFexJetRoI*){
42 return "et";
43}
44
45
46inline bool vetoJet(const xAOD::JetRoI*){
47 return false;
48}
49inline float et(const xAOD::JetRoI* j){
50 return j->et8x8();
51}
52inline std::string et_label(const xAOD::JetRoI*){
53 return "et8x8";
54}
55
56
57#endif
std::string et_label(const xAOD::jFexSRJetRoI *)
float et(const xAOD::jFexSRJetRoI *j)
bool vetoJet(const xAOD::jFexSRJetRoI *j)
float et8x8() const
The energy deposited in a 0.8x0.8 area around the RoI.
float et() const
retrieves the Et index from the 32-bit word
unsigned int et() const
Methods that require combining results or applying scales.
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
unsigned int et() const
Methods that require combining results or applying scales.
gFexJetRoI_v1 gFexJetRoI
Define the latest version of the gFexJetRoI class.
Definition gFexJetRoI.h:16
jFexLRJetRoI_v1 jFexLRJetRoI
Define the latest version of the jFexLRJetRoI class.
JetRoI_v2 JetRoI
Definition JetRoI.h:16
jFexSRJetRoI_v1 jFexSRJetRoI
Define the latest version of the jFexSRJetRoI class.