ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODTrigger
xAODTrigger
versions
jFexSumETRoI_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_JFEXSUMETROI_V1_H
6
#define XAODTRIGGER_VERSIONS_JFEXSUMETROI_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
jFexSumETRoI_v1
:
public
SG::AuxElement
{
23
24
public
:
26
jFexSumETRoI_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
fpgaNumber
()
const
;
34
uint8_t
jFexNumber
()
const
;
35
uint16_t
tobEt_lower
()
const
;
36
uint8_t
tobSat_lower
()
const
;
37
uint16_t
tobEt_upper
()
const
;
38
uint8_t
tobSat_upper
()
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 Et_lower from the SumEt TOB word
47
uint16_t
unpackEt_lower
()
const
;
48
void
setTobEt_lower
(
uint16_t
value) ;
49
int
Et_lower
()
const
;
50
51
//Unpack Et_upper from the SumEt TOB word
52
uint16_t
unpackEt_upper
()
const
;
53
void
setTobEt_upper
(
uint16_t
value) ;
54
int
Et_upper
()
const
;
55
56
//Unpack saturation for lower from the SumEt TOB word
57
uint8_t
unpackSat_lower
()
const
;
58
void
setTobSat_lower
(
uint8_t
value) ;
59
60
//Unpack saturation for upper from the SumEt TOB word
61
uint8_t
unpackSat_upper
()
const
;
62
void
setTobSat_upper
(
uint8_t
value) ;
63
64
//Et resolution
65
void
setResolution
(
int
value);
66
67
private
:
68
69
// Data locations within word
70
static
const
int
s_Sat_upperBit
= 31;
71
static
const
int
s_Et_upperBit
= 16;
72
static
const
int
s_Et_lowerBit
= 1;
73
static
const
int
s_Sat_lowerBit
= 0;
74
75
//Data masks
76
static
const
int
s_Sat_upperMask
= 0x1;
77
static
const
int
s_Et_upperMask
= 0x7fff;
78
static
const
int
s_Et_lowerMask
= 0x7fff;
79
static
const
int
s_Sat_lowerMask
= 0x1;
80
81
82
};
// class jFexSumETRoI_v1
83
84
}
// namespace xAOD
85
// Declare the inheritance of the type:
86
#include "
xAODCore/BaseInfo.h
"
87
SG_BASE
(
xAOD::jFexSumETRoI_v1
,
SG::AuxElement
);
88
89
#endif
//XAODTRIGGER_VERSIONS_JFEXSumETROI_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::jFexSumETRoI_v1
Class describing properties of a LVL1 jFEX global Trigger Object (TOB) in the xAOD format.
Definition
jFexSumETRoI_v1.h:22
xAOD::jFexSumETRoI_v1::unpackSat_lower
uint8_t unpackSat_lower() const
Definition
jFexSumETRoI_v1.cxx:83
xAOD::jFexSumETRoI_v1::s_Et_lowerMask
static const int s_Et_lowerMask
Definition
jFexSumETRoI_v1.h:78
xAOD::jFexSumETRoI_v1::s_Sat_upperMask
static const int s_Sat_upperMask
Definition
jFexSumETRoI_v1.h:76
xAOD::jFexSumETRoI_v1::setTobSat_upper
void setTobSat_upper(uint8_t value)
xAOD::jFexSumETRoI_v1::tobWord
uint32_t tobWord() const
The "raw" 32-bit word describing the object candidate.
xAOD::jFexSumETRoI_v1::Et_upper
int Et_upper() const
Et_upper in 1 MeV scale.
Definition
jFexSumETRoI_v1.cxx:99
xAOD::jFexSumETRoI_v1::tobSat_upper
uint8_t tobSat_upper() const
xAOD::jFexSumETRoI_v1::tobSat_lower
uint8_t tobSat_lower() const
xAOD::jFexSumETRoI_v1::setjFexNumber
void setjFexNumber(uint8_t jFexNumber)
xAOD::jFexSumETRoI_v1::unpackEt_upper
uint16_t unpackEt_upper() const
Definition
jFexSumETRoI_v1.cxx:78
xAOD::jFexSumETRoI_v1::s_Et_lowerBit
static const int s_Et_lowerBit
Definition
jFexSumETRoI_v1.h:72
xAOD::jFexSumETRoI_v1::s_Et_upperBit
static const int s_Et_upperBit
Definition
jFexSumETRoI_v1.h:71
xAOD::jFexSumETRoI_v1::tobEt_lower
uint16_t tobEt_lower() const
xAOD::jFexSumETRoI_v1::setTobWord
void setTobWord(uint32_t tobWord)
Set the "raw" 32-bit words describing the object candidate.
xAOD::jFexSumETRoI_v1::setTobSat_lower
void setTobSat_lower(uint8_t value)
xAOD::jFexSumETRoI_v1::unpackEt_lower
uint16_t unpackEt_lower() const
Raw data words.
Definition
jFexSumETRoI_v1.cxx:73
xAOD::jFexSumETRoI_v1::s_Sat_lowerMask
static const int s_Sat_lowerMask
Definition
jFexSumETRoI_v1.h:79
xAOD::jFexSumETRoI_v1::setfpgaNumber
void setfpgaNumber(uint8_t fpgaNumber)
xAOD::jFexSumETRoI_v1::s_Et_upperMask
static const int s_Et_upperMask
Definition
jFexSumETRoI_v1.h:77
xAOD::jFexSumETRoI_v1::fpgaNumber
uint8_t fpgaNumber() const
xAOD::jFexSumETRoI_v1::jFexSumETRoI_v1
jFexSumETRoI_v1()
Default constructor.
Definition
jFexSumETRoI_v1.cxx:17
xAOD::jFexSumETRoI_v1::s_Sat_upperBit
static const int s_Sat_upperBit
Definition
jFexSumETRoI_v1.h:70
xAOD::jFexSumETRoI_v1::s_Sat_lowerBit
static const int s_Sat_lowerBit
Definition
jFexSumETRoI_v1.h:73
xAOD::jFexSumETRoI_v1::setResolution
void setResolution(int value)
xAOD::jFexSumETRoI_v1::setTobEt_upper
void setTobEt_upper(uint16_t value)
xAOD::jFexSumETRoI_v1::Et_lower
int Et_lower() const
Methods that require combining results or applying scales.
Definition
jFexSumETRoI_v1.cxx:94
xAOD::jFexSumETRoI_v1::tobEt_upper
uint16_t tobEt_upper() const
xAOD::jFexSumETRoI_v1::tobEtScale
int tobEtScale() const
xAOD::jFexSumETRoI_v1::setTobEt_lower
void setTobEt_lower(uint16_t value)
xAOD::jFexSumETRoI_v1::unpackSat_upper
uint8_t unpackSat_upper() const
Definition
jFexSumETRoI_v1.cxx:87
xAOD::jFexSumETRoI_v1::jFexNumber
uint8_t jFexNumber() const
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::uint16_t
setWord1 uint16_t
Definition
eFexEMRoI_v1.cxx:93
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