![]() |
Project
|
Trigger mapping starting from Run2. More...
#include <TriggerMappingV2.h>
Classes | |
struct | FastORInformation |
Basic FastOR information. More... | |
Public Types | |
enum class | DetType_t { DET_EMCAL , DET_DCAL } |
Calorimeter type. More... | |
using | IndexTRU = unsigned int |
using | IndexSTU = unsigned int |
using | IndexSupermodule = unsigned int |
using | IndexFastOR = unsigned int |
using | IndexCell = unsigned int |
using | IndexColumnEta = unsigned int |
using | IndexRowPhi = unsigned int |
using | IndexOnline = unsigned int |
Public Member Functions | |
TriggerMappingV2 () | |
Default constructor. | |
TriggerMappingV2 (Geometry *geo) | |
Default constructor. | |
~TriggerMappingV2 ()=default | |
Destructor. | |
IndexFastOR | getAbsFastORIndexFromIndexInTRU (IndexTRU truIndex, IndexFastOR fastorIndexTRU) const |
Get the absolute index of the FastOr from the index in the TRU. | |
IndexFastOR | getAbsFastORIndexFromPositionInTRU (IndexTRU truIndex, IndexColumnEta etaColumn, IndexRowPhi phiRow) const |
Get the absolute index of the FastOr from geometric position in TRU. | |
IndexFastOR | getAbsFastORIndexFromPositionInSupermodule (IndexSupermodule supermoduleID, IndexColumnEta etaColumn, IndexRowPhi phiRow) const |
Get the absolute index of the FastOr from the geometric position in the supermodule. | |
IndexFastOR | getAbsFastORIndexFromPositionInEMCAL (IndexColumnEta etaColumn, IndexRowPhi phiRow) const |
Get the absolute index of the FastOR from the geometric position in EMCAL. | |
IndexFastOR | getAbsFastORIndexFromPHOSSubregion (unsigned int phosRegionID) const |
std::tuple< IndexTRU, IndexFastOR > | getTRUFromAbsFastORIndex (IndexFastOR fastOrAbsID) const |
Get the TRU index and FastOR index in TRU from the absolute FastOR ID. | |
std::tuple< IndexTRU, IndexColumnEta, IndexRowPhi > | getPositionInTRUFromAbsFastORIndex (IndexFastOR fastORAbsID) const |
Get the position of a FastOR inside the TRU from the absolute FastOR ID. | |
std::tuple< IndexSupermodule, IndexColumnEta, IndexRowPhi > | getPositionInSupermoduleFromAbsFastORIndex (IndexFastOR fastORAbsID) const |
Get the position inside the supermodule from the absolute FastOR ID. | |
std::tuple< IndexColumnEta, IndexRowPhi > | getPositionInEMCALFromAbsFastORIndex (IndexFastOR fastORAbsID) const |
Get the position in the Detector from the absolute FastOR ID. | |
std::tuple< IndexTRU, IndexFastOR > | convertFastORIndexSTUtoTRU (IndexTRU truIndexSTU, IndexFastOR fastOrIndexSTU, DetType_t detector) const |
Convert TRU and FastOR index in TRU from STU number scheme to TRU number scheme. | |
std::tuple< IndexTRU, IndexFastOR > | convertFastORIndexTRUtoSTU (IndexTRU truIndexTRU, IndexFastOR fastorIndexTRU) const |
Convert TRU and FastOR index in TRU from TRU number scheme to STU number scheme. | |
std::tuple< IndexTRU, IndexColumnEta, IndexRowPhi > | convertFastORPositionSTUtoTRU (IndexTRU truIndexSTU, IndexColumnEta truEtaSTU, IndexRowPhi truPhiSTU, DetType_t detector) const |
Convert TRU and FastOR position in TRU from STU number scheme to TRU number scheme. | |
std::tuple< IndexTRU, IndexColumnEta, IndexRowPhi > | convertFastORPositionTRUtoSTU (IndexTRU truIndexTRU, IndexColumnEta etaTRU, IndexRowPhi phiTRU) const |
Convert TRU and FastOR position in TRU from TRU number scheme to STU number scheme. | |
IndexFastOR | getAbsFastORIndexFromCellIndex (IndexCell cellIndex) const |
Get the absolute FastOR index of the module containing a given cell. | |
std::array< IndexCell, 4 > | getCellIndexFromAbsFastORIndex (IndexFastOR fastORAbsID) const |
Get the indices of the cells in the module of a given FastOR. | |
IndexTRU | convertTRUIndexSTUtoTRU (IndexTRU truIndexSTU, DetType_t detector) const |
Convert the TRU index from the STU numbering scheme into the TRU numbering scheme. | |
IndexTRU | convertTRUIndexTRUtoSTU (IndexTRU truIndexTRU) const |
IndexTRU | getTRUIndexFromOnlineIndex (IndexOnline onlineIndex) const noexcept |
Get the TRU index from the online index. | |
IndexOnline | getOnlineIndexFromTRUIndex (IndexTRU truIndex) const |
Get the online index from the TRU index. | |
IndexTRU | getTRUIndexFromOnlineHardareAddree (int hardwareAddress, unsigned int ddlID, unsigned int supermoduleID) const |
Get the TRU Index from the hardware address of the ALTRO channel (TRU rawdata) | |
std::array< unsigned int, 4 > | getFastORIndexFromL0Index (IndexTRU iTRU, IndexFastOR l0index, int size) const |
FastORInformation | getInfoFromAbsFastORIndex (IndexFastOR absFastORID) const |
const std::array< unsigned int, ALLTRUS > & | getArrayTRUFastOROffsetX () const |
const std::array< unsigned int, ALLTRUS > & | getTRUFastOROffsetY () const |
const std::array< unsigned int, ALLTRUS > & | getNFastORInTRUPhi () const |
const std::array< unsigned int, ALLTRUS > & | getNFastORInTRUEta () const |
const std::array< unsigned int, SUPERMODULES > & | getArraySMFastOROffsetX () const |
const std::array< unsigned int, SUPERMODULES > & | getArraySMFastOROffsetY () const |
const std::array< unsigned int, SUPERMODULES > & | getArrayNFastORInSMPhi () const |
const std::array< unsigned int, SUPERMODULES > & | getArrayNFastORInSMEta () const |
const std::array< unsigned int, 5 > & | getArrayNModuleInEMCALPhi () const |
Static Public Attributes | |
static constexpr unsigned int | SUPERMODULES = 20 |
Total number of supermodules in EMCAL. | |
static constexpr unsigned int | ALLTRUS = 52 |
Total number of TRUs in EMCAL. | |
static constexpr unsigned int | FASTORSETATRU = 8 |
Number of FastOR/TRU in Eta. | |
static constexpr unsigned int | FASTORSPHITRU = 12 |
Number of FastOR/TRU in Phi. | |
static constexpr unsigned int | FASTORSTRU = FASTORSETATRU * FASTORSPHITRU |
Number of FastOR/TRU. | |
static constexpr unsigned int | TRUSETASM = 3 |
Number of TRUs/SM in Eta. | |
static constexpr unsigned int | TRUSPHISM = 1 |
Number of TRUs/SM in Phi. | |
static constexpr unsigned int | TRUSSUPERMODULE = TRUSETASM * TRUSPHISM |
Number of TRUs/SM. | |
static constexpr unsigned int | FASTORSETASM = FASTORSETATRU * TRUSETASM |
Number of FastOR/SM in Eta. | |
static constexpr unsigned int | FASTORSPHISM = FASTORSPHITRU * TRUSPHISM |
Number of FastOR/SM in Phi. | |
static constexpr unsigned int | FASTORSETA = 2 * FASTORSETASM |
EMCAL+DCAL region eta size. | |
static constexpr unsigned int | FASTORSPHI |
Number of FastOR/EMCALs in Phi. | |
static constexpr unsigned int | ALLFASTORS = FASTORSETA * FASTORSPHI |
Number of FastOR/EMCALs. | |
static constexpr unsigned int | PATCHESINTRU = 77 |
Trigger mapping starting from Run2.
Definition at line 32 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexCell = unsigned int |
Definition at line 61 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexColumnEta = unsigned int |
Definition at line 62 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexFastOR = unsigned int |
Definition at line 60 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexOnline = unsigned int |
Definition at line 64 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexRowPhi = unsigned int |
Definition at line 63 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexSTU = unsigned int |
Definition at line 58 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexSupermodule = unsigned int |
Definition at line 59 of file TriggerMappingV2.h.
using o2::emcal::TriggerMappingV2::IndexTRU = unsigned int |
Definition at line 57 of file TriggerMappingV2.h.
|
strong |
TriggerMappingV2::TriggerMappingV2 | ( | ) |
Default constructor.
Definition at line 20 of file TriggerMappingV2.cxx.
TriggerMappingV2::TriggerMappingV2 | ( | Geometry * | geo | ) |
Default constructor.
Definition at line 27 of file TriggerMappingV2.cxx.
|
default |
Destructor.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexFastOR > TriggerMappingV2::convertFastORIndexSTUtoTRU | ( | IndexTRU | truIndexSTU, |
IndexFastOR | fastOrIndexSTU, | ||
DetType_t | detector | ||
) | const |
Convert TRU and FastOR index in TRU from STU number scheme to TRU number scheme.
truIndexSTU | TRU index in the STU number scheme |
fastOrIndexSTU | FastOR index in STU number scheme |
detector | Subdetector (EMCAL or DCAL) |
TRUIndexException | in case the TRU index exceeds the max.number of TRUs in the EMCAL / DCAL STU region |
FastORIndexException | in case the FastOR index exceeds the number of FastORs in a TRU |
TRU and STU use different index schemes both for TRU indexing and FastOR indexing: For TRUs the TRU numbering combines the TRUs in EMCAL and DCAL, including virtual TRU indices in the PHOS retion, while the STU numbering scheme splits the TRU indicies in regions for EMCAL and DCAL excluding the PHOS regions. For what concerns the FastOR numbering scheme the STU numbering scheme uses a simple linerar indexing in eta and then in phi, while the TRU numbering scheme uses a complicated indexing starting in phi direction. Consequently a FastOR can have two different indices with the TRU depending on numbering scheme. The function converts TRU and FastOR indices from the STU scheme to the TRU scheme.
Definition at line 542 of file TriggerMappingV2.cxx.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexFastOR > TriggerMappingV2::convertFastORIndexTRUtoSTU | ( | IndexTRU | truIndexTRU, |
IndexFastOR | fastorIndexTRU | ||
) | const |
Convert TRU and FastOR index in TRU from TRU number scheme to STU number scheme.
truIndexTRU | TRU index in the TRU number scheme |
fastorIndexTRU | FastOR index in TRU number scheme |
TRUIndexException | in case the TRU index exceeds the max.number of TRUs |
FastORIndexException | in case the FastOR index exceeds the number of FastORs in a TRU |
TRU and STU use different index schemes both for TRU indexing and FastOR indexing: For TRUs the TRU numbering combines the TRUs in EMCAL and DCAL, including virtual TRU indices in the PHOS retion, while the STU numbering scheme splits the TRU indicies in regions for EMCAL and DCAL excluding the PHOS regions. For what concerns the FastOR numbering scheme the STU numbering scheme uses a simple linerar indexing in eta and then in phi, while the TRU numbering scheme uses a complicated indexing starting in phi direction. Consequently a FastOR can have two different indices with the TRU depending on numbering scheme. The function converts TRU and FastOR indices from the TRU scheme to the STU scheme.
Definition at line 572 of file TriggerMappingV2.cxx.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexColumnEta, TriggerMappingV2::IndexRowPhi > TriggerMappingV2::convertFastORPositionSTUtoTRU | ( | IndexTRU | truIndexSTU, |
IndexColumnEta | truEtaSTU, | ||
IndexRowPhi | truPhiSTU, | ||
DetType_t | detector | ||
) | const |
Convert TRU and FastOR position in TRU from STU number scheme to TRU number scheme.
truIndexSTU | TRU index in the STU number scheme |
truEtaSTU | Column of the FastOR in STU number scheme |
truPhiSTU | Row of the FastOR in STU number scheme |
detector | Subdetector (EMCAL or DCAL) |
TRUIndexException | in case the TRU index exceeds the max.number of TRUs in the EMCAL / DCAL STU region |
FastORPositionExceptionTRU | in case the position in column and row exceeds the number of columns or rows of a TRU |
TRU and STU use different index schemes both for TRU indexing and FastOR indexing: For TRUs the TRU numbering combines the TRUs in EMCAL and DCAL, including virtual TRU indices in the PHOS retion, while the STU numbering scheme splits the TRU indicies in regions for EMCAL and DCAL excluding the PHOS regions. For what concerns the FastOR numbering scheme the STU numbering scheme uses a simple linerar indexing in eta and then in phi, while the TRU numbering scheme uses a complicated indexing starting in phi direction. Consequently a FastOR can have two different indices with the TRU depending on numbering scheme. The function converts TRU and FastOR position from the STU scheme to the TRU scheme.
Definition at line 559 of file TriggerMappingV2.cxx.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexColumnEta, TriggerMappingV2::IndexRowPhi > TriggerMappingV2::convertFastORPositionTRUtoSTU | ( | IndexTRU | truIndexTRU, |
IndexColumnEta | etaTRU, | ||
IndexRowPhi | phiTRU | ||
) | const |
Convert TRU and FastOR position in TRU from TRU number scheme to STU number scheme.
truIndexSTU | TRU index in the TRU number scheme |
truEtaSTU | Column of the FastOR in TRU number scheme |
truPhiSTU | Row of the FastOR in TRU number scheme |
TRUIndexException | in case the TRU index exceeds the max.number of TRUs |
FastORPositionExceptionTRU | in case the position in column and row exceeds the number of columns or rows of a TRU |
TRU and STU use different index schemes both for TRU indexing and FastOR indexing: For TRUs the TRU numbering combines the TRUs in EMCAL and DCAL, including virtual TRU indices in the PHOS retion, while the STU numbering scheme splits the TRU indicies in regions for EMCAL and DCAL excluding the PHOS regions. For what concerns the FastOR numbering scheme the STU numbering scheme uses a simple linerar indexing in eta and then in phi, while the TRU numbering scheme uses a complicated indexing starting in phi direction. Consequently a FastOR can have two different indices with the TRU depending on numbering scheme. The function converts TRU and FastOR position from the TRU scheme to the STU scheme.
Definition at line 589 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexTRU TriggerMappingV2::convertTRUIndexSTUtoTRU | ( | IndexTRU | truIndexSTU, |
DetType_t | detector | ||
) | const |
Convert the TRU index from the STU numbering scheme into the TRU numbering scheme.
truIndexSTU | TRU index im STU numbering scheme |
detector | Subdetector type |
TRUIndexException | in case the TRU index exceeds the max. number of TRUs in the EMCAL/DCAL STU region |
The index scheme in the STU definition uses separate ranges for EMCAL and DCAL, where the EMCAL contains 32 TRUs and the DCAL 14 TRUs. The index is converted into the TRU index scheme adding the TRU index in DCAL + the amount of virtual TRUs in the PHOS region (2 per sector) to the TRU index in EMCAL.
Definition at line 338 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexTRU TriggerMappingV2::convertTRUIndexTRUtoSTU | ( | IndexTRU | truIndexTRU | ) | const |
Convert the TRU index from the TRU numbering scheme into the STU numbering scheme
truIndexTRU | TRU index im TRU numbering scheme |
The index scheme in TRU definintion consists of a linear list of TRU indices combining EMCAL and DCAL TRUs, togtehter with virtual TRUs in the PHOS region (2 per sector). The TRU index is spearated for TRUs in EMCAL and DCAL, in each side starting with 0. On the EMCAL side the TRU index is the same in both index schemes. On the DCAL side the virtual TRU index of the the PHOS region is dropped, therefore calling the function for TRU indices in the PHOS region leads to the TRU indices of the corresponding C-side TRUs in the same sector.
Definition at line 351 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromCellIndex | ( | IndexCell | cellIndex | ) | const |
Get the absolute FastOR index of the module containing a given cell.
cellIndex | Index of the cell |
GeometryNotSetException | in case the Geometry is not initialized |
InvalidCellIDException | in case the cell ID is outside range |
Definition at line 291 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromIndexInTRU | ( | IndexTRU | truIndex, |
IndexFastOR | fastorIndexTRU | ||
) | const |
Get the absolute index of the FastOr from the index in the TRU.
truIndex | Index of the TRU in the TRU numbering scheme |
positionInTRU | Channel index within the TRU |
TRUIndexExcepiton | in case of invalid TRU index |
FastORIndexException | in case of invalid position in TRU |
Calculating the absolute ID of the FastOR which is a unique index of a FastOR. It is calcuated as phi + eta * NPhi, added to sum of FastORs in the TRUs with smaller TRU index.
Definition at line 163 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromPHOSSubregion | ( | unsigned int | phosRegionID | ) | const |
Trigger mapping method, from position in PHOS Index sub region get FastOR index
phosRegionID | Indes of the PHOS subregion |
PHOSRegionException |
Calculating the absolute ID of the PHOS subregions, which are treated in the indexing as if they were regular DCAL TRUs and FastORs.
Definition at line 242 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromPositionInEMCAL | ( | IndexColumnEta | etaColumn, |
IndexRowPhi | phiRow | ||
) | const |
Get the absolute index of the FastOR from the geometric position in EMCAL.
etaColumn | Position of the channel in eta direction |
phiRow | Position of the channel in phi direction |
FastORPositionExceptionEMCAL | in case the position is not a valid index within the EMCAL |
Calculating the absolute ID of the FastOR which is a linear number scheme in eta and phi of the full EMCAL + DCAL surface defined as column + 48 * row. TRU index and FastOR index are based on the TRU numbering scheme.
Definition at line 229 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromPositionInSupermodule | ( | IndexSupermodule | supermoduleID, |
IndexColumnEta | etaColumn, | ||
IndexRowPhi | phiRow | ||
) | const |
Get the absolute index of the FastOr from the geometric position in the supermodule.
supermoduleID | Supermodule index |
etaColumn | Position of the channel in eta direction |
phiRow | Position of the channel in phi direction |
SupermoduleIndexException | in case the supermodule ID exceeds the number of supermodules |
FastORPositionExceptionSupermodule | in case the position is within the supermodule |
Calculating the absolute ID of the FastOR which is a unique index of a FastOR. It is calcuated as phi + eta * NPhi, added to sum of FastORs in the TRUs with smaller TRU index.
Definition at line 207 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexFastOR TriggerMappingV2::getAbsFastORIndexFromPositionInTRU | ( | IndexTRU | truIndex, |
IndexColumnEta | etaColumn, | ||
IndexRowPhi | phiRow | ||
) | const |
Get the absolute index of the FastOr from geometric position in TRU.
truIndex | Index of the TRU in the TRU numbering scheme |
etaColumn | Position of the channel in eta direction |
phiRow | Position of the channel in phi direction |
TRUIndexException | in case of invalid TRU indices |
Calculating the absolute ID of the FastOR which is a unique index of a FastOR. It is calcuated as phi + eta * NPhi, added to sum of FastORs in the TRUs with smaller TRU index.
Definition at line 183 of file TriggerMappingV2.cxx.
|
inline |
Definition at line 357 of file TriggerMappingV2.h.
|
inline |
Definition at line 356 of file TriggerMappingV2.h.
|
inline |
Definition at line 358 of file TriggerMappingV2.h.
|
inline |
Definition at line 354 of file TriggerMappingV2.h.
|
inline |
Definition at line 355 of file TriggerMappingV2.h.
|
inline |
Definition at line 350 of file TriggerMappingV2.h.
std::array< TriggerMappingV2::IndexCell, 4 > TriggerMappingV2::getCellIndexFromAbsFastORIndex | ( | IndexFastOR | fastORAbsID | ) | const |
Get the indices of the cells in the module of a given FastOR.
fastORAbsID | Absolute index of the FastOR |
GeometryNotSetException | in case the geometry is not initialized |
FastORIndexException | in case the FastOR ID is invalid |
Definition at line 314 of file TriggerMappingV2.cxx.
std::array< unsigned int, 4 > TriggerMappingV2::getFastORIndexFromL0Index | ( | IndexTRU | iTRU, |
IndexFastOR | l0index, | ||
int | size | ||
) | const |
Trigger mapping method, from L0 index get FastOR index
iTRU | TRU index |
l0index | L0? index |
idx | indeces associated to FASTOR? |
size | ? |
Definition at line 410 of file TriggerMappingV2.cxx.
TriggerMappingV2::FastORInformation TriggerMappingV2::getInfoFromAbsFastORIndex | ( | IndexFastOR | absFastORID | ) | const |
Definition at line 440 of file TriggerMappingV2.cxx.
|
inline |
Definition at line 353 of file TriggerMappingV2.h.
|
inline |
Definition at line 352 of file TriggerMappingV2.h.
|
inline |
Get the online index from the TRU index.
Definition at line 311 of file TriggerMappingV2.h.
std::tuple< TriggerMappingV2::IndexColumnEta, TriggerMappingV2::IndexRowPhi > TriggerMappingV2::getPositionInEMCALFromAbsFastORIndex | ( | IndexFastOR | fastORAbsID | ) | const |
Get the position in the Detector from the absolute FastOR ID.
fastORAbsID | Absolute ID of the FastOR |
FastORIndexException | in case the FastOR index is not valid |
Inverse mapping frunction calculating the position of a FastOR within the EMCAL+DCAL surface from the absolute FastOR ID.
Definition at line 279 of file TriggerMappingV2.cxx.
std::tuple< TriggerMappingV2::IndexSupermodule, TriggerMappingV2::IndexColumnEta, TriggerMappingV2::IndexRowPhi > TriggerMappingV2::getPositionInSupermoduleFromAbsFastORIndex | ( | IndexFastOR | fastORAbsID | ) | const |
Get the position inside the supermodule from the absolute FastOR ID.
fastORAbsID | Absolute ID of the FastOR |
FastORIndexException | in case the FastOR index is not valid |
Inverse mapping function calculating the postion within a supermodule of a FastOR and its corresponding supermodule ID from the absolute FastOR ID
Definition at line 271 of file TriggerMappingV2.cxx.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexColumnEta, TriggerMappingV2::IndexRowPhi > TriggerMappingV2::getPositionInTRUFromAbsFastORIndex | ( | IndexFastOR | fastORAbsID | ) | const |
Get the position of a FastOR inside the TRU from the absolute FastOR ID.
fastORAbsID | Absolute ID of the FastOR |
FastORIndexException | in case the FastOR index is not valid |
Inverse mapping function calculating the position within a TRU of a FastOR and its corresponding TRU from the absolute FastOR ID.
Definition at line 262 of file TriggerMappingV2.cxx.
|
inline |
Definition at line 351 of file TriggerMappingV2.h.
std::tuple< TriggerMappingV2::IndexTRU, TriggerMappingV2::IndexFastOR > TriggerMappingV2::getTRUFromAbsFastORIndex | ( | IndexFastOR | fastOrAbsID | ) | const |
Get the TRU index and FastOR index in TRU from the absolute FastOR ID.
fastOrAbsID | Absoulte ID of the FastOR |
FastORIndexException | in case the FastOR index is not valid |
Inverse mapping function calculating back the index of the FastOR inside a TRU and its corresponding TRU from the absolute FastOR ID
Definition at line 254 of file TriggerMappingV2.cxx.
TriggerMappingV2::IndexTRU TriggerMappingV2::getTRUIndexFromOnlineHardareAddree | ( | int | hardwareAddress, |
unsigned int | ddlID, | ||
unsigned int | supermoduleID | ||
) | const |
Get the TRU Index from the hardware address of the ALTRO channel (TRU rawdata)
hardwareAddress | hardware address |
ddlID | ID of the DDL of the ALTRO channel |
supermoduleID | uper-module number |
TRUIndexException | in case the TRU index is out-of-range |
Definition at line 372 of file TriggerMappingV2.cxx.
|
inlinenoexcept |
Get the TRU index from the online index.
Definition at line 307 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/EMCALs.
Definition at line 51 of file TriggerMappingV2.h.
|
staticconstexpr |
Total number of TRUs in EMCAL.
Definition at line 39 of file TriggerMappingV2.h.
|
staticconstexpr |
EMCAL+DCAL region eta size.
Definition at line 48 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/SM in Eta.
Definition at line 46 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/TRU in Eta.
Definition at line 40 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/EMCALs in Phi.
Definition at line 49 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/SM in Phi.
Definition at line 47 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/TRU in Phi.
Definition at line 41 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of FastOR/TRU.
Definition at line 42 of file TriggerMappingV2.h.
|
staticconstexpr |
Definition at line 52 of file TriggerMappingV2.h.
|
staticconstexpr |
Total number of supermodules in EMCAL.
Definition at line 38 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of TRUs/SM in Eta.
Definition at line 43 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of TRUs/SM in Phi.
Definition at line 44 of file TriggerMappingV2.h.
|
staticconstexpr |
Number of TRUs/SM.
Definition at line 45 of file TriggerMappingV2.h.