ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigger
xAODTrigger
versions
jFexMETRoI_v1.h
Go to the documentation of this file.
1
//create
2
/*
3
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
4
*/
5
#ifndef XAODTRIGGER_VERSIONS_JFEXMETROI_V1_H
6
#define XAODTRIGGER_VERSIONS_JFEXMETROI_V1_H
7
8
// System include(s):
9
extern
"C"
{
10
# include <stdint.h>
11
}
12
#include <vector>
13
#include <string>
14
15
// xAOD include(s):
16
#include "
AthContainers/AuxElement.h
"
17
namespace
xAOD
{
18
21
22
class
jFexMETRoI_v1
:
public
SG::AuxElement
{
23
24
public
:
26
jFexMETRoI_v1
();
27
29
void
initialize
(
uint8_t
jFexNumber
,
uint8_t
fpgaNumber
,
uint32_t
tobWord
,
int
resolution);
30
32
uint32_t
tobWord
()
const
;
33
uint8_t
jFexNumber
()
const
;
34
uint8_t
fpgaNumber
()
const
;
35
int
tobEx
()
const
;
36
int
tobEy
()
const
;
37
uint8_t
tobRes
()
const
;
38
uint8_t
tobSat
()
const
;
39
int
tobEtScale
()
const
;
40
42
void
setTobWord
(
uint32_t
tobWord
);
43
void
setjFexNumber
(
uint8_t
jFexNumber
);
44
void
setfpgaNumber
(
uint8_t
fpgaNumber
);
45
46
//Unpack the Met Ex bits from the TOB word in 200 MeV
47
int
unpackEx
()
const
;
48
void
setTobEx
(
int
value);
49
int
Ex
()
const
;
50
51
//Unpack the Met Ey bits from the TOB word in 200 MeV
52
int
unpackEy
()
const
;
53
void
setTobEy
(
int
value);
54
int
Ey
()
const
;
55
56
//Unpack the reserved bits from the TOB word
57
unsigned
int
unpackRes
()
const
;
58
void
setTobRes
(
uint8_t
value);
59
60
//Unpack the saturarion bits from the TOB word
61
unsigned
int
unpackSat
()
const
;
62
void
setTobSat
(
uint8_t
value);
63
64
//Et resolution
65
void
setResolution
(
int
value);
66
67
private
:
68
//Constants used in converting to ATLAS units
69
static
const
float
s_tobEtScale
;
70
71
// Data locations within word
72
static
const
int
s_ResBit
= 31;
73
static
const
int
s_Ey_Bit
= 16;
74
static
const
int
s_Ex_Bit
= 1;
75
static
const
int
s_SatBit
= 0;
76
77
//bit to check if MET is negative
78
static
const
int
s_signed_E
= 14;
79
80
//Data masks
81
static
const
int
s_E_xMask
= 0x7fff;
82
static
const
int
s_E_yMask
= 0x7fff;
83
static
const
int
s_ResMask
= 0x1;
84
static
const
int
s_SatMask
= 0x1;
85
86
87
};
// class jFexMETRoI_v1
88
89
}
// namespace xAOD
90
// Declare the inheritance of the type:
91
#include "
xAODCore/BaseInfo.h
"
92
SG_BASE
(
xAOD::jFexMETRoI_v1
,
SG::AuxElement
);
93
94
#endif
//XAODTRIGGER_VERSIONS_JFEXMETROI_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
BaseInfo.h
xAOD::jFexMETRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition
jFexMETRoI_v1.h:22
xAOD::jFexMETRoI_v1::tobEtScale
int tobEtScale() const
xAOD::jFexMETRoI_v1::unpackEx
int unpackEx() const
Raw data words.
Definition
jFexMETRoI_v1.cxx:73
xAOD::jFexMETRoI_v1::s_tobEtScale
static const float s_tobEtScale
Definition
jFexMETRoI_v1.h:69
xAOD::jFexMETRoI_v1::unpackRes
unsigned int unpackRes() const
Definition
jFexMETRoI_v1.cxx:98
xAOD::jFexMETRoI_v1::unpackSat
unsigned int unpackSat() const
Definition
jFexMETRoI_v1.cxx:93
xAOD::jFexMETRoI_v1::s_Ex_Bit
static const int s_Ex_Bit
Definition
jFexMETRoI_v1.h:74
xAOD::jFexMETRoI_v1::Ey
int Ey() const
Met Ey in 1 MeV scale (all signs considered).
Definition
jFexMETRoI_v1.cxx:114
xAOD::jFexMETRoI_v1::setTobEy
void setTobEy(int value)
xAOD::jFexMETRoI_v1::s_ResBit
static const int s_ResBit
Definition
jFexMETRoI_v1.h:72
xAOD::jFexMETRoI_v1::unpackEy
int unpackEy() const
Definition
jFexMETRoI_v1.cxx:83
xAOD::jFexMETRoI_v1::tobEx
int tobEx() const
xAOD::jFexMETRoI_v1::jFexNumber
uint8_t jFexNumber() const
xAOD::jFexMETRoI_v1::tobWord
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
xAOD::jFexMETRoI_v1::setTobEx
void setTobEx(int value)
xAOD::jFexMETRoI_v1::fpgaNumber
uint8_t fpgaNumber() const
xAOD::jFexMETRoI_v1::s_signed_E
static const int s_signed_E
Definition
jFexMETRoI_v1.h:78
xAOD::jFexMETRoI_v1::tobRes
uint8_t tobRes() const
xAOD::jFexMETRoI_v1::s_SatMask
static const int s_SatMask
Definition
jFexMETRoI_v1.h:84
xAOD::jFexMETRoI_v1::setTobRes
void setTobRes(uint8_t value)
xAOD::jFexMETRoI_v1::setjFexNumber
void setjFexNumber(uint8_t jFexNumber)
xAOD::jFexMETRoI_v1::s_E_xMask
static const int s_E_xMask
Definition
jFexMETRoI_v1.h:81
xAOD::jFexMETRoI_v1::s_SatBit
static const int s_SatBit
Definition
jFexMETRoI_v1.h:75
xAOD::jFexMETRoI_v1::s_Ey_Bit
static const int s_Ey_Bit
Definition
jFexMETRoI_v1.h:73
xAOD::jFexMETRoI_v1::s_E_yMask
static const int s_E_yMask
Definition
jFexMETRoI_v1.h:82
xAOD::jFexMETRoI_v1::setTobSat
void setTobSat(uint8_t value)
xAOD::jFexMETRoI_v1::tobEy
int tobEy() const
xAOD::jFexMETRoI_v1::Ex
int Ex() const
Methods that require combining results or applying scales.
Definition
jFexMETRoI_v1.cxx:105
xAOD::jFexMETRoI_v1::tobSat
uint8_t tobSat() const
xAOD::jFexMETRoI_v1::setResolution
void setResolution(int value)
xAOD::jFexMETRoI_v1::jFexMETRoI_v1
jFexMETRoI_v1()
Default constructor.
Definition
jFexMETRoI_v1.cxx:17
xAOD::jFexMETRoI_v1::s_ResMask
static const int s_ResMask
Definition
jFexMETRoI_v1.h:83
xAOD::jFexMETRoI_v1::setTobWord
void setTobWord(uint32_t tobWord)
Set the "raw" 32-bit words describing the object candidate.
xAOD::jFexMETRoI_v1::setfpgaNumber
void setfpgaNumber(uint8_t fpgaNumber)
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::uint8_t
uint8_t
Definition
Muon_v1.cxx:500
xAOD::uint32_t
setEventNumber uint32_t
Definition
EventInfo_v1.cxx:127
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0