ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
eta
Scalar eta() const
pseudorapidity method
Definition
AmgMatrixBasePlugin.h:83
phi
Scalar phi() const
phi method
Definition
AmgMatrixBasePlugin.h:67
EfexCSVTables.h
EfexHardwareInfo.h
L1CaloDetectorRegion.h
EfexCSVTables
Definition
EfexCSVTables.h:6
EfexCSVTables::getInstance
static EfexCSVTables & getInstance()
Definition
EfexCSVTables.cxx:5
EfexCellMapping::m_latomeid
std::string m_latomeid
Definition
EfexCellMapping.h:46
EfexCellMapping::init
void init(int crate, int efexnumber, int fpga, int quad, int mgtchannel, int dataword)
Definition
EfexCellMapping.cxx:89
EfexCellMapping::EfexCellMapping
EfexCellMapping(int crate, int efexnumber, int fpga, int quad, int mgtchannel, int dataword)
Definition
EfexCellMapping.h:19
EfexCellMapping::findModuleCords
std::string findModuleCords(int crate, int efexnumber) const
Definition
EfexCellMapping.cxx:242
EfexCellMapping::m_inputconnector
int m_inputconnector
Definition
EfexCellMapping.h:39
EfexCellMapping::m_hwinfo
EfexHardwareInfo m_hwinfo
Definition
EfexCellMapping.h:44
EfexCellMapping::getDetectorRegion
L1CaloDetectorRegion getDetectorRegion() const
Definition
EfexCellMapping.cxx:76
EfexCellMapping::m_fibrenumber
int m_fibrenumber
Definition
EfexCellMapping.h:38
EfexCellMapping::getLatomeID
std::string getLatomeID() const
Definition
EfexCellMapping.cxx:85
EfexCellMapping::getHardwareInfo
EfexHardwareInfo getHardwareInfo() const
Definition
EfexCellMapping.cxx:81
EfexCellMapping::m_region
L1CaloDetectorRegion m_region
Definition
EfexCellMapping.h:43
EfexCellMapping::roiType
roiType
Definition
EfexCellMapping.h:17
EfexCellMapping::Roi
@ Roi
Definition
EfexCellMapping.h:17
EfexCellMapping::m_tables
EfexCSVTables & m_tables
Definition
EfexCellMapping.h:45
EfexHardwareInfo
Definition
EfexHardwareInfo.h:9
L1CaloDetectorRegion
Simple class to mainly store eta/phi information (indices, granularity, trigger tower coordinates) as...
Definition
L1CaloDetectorRegion.h:8
Generated on
for ATLAS Offline Software by
1.17.0