![]() |
ATLAS Offline Software
|
This class stores the LUT for Tile-Muon coincidence of the Run-3 L1Muon Endcap trigger. More...
#include <TGCTileMuCoincidenceLUT.h>
Public Types | |
enum | TileMuMask { TM_NA = 0, TM_D6_L = 1, TM_D6_H = 5, TM_D56_L = 3, TM_D56_H = 7 } |
enum | { N_Input_TileMuModule =4 } |
Public Member Functions | |
TGCTileMuCoincidenceLUT (LVL1TGCTrigger::TGCArguments *, const SG::ReadCondHandleKey< TGCTriggerData > &readCondKey, const std::string &version="NA") | |
virtual | ~TGCTileMuCoincidenceLUT () |
TGCTileMuCoincidenceLUT (const TGCTileMuCoincidenceLUT &right)=default | |
TGCTileMuCoincidenceLUT & | operator= (const TGCTileMuCoincidenceLUT &right)=delete |
uint16_t | getAddr (int16_t side, int16_t sec, int16_t ssc) const |
int | getFlagPT (const int pt, const int16_t ssc, const int16_t sec, const int16_t side) const |
int | getFlagROI (const int roi, const int16_t ssc, const int16_t sec, const int16_t side) const |
int | getTrigMask (const int module, const int16_t ssc, const int16_t sec, const int16_t side) const |
const std::string & | getVersion () const |
bool | readMap () |
LVL1TGCTrigger::TGCArguments * | tgcArgs () |
const LVL1TGCTrigger::TGCArguments * | tgcArgs () const |
Private Attributes | |
std::unordered_map< uint16_t, uint8_t > | m_flagpt |
std::unordered_map< uint16_t, uint8_t > | m_flagroi |
std::unordered_map< uint16_t, uint16_t > | m_trigbit |
std::string | m_verName |
LVL1TGCTrigger::TGCArguments * | m_tgcArgs |
const SG::ReadCondHandleKey< TGCTriggerData > & | m_readCondKey |
This class stores the LUT for Tile-Muon coincidence of the Run-3 L1Muon Endcap trigger.
The contents are read from the Condition database, and are kept in the XXXX object. When the coincidence map is read from the text file, the contents is kept in member variables of this class. Note that the structure is temporary same as Run-2's one.
consists of three look-up tables a) Applied pT in SSC (m_flagpt) std::unordered_map<ADDR, PTMASK> where ADDR | 12 bits | uint16_t | side, trigger sector, and SSC PTMASK | 3 bits | uint8_t | bit mask for applied pT for SSC
b)Applied RoI in SSC (m_flagroi) std::unordered_map<ADDR, ROIMASK> where ADDR | 12 bits | uint16_t | side, trigger sector, and SSC ROIMASK | 8 bits | uint8_t | bit mask for applied RoI in SSC
c) Trigger bit for each input (m_trigbit) std::unordered_map<ADDR, TRIGBIT> where TRIGBIT is: | Module D (Tile=3) || Module C (Tile=2) || Module B (Tile=1) || Module A (Tile=0) | | 15 | 14 | 13 | 12 || 11 | 10 | 9 | 8 || 7 | 6 | 5 | 4 || 3 | 2 | 1 | 0 | | 0 | LH | D56| D6 || 0 | LH | D56| D6 || 0 | LH | D56 | D6 || 0 | LH | D56 | D6 | for each Module: [1:0] hit with cell information: D6=0x1, D56=0x3 [2] Low/High threshold: 1 = H, 0=L e.g.) 0x7 = D5+D6 energy exceeds the high threshold
for ADDR, | 11 |10| 9| 8| 7| 6| 5| 4| 3| 2| 1| 0| |side| Trig. Sector | SSC | where side = 0x0 (A-side), 0x1 (C-side). trig. sector = 0x(0...2f) SSC = 0x(0...12)
Definition at line 61 of file TGCTileMuCoincidenceLUT.h.
anonymous enum |
LVL1TGC::TGCTileMuCoincidenceLUT::TGCTileMuCoincidenceLUT | ( | LVL1TGCTrigger::TGCArguments * | tgcargs, |
const SG::ReadCondHandleKey< TGCTriggerData > & | readCondKey, | ||
const std::string & | version = "NA" |
||
) |
Definition at line 14 of file TGCTileMuCoincidenceLUT.cxx.
|
virtual |
Definition at line 40 of file TGCTileMuCoincidenceLUT.cxx.
|
default |
uint16_t LVL1TGC::TGCTileMuCoincidenceLUT::getAddr | ( | int16_t | side, |
int16_t | sec, | ||
int16_t | ssc | ||
) | const |
Definition at line 190 of file TGCTileMuCoincidenceLUT.cxx.
int LVL1TGC::TGCTileMuCoincidenceLUT::getFlagPT | ( | const int | pt, |
const int16_t | ssc, | ||
const int16_t | sec, | ||
const int16_t | side | ||
) | const |
Definition at line 150 of file TGCTileMuCoincidenceLUT.cxx.
int LVL1TGC::TGCTileMuCoincidenceLUT::getFlagROI | ( | const int | roi, |
const int16_t | ssc, | ||
const int16_t | sec, | ||
const int16_t | side | ||
) | const |
Definition at line 170 of file TGCTileMuCoincidenceLUT.cxx.
int LVL1TGC::TGCTileMuCoincidenceLUT::getTrigMask | ( | const int | module, |
const int16_t | ssc, | ||
const int16_t | sec, | ||
const int16_t | side | ||
) | const |
Definition at line 129 of file TGCTileMuCoincidenceLUT.cxx.
|
inline |
Definition at line 78 of file TGCTileMuCoincidenceLUT.h.
|
delete |
bool LVL1TGC::TGCTileMuCoincidenceLUT::readMap | ( | ) |
Definition at line 44 of file TGCTileMuCoincidenceLUT.cxx.
|
inline |
Definition at line 91 of file TGCTileMuCoincidenceLUT.h.
|
inline |
Definition at line 92 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 95 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 96 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 101 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 100 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 97 of file TGCTileMuCoincidenceLUT.h.
|
private |
Definition at line 99 of file TGCTileMuCoincidenceLUT.h.