ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigT1CaloUtils
TrigT1CaloUtils
ModuleEnergy.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
/***************************************************************************
5
ModuleEnergy.h - description
6
-------------------
7
begin : Tues Sep 4 2007
8
email : Alan.Watson@cern.ch
9
***************************************************************************/
10
11
12
#ifndef MODULEENERGY_H
13
#define MODULEENERGY_H
14
15
16
#include "
xAODTrigL1Calo/JetElement.h
"
17
#include "
TrigT1CaloUtils/JetElementKey.h
"
18
#include "
TrigT1CaloUtils/JetEnergyModuleKey.h
"
19
#include "
TrigT1Interfaces/Coordinate.h
"
20
21
#include <map>
22
#include <vector>
23
27
namespace
LVL1
{
28
40
41
class
ModuleEnergy
{
42
public
:
43
44
ModuleEnergy
(
const
xAOD::JetElementMap_t
* JEContainer,
unsigned
int
crate
,
unsigned
int
module
,
45
int
JEThresholdEtSum,
int
JEThresholdEtMiss,
const
std::map<int, int>* TEMasks = 0,
int
slice = -1);
46
47
ModuleEnergy
(
unsigned
int
crate
,
unsigned
int
module
,
unsigned
int
et
,
48
unsigned
int
ex
,
unsigned
int
ey
);
49
50
~ModuleEnergy
();
51
53
unsigned
int
crate
()
const
;
54
unsigned
int
module
()
const
;
57
unsigned
int
et
()
const
;
58
unsigned
int
ex
()
const
;
59
unsigned
int
ey
()
const
;
60
int
signX
()
const
;
61
int
signY
()
const
;
62
63
private
:
//atribs
64
int
m_jetElementThresholdEtSum
;
65
int
m_jetElementThresholdEtMiss
;
66
unsigned
int
m_Et
;
67
unsigned
int
m_Ex
;
68
unsigned
int
m_Ey
;
69
int
m_signX
;
70
int
m_signY
;
71
unsigned
int
m_crate
;
72
unsigned
int
m_module
;
73
bool
m_debug
;
74
static
const
unsigned
int
m_EtBits
= 14;
75
76
void
getSinCos
(
double
eta
,
double
phi
,
int
& cosPhi,
int
& sinPhi);
77
78
};
79
80
}
81
#endif
82
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
JetElement.h
JetElementKey.h
JetEnergyModuleKey.h
Coordinate.h
LVL1::ModuleEnergy::ModuleEnergy
ModuleEnergy(const xAOD::JetElementMap_t *JEContainer, unsigned int crate, unsigned int module, int JEThresholdEtSum, int JEThresholdEtMiss, const std::map< int, int > *TEMasks=0, int slice=-1)
Definition
ModuleEnergy.cxx:19
LVL1::ModuleEnergy::crate
unsigned int crate() const
which module is this?
Definition
ModuleEnergy.cxx:144
LVL1::ModuleEnergy::m_Ex
unsigned int m_Ex
Definition
ModuleEnergy.h:67
LVL1::ModuleEnergy::m_jetElementThresholdEtSum
int m_jetElementThresholdEtSum
Definition
ModuleEnergy.h:64
LVL1::ModuleEnergy::et
unsigned int et() const
return the scalar & vector sums of all JE ETs (i.e sums the energies of up to 32 contained JEs)
Definition
ModuleEnergy.cxx:153
LVL1::ModuleEnergy::module
unsigned int module() const
return module number
Definition
ModuleEnergy.cxx:148
LVL1::ModuleEnergy::m_jetElementThresholdEtMiss
int m_jetElementThresholdEtMiss
Definition
ModuleEnergy.h:65
LVL1::ModuleEnergy::m_signX
int m_signX
Definition
ModuleEnergy.h:69
LVL1::ModuleEnergy::m_Ey
unsigned int m_Ey
Definition
ModuleEnergy.h:68
LVL1::ModuleEnergy::m_debug
bool m_debug
Definition
ModuleEnergy.h:73
LVL1::ModuleEnergy::m_Et
unsigned int m_Et
Definition
ModuleEnergy.h:66
LVL1::ModuleEnergy::m_crate
unsigned int m_crate
Definition
ModuleEnergy.h:71
LVL1::ModuleEnergy::m_EtBits
static const unsigned int m_EtBits
Definition
ModuleEnergy.h:74
LVL1::ModuleEnergy::~ModuleEnergy
~ModuleEnergy()
Definition
ModuleEnergy.cxx:140
LVL1::ModuleEnergy::getSinCos
void getSinCos(double eta, double phi, int &cosPhi, int &sinPhi)
return cos, sin coefficients for a given JetElement
Definition
ModuleEnergy.cxx:172
LVL1::ModuleEnergy::m_module
unsigned int m_module
Definition
ModuleEnergy.h:72
LVL1::ModuleEnergy::ey
unsigned int ey() const
Definition
ModuleEnergy.cxx:159
LVL1::ModuleEnergy::m_signY
int m_signY
Definition
ModuleEnergy.h:70
LVL1::ModuleEnergy::signX
int signX() const
return signs of Ex and Ey for this module
Definition
ModuleEnergy.cxx:164
LVL1::ModuleEnergy::signY
int signY() const
Definition
ModuleEnergy.cxx:167
LVL1::ModuleEnergy::ex
unsigned int ex() const
Definition
ModuleEnergy.cxx:156
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
IZdcDataAccess.h:13
xAOD::JetElementMap_t
std::map< int, const JetElement * > JetElementMap_t
Definition
Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JetElement.h:18
Generated on
for ATLAS Offline Software by
1.17.0