![]() |
ATLAS Offline Software
|
#include <TGCTriggerLUTs.h>
Public Types | |
| enum | { COIN_HH = 0x0 , COIN_HL = 0x1 , COIN_LH = 0x2 , COIN_LL = 0x3 } |
| enum | { CW_BW =0 , CW_EIFI =1 , CW_TILE =2 , CW_NSW =3 , CW_BIS78 =4 , WHICH_INNER =5 , HOTRoI =6 , LUT_NUM } |
| enum | { N_PT_THRESH =15 , N_SIDE =2 , N_OCTANT =8 , N_MODULETYPE =12 } |
Public Member Functions | |
| TGCTriggerLUTs () | |
| virtual | ~TGCTriggerLUTs () |
| std::string | getData (int cwtype, const std::string &file) const |
| std::string | getData (int cwtype, int channel) const |
| std::string | getFile (int cwtype, int channel) const |
| std::string | getVersion (int cwtype, int channel=0) const |
| std::string | getType (int cwtype, int channel=0) const |
| int8_t | getBigWheelPt (const uint32_t addr) const |
Static Public Attributes | |
| static constexpr uint8_t | SIDE_MASK = 0x1 |
| Mask for extracting the side from the GLOBALADDR. | |
| static constexpr uint8_t | SIDE_SHIFT = 29 |
| Bit position of the side bit in the GLOBALADDR. | |
| static constexpr uint8_t | OCTANT_MASK = 0x7 |
| Mask for extracting the octant from the GLOBALADDR. | |
| static constexpr uint8_t | OCTANT_SHIFT = 26 |
| Bit position of the octant bits in the GLOBALADDR. | |
| static constexpr uint8_t | TYPE_MASK = 0x7 |
| Mask for extracting the octant from the GLOBALADDR. | |
| static constexpr uint8_t | TYPE_SHIFT = 23 |
| Bit position of the octant bits in the GLOBALADDR. | |
| static constexpr uint8_t | PHIMOD2_MASK = 0x1 |
| Mask for extracting the phi(F or B) from the GLOBALADDR. | |
| static constexpr uint8_t | PHIMOD2_SHIFT = 22 |
| Bit position of the module number bits in the GLOBALADDR. | |
| static constexpr uint8_t | MODULE_MASK = 0xf |
| Mask for extracting the module number from the GLOBALADDR. | |
| static constexpr uint8_t | MODULE_SHIFT = 18 |
| Bit position of the module number bits in the GLOBALADDR. | |
| static constexpr uint8_t | ROI_MASK = 0xff |
| Mask for extracting the module number from the GLOBALADDR. | |
| static constexpr uint8_t | ROI_SHIFT = 10 |
| Bit position of the module number bits in the GLOBALADDR. | |
| static constexpr uint8_t | DR_MASK = 0x1f |
| Mask for extracting the deltaR from the GLOBALADDR. | |
| static constexpr uint8_t | DR_SHIFT = 4 |
| Bit position of the deltaR bits in the GLOBALADDR. | |
| static constexpr uint8_t | DPHI_MASK = 0xf |
| Mask for extracting the deltaPhi from the GLOBALADDR. | |
| static constexpr uint8_t | DPHI_SHIFT = 0 |
| Bit position of the deltaPhi bits in the GLOBALADDR. | |
| static constexpr uint8_t | DR_HIGH_RANGE = 15 |
| Range of DR in the BW coincidence window for 3-station. | |
| static constexpr uint8_t | DR_LOW_RANGE = 7 |
| Range of DR in the BW coincidence window for 2-station. | |
| static constexpr uint8_t | DPHI_HIGH_RANGE = 7 |
| Range of DPhi in the BW coincidence window for 3-station. | |
| static constexpr uint8_t | DPHI_LOW_RANGE = 3 |
| Range of DPhi in the BW coincidence window for 2-station. | |
Private Attributes | |
| std::map< std::string, std::string > | m_datamap [LUT_NUM] |
| std::vector< std::string > | m_data [LUT_NUM] |
| std::vector< std::string > | m_file [LUT_NUM] |
| std::vector< std::string > | m_version [LUT_NUM] |
| std::vector< std::string > | m_type [LUT_NUM] |
| std::unordered_map< uint32_t, int8_t > | m_ptmap_bw |
Friends | |
| class | TGCTriggerCondAlg |
| class | TGCTriggerBWCWReader |
Definition at line 16 of file TGCTriggerLUTs.h.
| anonymous enum |
| Enumerator | |
|---|---|
| N_PT_THRESH | |
| N_SIDE | |
| N_OCTANT | |
| N_MODULETYPE | |
Definition at line 67 of file TGCTriggerLUTs.h.
| anonymous enum |
| Enumerator | |
|---|---|
| CW_BW | |
| CW_EIFI | |
| CW_TILE | |
| CW_NSW | |
| CW_BIS78 | |
| WHICH_INNER | |
| HOTRoI | |
| LUT_NUM | |
Definition at line 66 of file TGCTriggerLUTs.h.
| anonymous enum |
| TGCTriggerLUTs::TGCTriggerLUTs | ( | ) |
Definition at line 8 of file TGCTriggerLUTs.cxx.
|
virtual |
Definition at line 13 of file TGCTriggerLUTs.cxx.
| int8_t TGCTriggerLUTs::getBigWheelPt | ( | const uint32_t | addr | ) | const |
Definition at line 46 of file TGCTriggerLUTs.cxx.
| std::string TGCTriggerLUTs::getData | ( | int | cwtype, |
| const std::string & | file ) const |
Definition at line 18 of file TGCTriggerLUTs.cxx.
| std::string TGCTriggerLUTs::getData | ( | int | cwtype, |
| int | channel ) const |
Definition at line 28 of file TGCTriggerLUTs.cxx.
| std::string TGCTriggerLUTs::getFile | ( | int | cwtype, |
| int | channel ) const |
Definition at line 33 of file TGCTriggerLUTs.cxx.
| std::string TGCTriggerLUTs::getType | ( | int | cwtype, |
| int | channel = 0 ) const |
Definition at line 41 of file TGCTriggerLUTs.cxx.
| std::string TGCTriggerLUTs::getVersion | ( | int | cwtype, |
| int | channel = 0 ) const |
Definition at line 37 of file TGCTriggerLUTs.cxx.
|
friend |
Definition at line 19 of file TGCTriggerLUTs.h.
|
friend |
Definition at line 18 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Range of DPhi in the BW coincidence window for 3-station.
Definition at line 61 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Range of DPhi in the BW coincidence window for 2-station.
Definition at line 63 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the deltaPhi from the GLOBALADDR.
Definition at line 52 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the deltaPhi bits in the GLOBALADDR.
Definition at line 54 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Range of DR in the BW coincidence window for 3-station.
Definition at line 57 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Range of DR in the BW coincidence window for 2-station.
Definition at line 59 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the deltaR from the GLOBALADDR.
Definition at line 48 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the deltaR bits in the GLOBALADDR.
Definition at line 50 of file TGCTriggerLUTs.h.
|
private |
Definition at line 85 of file TGCTriggerLUTs.h.
|
private |
Definition at line 84 of file TGCTriggerLUTs.h.
|
private |
Definition at line 86 of file TGCTriggerLUTs.h.
|
private |
Definition at line 90 of file TGCTriggerLUTs.h.
|
private |
Definition at line 88 of file TGCTriggerLUTs.h.
|
private |
Definition at line 87 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the module number from the GLOBALADDR.
Definition at line 40 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 42 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the octant from the GLOBALADDR.
Definition at line 28 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the octant bits in the GLOBALADDR.
Definition at line 30 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the phi(F or B) from the GLOBALADDR.
Definition at line 36 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 38 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the module number from the GLOBALADDR.
Definition at line 44 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 46 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the side from the GLOBALADDR.
Definition at line 24 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the side bit in the GLOBALADDR.
Definition at line 26 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Mask for extracting the octant from the GLOBALADDR.
Definition at line 32 of file TGCTriggerLUTs.h.
|
staticconstexpr |
Bit position of the octant bits in the GLOBALADDR.
Definition at line 34 of file TGCTriggerLUTs.h.