Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Trigger
TrigT1
L1CaloFEX
L1CaloFEXByteStream
src
channelMappings
channelMappings
EfexCellMapping.h
Go to the documentation of this file.
1
#ifndef EFEX_CELL_MAPPING_H
2
#define EFEX_CELL_MAPPING_H
3
4
#include "
channelMappings/L1CaloDetectorRegion.h
"
5
#include "
channelMappings/EfexCSVTables.h
"
6
#include "
channelMappings/EfexHardwareInfo.h
"
7
8
#include <cmath>
9
#include <string>
10
#include <iostream>
11
#include <stdio.h>
12
#include <cstdlib>
13
#include <memory>
14
class
EfexCellMapping
{
15
16
public
:
17
enum
roiType
{
Roi
};
18
// Constructor for input data
19
EfexCellMapping
(
int
crate,
20
int
efexnumber,
int
fpga,
int
quad
,
int
mgtchannel,
int
dataword){
21
init
( crate, efexnumber, fpga,
quad
, mgtchannel, dataword);
22
};
23
//Constructor for output MGT scheme (0 to 48):
24
EfexCellMapping
(
int
crate,
25
int
efexnumber,
int
fpga,
int
mgtchannelout,
int
dataword);
26
// Constructor for TOB positions
27
EfexCellMapping
(
roiType
t
,
int
crate,
28
int
efexnumber,
int
fpga,
int
eta
,
int
phi
);
29
// Constructor for TOB positions with seed
30
EfexCellMapping
(
roiType
t
,
int
crate,
31
int
efexnumber,
int
fpga,
int
eta
,
int
phi
,
int
seed );
32
// From full HW info returns an L1CaloDetectorRegion object which
33
// gives exact tower/supercell + depth
34
L1CaloDetectorRegion
getDetectorRegion
()
const
;
35
EfexHardwareInfo
getHardwareInfo
()
const
;
36
std::string
getLatomeID
()
const
;
37
//Dirty additions for Steve TODO remove later
38
int
m_fibrenumber
{-1};
39
int
m_inputconnector
{-1};
40
private
:
41
void
init
(
int
crate,
int
efexnumber,
int
fpga,
int
quad
,
int
mgtchannel ,
int
dataword);
42
std::string
findModuleCords
(
int
crate,
int
efexnumber)
const
;
43
L1CaloDetectorRegion
m_region
;
44
EfexHardwareInfo
m_hwinfo
;
45
EfexCSVTables
&
m_tables
{
EfexCSVTables::getInstance
() };
46
std::string
m_latomeid
;
47
};
48
49
#endif // EFEX_CELL_MAPPING_H
EfexCellMapping::m_tables
EfexCSVTables & m_tables
Definition:
EfexCellMapping.h:45
phi
Scalar phi() const
phi method
Definition:
AmgMatrixBasePlugin.h:67
eta
Scalar eta() const
pseudorapidity method
Definition:
AmgMatrixBasePlugin.h:83
EfexCellMapping::getDetectorRegion
L1CaloDetectorRegion getDetectorRegion() const
Definition:
EfexCellMapping.cxx:73
EfexCellMapping::getHardwareInfo
EfexHardwareInfo getHardwareInfo() const
Definition:
EfexCellMapping.cxx:78
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
EfexHardwareInfo.h
EfexHardwareInfo
Definition:
EfexHardwareInfo.h:4
EfexCellMapping::EfexCellMapping
EfexCellMapping(int crate, int efexnumber, int fpga, int quad, int mgtchannel, int dataword)
Definition:
EfexCellMapping.h:19
EfexCellMapping::m_latomeid
std::string m_latomeid
Definition:
EfexCellMapping.h:46
EfexCellMapping::Roi
@ Roi
Definition:
EfexCellMapping.h:17
EfexCellMapping::roiType
roiType
Definition:
EfexCellMapping.h:17
L1CaloDetectorRegion.h
EfexCSVTables.h
EfexCellMapping::m_inputconnector
int m_inputconnector
Definition:
EfexCellMapping.h:39
EfexCellMapping::init
void init(int crate, int efexnumber, int fpga, int quad, int mgtchannel, int dataword)
Definition:
EfexCellMapping.cxx:86
EfexCellMapping::m_hwinfo
EfexHardwareInfo m_hwinfo
Definition:
EfexCellMapping.h:44
L1CaloDetectorRegion
Definition:
L1CaloDetectorRegion.h:8
EfexCellMapping::m_fibrenumber
int m_fibrenumber
Definition:
EfexCellMapping.h:38
EfexCellMapping::findModuleCords
std::string findModuleCords(int crate, int efexnumber) const
Definition:
EfexCellMapping.cxx:239
EfexCSVTables::getInstance
static EfexCSVTables & getInstance()
Definition:
EfexCSVTables.cxx:5
EfexCellMapping
Definition:
EfexCellMapping.h:14
EfexCSVTables
Definition:
EfexCSVTables.h:6
EfexCellMapping::getLatomeID
std::string getLatomeID() const
Definition:
EfexCellMapping.cxx:82
dumpNswErrorDb.quad
def quad
Definition:
dumpNswErrorDb.py:30
EfexCellMapping::m_region
L1CaloDetectorRegion m_region
Definition:
EfexCellMapping.h:43
Generated on Wed Apr 9 2025 21:10:00 for ATLAS Offline Software by
1.8.18