ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Friends | List of all members
TGCTriggerData Class Reference

#include <TGCTriggerData.h>

Collaboration diagram for TGCTriggerData:

Public Types

enum  { CW_BW =0, CW_EIFI =1, CW_TILE =2, CW_NUM =3 }
 
enum  {
  N_PT_THRESH =6, N_SIDE =2, N_OCTANT =8, N_ENDCAP_SSC =19,
  N_ENDCAP_SECTOR =48, N_ROI_IN_SSC =8, N_EIFI_INPUT =4, N_EIFI_REGION =2,
  N_EIFI_READOUT =2, N_EIFI_TRIGBIT =4, N_TILE_INPUT =4
}
 
enum  { COIN_HH =0x0, COIN_HL =0x1, COIN_LH =0x2, COIN_LL =0x3 }
 

Public Member Functions

 TGCTriggerData ()
 
virtual ~TGCTriggerData ()
 
std::string getType (int cwtype) const
 
bool isActive (int cwtype) const
 
int8_t getTYPE (const int16_t lDR, const int16_t hDR, const int16_t lDPhi, const int16_t hDPhi) const
 
uint8_t getBigWheelPt (const uint32_t addr) const
 
unsigned short getTrigBitEifi (int side, int slot, int ssc, int sectorId) const
 
unsigned char getFlagPtEifi (int side, int ssc, int sectorId) const
 
unsigned char getFlagRoiEifi (int side, int ssc, int sectorId) const
 
unsigned short getTrigMaskTile (int ssc, int sectorId, int side) const
 
unsigned char getFlagPtTile (int ssc, int sectorId, int side) const
 
uint8_t getFlagRoiTile (int ssc, int sectorId, int side) const
 

Static Public Attributes

static constexpr uint8_t SIDE_MASK = 0x1
 Mask for extracting the side from the GLOBALADDR. More...
 
static constexpr uint8_t SIDE_SHIFT = 29
 Bit position of the side bit in the GLOBALADDR. More...
 
static constexpr uint8_t OCTANT_MASK = 0x7
 Mask for extracting the octant from the GLOBALADDR. More...
 
static constexpr uint8_t OCTANT_SHIFT = 26
 Bit position of the octant bits in the GLOBALADDR. More...
 
static constexpr uint8_t TYPE_MASK = 0x7
 Mask for extracting the octant from the GLOBALADDR. More...
 
static constexpr uint8_t TYPE_SHIFT = 26
 Bit position of the octant bits in the GLOBALADDR. More...
 
static constexpr uint8_t PHIMOD2_MASK = 0x1
 Mask for extracting the phi(F or B) from the GLOBALADDR. More...
 
static constexpr uint8_t PHIMOD2_SHIFT = 22
 Bit position of the module number bits in the GLOBALADDR. More...
 
static constexpr uint8_t MODULE_MASK = 0xf
 Mask for extracting the module number from the GLOBALADDR. More...
 
static constexpr uint8_t MODULE_SHIFT = 18
 Bit position of the module number bits in the GLOBALADDR. More...
 
static constexpr uint8_t ROI_MASK = 0xff
 Mask for extracting the module number from the GLOBALADDR. More...
 
static constexpr uint8_t ROI_SHIFT = 10
 Bit position of the module number bits in the GLOBALADDR. More...
 
static constexpr uint8_t DR_MASK = 0x1f
 Mask for extracting the deltaR from the GLOBALADDR. More...
 
static constexpr uint8_t DR_SHIFT = 4
 Bit position of the deltaR bits in the GLOBALADDR. More...
 
static constexpr uint8_t DPHI_MASK = 0xf
 Mask for extracting the deltaPhi from the GLOBALADDR. More...
 
static constexpr uint8_t DPHI_SHIFT = 0
 Bit position of the deltaPhi bits in the GLOBALADDR. More...
 
static constexpr uint8_t PT_MASK = 0x7
 Mask for pT value for Run-2. More...
 
static constexpr uint8_t DR_HIGH_RANGE = 15
 Range of DR in the BW coincidence window for 3-station. More...
 
static constexpr uint8_t DR_LOW_RANGE = 7
 Range of DR in the BW coincidence window for 2-station. More...
 
static constexpr uint8_t DPHI_HIGH_RANGE = 7
 Range of DPhi in the BW coincidence window for 3-station. More...
 
static constexpr uint8_t DPHI_LOW_RANGE = 3
 Range of DPhi in the BW coincidence window for 2-station. More...
 
static constexpr uint8_t SECTOR_MASK = 0x3f
 Mask for trigger sector for the (EIFI/TILE) ADDR. More...
 
static constexpr uint8_t SSC_MASK = 0x1f
 Mask for SSC for the (EIFI/TILE) ADDR. More...
 
static constexpr uint8_t ADDR_SIDE_SHIFT = 11
 Bit position of the side bit in the (EIFI/TILE) ADDR. More...
 
static constexpr uint8_t ADDR_SECTOR_SHIFT = 5
 Bit position of the trigger sector bit in the (EIFI/TILE) ADDR. More...
 
static constexpr uint8_t EIFI_TRIGBIT_SHIFT = 2
 Special bit shift for the EIFI Trigger bit. More...
 

Private Attributes

std::string m_type [CW_NUM]
 
bool m_active [CW_NUM] {}
 
std::unordered_map< uint32_t, uint8_t > m_ptmap_bw
 Run-2 BW-CW LUT map. More...
 
std::unordered_map< uint16_t, uint8_t > m_flagpt_eifi
 
std::unordered_map< uint16_t, uint8_t > m_flagroi_eifi
 
std::unordered_map< uint16_t, uint16_t > m_trigbit_eifi
 
std::unordered_map< uint16_t, uint8_t > m_flagpt_tile
 
std::unordered_map< uint16_t, uint8_t > m_flagroi_tile
 
std::unordered_map< uint16_t, uint16_t > m_trigbit_tile
 

Friends

class TGCTriggerDbAlg
 

Detailed Description

Contents of Run-2 BW-CW LUT

std::unordered_map<GLOBALADDR, PTVALUE> where GLOBALADDR | 27 bits | uint32_t | side, octant, type, phimod2, module, roi, | DR(0...0x1f for -15...15)<<4 & DPhi(0...0xf for -7...7) PTVALUE | 3 bits | uint8_t | pT value (0x0 and 0x7 is no cand.)

for GLOBALADDR | 29 |28|27|26|25|24|23| 22 |21|20|19|18|17|16|15|14|13|12|11|10| 9| 8| 7| 6| 5| 4| 3| 2| 1| 0| |side| octant | 0|type |phimod2| module | RoI | 0| delta R | delta Phi | where side = 0x0 (A-side), 0x1 (C-side). octant = 0x(0...7) type = 0x0 (HH), 0x1 (HL), 0x2 (LH), 0x3 (LL): HL means 3-station-wire and 2-station-strip.

Bit information of Run-2 EIFI-LUT

a) Applied pT in SSC (m_flagpt_eifi) 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_eifi) 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

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)

c) Trigger bit for each input (m_trigbit_eifi) std::unordered_map<INPUTADDR, TRIGBIT> where TRIGBIT is: | EI || FI | | Strip | Wire || Strip | Wire | | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 || 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | | <–L phi S--> | <–L eta S--> || <–L phi S--> | <–L eta S-->| where each sensor consists of 4 bits information.

for INPUTADDR | 13 |12|11|10| 9| 8| 7| 6| 5| 4| 3| 2| 1| 0| |side| Trig. Sector | SSC |Input| where side = 0x0 (A-side), 0x1 (C-side). trig. sector = 0x(0...2f) SSC = 0x(0...12) Input = 0x(0...3)

Contents of Run-2 Tile-CW LUT

a) Applied pT in SSC (m_flagpt_tile) 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_tile) 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_tile) 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 101 of file TGCTriggerData.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CW_BW 
CW_EIFI 
CW_TILE 
CW_NUM 

Definition at line 160 of file TGCTriggerData.h.

160 {CW_BW=0, CW_EIFI=1, CW_TILE=2, CW_NUM=3};

◆ anonymous enum

anonymous enum
Enumerator
N_PT_THRESH 
N_SIDE 
N_OCTANT 
N_ENDCAP_SSC 
N_ENDCAP_SECTOR 
N_ROI_IN_SSC 
N_EIFI_INPUT 
N_EIFI_REGION 
N_EIFI_READOUT 
N_EIFI_TRIGBIT 
N_TILE_INPUT 

Definition at line 161 of file TGCTriggerData.h.

161  {N_PT_THRESH=6,
162  N_SIDE=2,
163  N_OCTANT=8,
164  N_ENDCAP_SSC=19,
165  N_ENDCAP_SECTOR=48,
166  N_ROI_IN_SSC=8,
167  N_EIFI_INPUT=4,
168  N_EIFI_REGION=2,
169  N_EIFI_READOUT=2,
170  N_EIFI_TRIGBIT=4,
171  N_TILE_INPUT=4};

◆ anonymous enum

anonymous enum
Enumerator
COIN_HH 
COIN_HL 
COIN_LH 
COIN_LL 

Definition at line 172 of file TGCTriggerData.h.

172 {COIN_HH=0x0, COIN_HL=0x1, COIN_LH=0x2, COIN_LL=0x3};

Constructor & Destructor Documentation

◆ TGCTriggerData()

TGCTriggerData::TGCTriggerData ( )

Definition at line 8 of file TGCTriggerData.cxx.

9 {}

◆ ~TGCTriggerData()

TGCTriggerData::~TGCTriggerData ( )
virtual

Definition at line 11 of file TGCTriggerData.cxx.

12 {}

Member Function Documentation

◆ getBigWheelPt()

uint8_t TGCTriggerData::getBigWheelPt ( const uint32_t  addr) const

Definition at line 36 of file TGCTriggerData.cxx.

37 {
38  std::unordered_map<uint32_t, uint8_t>::const_iterator it = m_ptmap_bw.find(addr);
39  if(it == m_ptmap_bw.end()) return 0x0; // outside from defined window, i.e. pT=0
40  else return it->second;
41 }

◆ getFlagPtEifi()

unsigned char TGCTriggerData::getFlagPtEifi ( int  side,
int  ssc,
int  sectorId 
) const

Definition at line 55 of file TGCTriggerData.cxx.

56 {
57  int sideindex = (m_type[CW_EIFI] != "full") ? 0 : side;
58  uint16_t addr = ((sideindex & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
59  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
60  (ssc & SSC_MASK);
61  std::unordered_map<uint16_t, uint8_t>::const_iterator it = m_flagpt_eifi.find(addr);
62  if(it == m_flagpt_eifi.end()) return 0x0; // undefined sector (or active=0)
63  else return it->second;
64 }

◆ getFlagPtTile()

uint8_t TGCTriggerData::getFlagPtTile ( int  ssc,
int  sectorId,
int  side 
) const

Definition at line 87 of file TGCTriggerData.cxx.

88 {
89  uint16_t addr = ((side & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
90  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
91  (ssc & SSC_MASK);
92  std::unordered_map<uint16_t, uint8_t>::const_iterator it = m_flagpt_tile.find(addr);
93  if(it == m_flagpt_tile.end()) return 0x0; // undefined sector (or active=0)
94  else return it->second;
95 }

◆ getFlagRoiEifi()

unsigned char TGCTriggerData::getFlagRoiEifi ( int  side,
int  ssc,
int  sectorId 
) const

Definition at line 66 of file TGCTriggerData.cxx.

67 {
68  int sideindex = (m_type[CW_EIFI] != "full") ? 0 : side;
69  uint16_t addr = ((sideindex & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
70  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
71  (ssc & SSC_MASK);
72  std::unordered_map<uint16_t, uint8_t>::const_iterator it = m_flagroi_eifi.find(addr);
73  if(it == m_flagroi_eifi.end()) return 0x0; // undefined sector (or active=0)
74  else return it->second;
75 }

◆ getFlagRoiTile()

uint8_t TGCTriggerData::getFlagRoiTile ( int  ssc,
int  sectorId,
int  side 
) const

Definition at line 97 of file TGCTriggerData.cxx.

98 {
99  uint16_t addr = ((side & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
100  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
101  (ssc & SSC_MASK);
102  std::unordered_map<uint16_t, uint8_t>::const_iterator it = m_flagroi_tile.find(addr);
103  if(it == m_flagroi_tile.end()) return 0x0; // undefined sector (or active=0)
104  else return it->second;
105 }

◆ getTrigBitEifi()

unsigned short TGCTriggerData::getTrigBitEifi ( int  side,
int  slot,
int  ssc,
int  sectorId 
) const

Definition at line 43 of file TGCTriggerData.cxx.

44 {
45  int sideindex = (m_type[CW_EIFI] != "full") ? 0 : side;
46  uint16_t addr = ((sideindex & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
47  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
48  (ssc & SSC_MASK);
49  addr = (addr<<EIFI_TRIGBIT_SHIFT) + slot;
50  std::unordered_map<uint16_t, uint16_t>::const_iterator it = m_trigbit_eifi.find(addr);
51  if(it == m_trigbit_eifi.end()) return 0x0; // undefined sector (or active=0)
52  else return it->second;
53 }

◆ getTrigMaskTile()

uint16_t TGCTriggerData::getTrigMaskTile ( int  ssc,
int  sectorId,
int  side 
) const

Definition at line 77 of file TGCTriggerData.cxx.

78 {
79  uint16_t addr = ((side & SIDE_MASK)<<ADDR_SIDE_SHIFT) +
80  ((sectorId & SECTOR_MASK)<<ADDR_SECTOR_SHIFT) +
81  (ssc & SSC_MASK);
82  std::unordered_map<uint16_t, uint16_t>::const_iterator it = m_trigbit_tile.find(addr);
83  if(it == m_trigbit_tile.end()) return 0x0; // undefined sector (or active=0)
84  else return it->second;
85 }

◆ getTYPE()

int8_t TGCTriggerData::getTYPE ( const int16_t  lDR,
const int16_t  hDR,
const int16_t  lDPhi,
const int16_t  hDPhi 
) const

Definition at line 24 of file TGCTriggerData.cxx.

25 {
26  if((lDR == -DR_HIGH_RANGE) && (hDR == DR_HIGH_RANGE)) {
27  if ((lDPhi == -DPHI_HIGH_RANGE) && (hDPhi == DPHI_HIGH_RANGE)) return COIN_HH;
28  else if((lDPhi == -DPHI_LOW_RANGE) && (hDPhi == DPHI_LOW_RANGE)) return COIN_HL;
29  } else if((lDR == -DR_LOW_RANGE) && (hDR == DR_LOW_RANGE)) {
30  if ((lDPhi == -DPHI_HIGH_RANGE) && (hDPhi == DPHI_HIGH_RANGE)) return COIN_LH;
31  else if((lDPhi == -DPHI_LOW_RANGE) && (hDPhi == DPHI_LOW_RANGE)) return COIN_LL;
32  }
33  return -1;
34 }

◆ getType()

std::string TGCTriggerData::getType ( int  cwtype) const

Definition at line 14 of file TGCTriggerData.cxx.

15 {
16  return m_type[cwtype];
17 }

◆ isActive()

bool TGCTriggerData::isActive ( int  cwtype) const

Definition at line 19 of file TGCTriggerData.cxx.

20 {
21  return m_active[cwtype];
22 }

Friends And Related Function Documentation

◆ TGCTriggerDbAlg

friend class TGCTriggerDbAlg
friend

Definition at line 103 of file TGCTriggerData.h.

Member Data Documentation

◆ ADDR_SECTOR_SHIFT

constexpr uint8_t TGCTriggerData::ADDR_SECTOR_SHIFT = 5
staticconstexpr

Bit position of the trigger sector bit in the (EIFI/TILE) ADDR.

Definition at line 156 of file TGCTriggerData.h.

◆ ADDR_SIDE_SHIFT

constexpr uint8_t TGCTriggerData::ADDR_SIDE_SHIFT = 11
staticconstexpr

Bit position of the side bit in the (EIFI/TILE) ADDR.

Definition at line 154 of file TGCTriggerData.h.

◆ DPHI_HIGH_RANGE

constexpr uint8_t TGCTriggerData::DPHI_HIGH_RANGE = 7
staticconstexpr

Range of DPhi in the BW coincidence window for 3-station.

Definition at line 146 of file TGCTriggerData.h.

◆ DPHI_LOW_RANGE

constexpr uint8_t TGCTriggerData::DPHI_LOW_RANGE = 3
staticconstexpr

Range of DPhi in the BW coincidence window for 2-station.

Definition at line 148 of file TGCTriggerData.h.

◆ DPHI_MASK

constexpr uint8_t TGCTriggerData::DPHI_MASK = 0xf
staticconstexpr

Mask for extracting the deltaPhi from the GLOBALADDR.

Definition at line 135 of file TGCTriggerData.h.

◆ DPHI_SHIFT

constexpr uint8_t TGCTriggerData::DPHI_SHIFT = 0
staticconstexpr

Bit position of the deltaPhi bits in the GLOBALADDR.

Definition at line 137 of file TGCTriggerData.h.

◆ DR_HIGH_RANGE

constexpr uint8_t TGCTriggerData::DR_HIGH_RANGE = 15
staticconstexpr

Range of DR in the BW coincidence window for 3-station.

Definition at line 142 of file TGCTriggerData.h.

◆ DR_LOW_RANGE

constexpr uint8_t TGCTriggerData::DR_LOW_RANGE = 7
staticconstexpr

Range of DR in the BW coincidence window for 2-station.

Definition at line 144 of file TGCTriggerData.h.

◆ DR_MASK

constexpr uint8_t TGCTriggerData::DR_MASK = 0x1f
staticconstexpr

Mask for extracting the deltaR from the GLOBALADDR.

Definition at line 131 of file TGCTriggerData.h.

◆ DR_SHIFT

constexpr uint8_t TGCTriggerData::DR_SHIFT = 4
staticconstexpr

Bit position of the deltaR bits in the GLOBALADDR.

Definition at line 133 of file TGCTriggerData.h.

◆ EIFI_TRIGBIT_SHIFT

constexpr uint8_t TGCTriggerData::EIFI_TRIGBIT_SHIFT = 2
staticconstexpr

Special bit shift for the EIFI Trigger bit.

Definition at line 158 of file TGCTriggerData.h.

◆ m_active

bool TGCTriggerData::m_active[CW_NUM] {}
private

Definition at line 194 of file TGCTriggerData.h.

◆ m_flagpt_eifi

std::unordered_map<uint16_t, uint8_t> TGCTriggerData::m_flagpt_eifi
private

Definition at line 200 of file TGCTriggerData.h.

◆ m_flagpt_tile

std::unordered_map<uint16_t, uint8_t> TGCTriggerData::m_flagpt_tile
private

Definition at line 205 of file TGCTriggerData.h.

◆ m_flagroi_eifi

std::unordered_map<uint16_t, uint8_t> TGCTriggerData::m_flagroi_eifi
private

Definition at line 201 of file TGCTriggerData.h.

◆ m_flagroi_tile

std::unordered_map<uint16_t, uint8_t> TGCTriggerData::m_flagroi_tile
private

Definition at line 206 of file TGCTriggerData.h.

◆ m_ptmap_bw

std::unordered_map<uint32_t, uint8_t> TGCTriggerData::m_ptmap_bw
private

Run-2 BW-CW LUT map.

Definition at line 197 of file TGCTriggerData.h.

◆ m_trigbit_eifi

std::unordered_map<uint16_t, uint16_t> TGCTriggerData::m_trigbit_eifi
private

Definition at line 202 of file TGCTriggerData.h.

◆ m_trigbit_tile

std::unordered_map<uint16_t, uint16_t> TGCTriggerData::m_trigbit_tile
private

Definition at line 207 of file TGCTriggerData.h.

◆ m_type

std::string TGCTriggerData::m_type[CW_NUM]
private

Definition at line 193 of file TGCTriggerData.h.

◆ MODULE_MASK

constexpr uint8_t TGCTriggerData::MODULE_MASK = 0xf
staticconstexpr

Mask for extracting the module number from the GLOBALADDR.

Definition at line 123 of file TGCTriggerData.h.

◆ MODULE_SHIFT

constexpr uint8_t TGCTriggerData::MODULE_SHIFT = 18
staticconstexpr

Bit position of the module number bits in the GLOBALADDR.

Definition at line 125 of file TGCTriggerData.h.

◆ OCTANT_MASK

constexpr uint8_t TGCTriggerData::OCTANT_MASK = 0x7
staticconstexpr

Mask for extracting the octant from the GLOBALADDR.

Definition at line 111 of file TGCTriggerData.h.

◆ OCTANT_SHIFT

constexpr uint8_t TGCTriggerData::OCTANT_SHIFT = 26
staticconstexpr

Bit position of the octant bits in the GLOBALADDR.

Definition at line 113 of file TGCTriggerData.h.

◆ PHIMOD2_MASK

constexpr uint8_t TGCTriggerData::PHIMOD2_MASK = 0x1
staticconstexpr

Mask for extracting the phi(F or B) from the GLOBALADDR.

Definition at line 119 of file TGCTriggerData.h.

◆ PHIMOD2_SHIFT

constexpr uint8_t TGCTriggerData::PHIMOD2_SHIFT = 22
staticconstexpr

Bit position of the module number bits in the GLOBALADDR.

Definition at line 121 of file TGCTriggerData.h.

◆ PT_MASK

constexpr uint8_t TGCTriggerData::PT_MASK = 0x7
staticconstexpr

Mask for pT value for Run-2.

Definition at line 139 of file TGCTriggerData.h.

◆ ROI_MASK

constexpr uint8_t TGCTriggerData::ROI_MASK = 0xff
staticconstexpr

Mask for extracting the module number from the GLOBALADDR.

Definition at line 127 of file TGCTriggerData.h.

◆ ROI_SHIFT

constexpr uint8_t TGCTriggerData::ROI_SHIFT = 10
staticconstexpr

Bit position of the module number bits in the GLOBALADDR.

Definition at line 129 of file TGCTriggerData.h.

◆ SECTOR_MASK

constexpr uint8_t TGCTriggerData::SECTOR_MASK = 0x3f
staticconstexpr

Mask for trigger sector for the (EIFI/TILE) ADDR.

Definition at line 150 of file TGCTriggerData.h.

◆ SIDE_MASK

constexpr uint8_t TGCTriggerData::SIDE_MASK = 0x1
staticconstexpr

Mask for extracting the side from the GLOBALADDR.

Definition at line 107 of file TGCTriggerData.h.

◆ SIDE_SHIFT

constexpr uint8_t TGCTriggerData::SIDE_SHIFT = 29
staticconstexpr

Bit position of the side bit in the GLOBALADDR.

Definition at line 109 of file TGCTriggerData.h.

◆ SSC_MASK

constexpr uint8_t TGCTriggerData::SSC_MASK = 0x1f
staticconstexpr

Mask for SSC for the (EIFI/TILE) ADDR.

Definition at line 152 of file TGCTriggerData.h.

◆ TYPE_MASK

constexpr uint8_t TGCTriggerData::TYPE_MASK = 0x7
staticconstexpr

Mask for extracting the octant from the GLOBALADDR.

Definition at line 115 of file TGCTriggerData.h.

◆ TYPE_SHIFT

constexpr uint8_t TGCTriggerData::TYPE_SHIFT = 26
staticconstexpr

Bit position of the octant bits in the GLOBALADDR.

Definition at line 117 of file TGCTriggerData.h.


The documentation for this class was generated from the following files:
TGCTriggerData::N_EIFI_TRIGBIT
@ N_EIFI_TRIGBIT
Definition: TGCTriggerData.h:170
TGCTriggerData::SECTOR_MASK
static constexpr uint8_t SECTOR_MASK
Mask for trigger sector for the (EIFI/TILE) ADDR.
Definition: TGCTriggerData.h:150
TGCTriggerData::CW_BW
@ CW_BW
Definition: TGCTriggerData.h:160
TGCTriggerData::CW_TILE
@ CW_TILE
Definition: TGCTriggerData.h:160
TGCTriggerData::ADDR_SECTOR_SHIFT
static constexpr uint8_t ADDR_SECTOR_SHIFT
Bit position of the trigger sector bit in the (EIFI/TILE) ADDR.
Definition: TGCTriggerData.h:156
TGCTriggerData::DR_LOW_RANGE
static constexpr uint8_t DR_LOW_RANGE
Range of DR in the BW coincidence window for 2-station.
Definition: TGCTriggerData.h:144
TGCTriggerData::N_OCTANT
@ N_OCTANT
Definition: TGCTriggerData.h:163
TGCTriggerData::N_ENDCAP_SSC
@ N_ENDCAP_SSC
Definition: TGCTriggerData.h:164
skel.it
it
Definition: skel.GENtoEVGEN.py:423
TGCTriggerData::m_trigbit_tile
std::unordered_map< uint16_t, uint16_t > m_trigbit_tile
Definition: TGCTriggerData.h:207
TGCTriggerData::ADDR_SIDE_SHIFT
static constexpr uint8_t ADDR_SIDE_SHIFT
Bit position of the side bit in the (EIFI/TILE) ADDR.
Definition: TGCTriggerData.h:154
TGCTriggerData::CW_EIFI
@ CW_EIFI
Definition: TGCTriggerData.h:160
TGCTriggerData::N_EIFI_INPUT
@ N_EIFI_INPUT
Definition: TGCTriggerData.h:167
TGCTriggerData::EIFI_TRIGBIT_SHIFT
static constexpr uint8_t EIFI_TRIGBIT_SHIFT
Special bit shift for the EIFI Trigger bit.
Definition: TGCTriggerData.h:158
TGCTriggerData::CW_NUM
@ CW_NUM
Definition: TGCTriggerData.h:160
TRT::Hit::side
@ side
Definition: HitInfo.h:83
TGCTriggerData::DPHI_HIGH_RANGE
static constexpr uint8_t DPHI_HIGH_RANGE
Range of DPhi in the BW coincidence window for 3-station.
Definition: TGCTriggerData.h:146
TGCTriggerData::N_ROI_IN_SSC
@ N_ROI_IN_SSC
Definition: TGCTriggerData.h:166
TGCTriggerData::N_TILE_INPUT
@ N_TILE_INPUT
Definition: TGCTriggerData.h:171
TGCTriggerData::SSC_MASK
static constexpr uint8_t SSC_MASK
Mask for SSC for the (EIFI/TILE) ADDR.
Definition: TGCTriggerData.h:152
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
TGCTriggerData::m_flagpt_tile
std::unordered_map< uint16_t, uint8_t > m_flagpt_tile
Definition: TGCTriggerData.h:205
TGCTriggerData::N_EIFI_READOUT
@ N_EIFI_READOUT
Definition: TGCTriggerData.h:169
TGCTriggerData::N_EIFI_REGION
@ N_EIFI_REGION
Definition: TGCTriggerData.h:168
TGCTriggerData::m_ptmap_bw
std::unordered_map< uint32_t, uint8_t > m_ptmap_bw
Run-2 BW-CW LUT map.
Definition: TGCTriggerData.h:197
TGCTriggerData::m_active
bool m_active[CW_NUM]
Definition: TGCTriggerData.h:194
TGCTriggerData::COIN_LH
@ COIN_LH
Definition: TGCTriggerData.h:172
TGCTriggerData::N_PT_THRESH
@ N_PT_THRESH
Definition: TGCTriggerData.h:161
TGCTriggerData::COIN_HL
@ COIN_HL
Definition: TGCTriggerData.h:172
TGCTriggerData::SIDE_MASK
static constexpr uint8_t SIDE_MASK
Mask for extracting the side from the GLOBALADDR.
Definition: TGCTriggerData.h:107
TGCTriggerData::DR_HIGH_RANGE
static constexpr uint8_t DR_HIGH_RANGE
Range of DR in the BW coincidence window for 3-station.
Definition: TGCTriggerData.h:142
TGCTriggerData::m_trigbit_eifi
std::unordered_map< uint16_t, uint16_t > m_trigbit_eifi
Definition: TGCTriggerData.h:202
TGCTriggerData::m_flagroi_eifi
std::unordered_map< uint16_t, uint8_t > m_flagroi_eifi
Definition: TGCTriggerData.h:201
TGCTriggerData::m_flagpt_eifi
std::unordered_map< uint16_t, uint8_t > m_flagpt_eifi
Definition: TGCTriggerData.h:200
TGCTriggerData::m_flagroi_tile
std::unordered_map< uint16_t, uint8_t > m_flagroi_tile
Definition: TGCTriggerData.h:206
TGCTriggerData::COIN_LL
@ COIN_LL
Definition: TGCTriggerData.h:172
TGCTriggerData::COIN_HH
@ COIN_HH
Definition: TGCTriggerData.h:172
TGCTriggerData::N_ENDCAP_SECTOR
@ N_ENDCAP_SECTOR
Definition: TGCTriggerData.h:165
TGCTriggerData::m_type
std::string m_type[CW_NUM]
Definition: TGCTriggerData.h:193
TGCTriggerData::N_SIDE
@ N_SIDE
Definition: TGCTriggerData.h:162
TGCTriggerData::DPHI_LOW_RANGE
static constexpr uint8_t DPHI_LOW_RANGE
Range of DPhi in the BW coincidence window for 2-station.
Definition: TGCTriggerData.h:148