#include <TGCTriggerLUTs.h>
|
| 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
} |
|
| 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.
|
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::TGCTriggerLUTs |
( |
| ) |
|
◆ ~TGCTriggerLUTs()
| TGCTriggerLUTs::~TGCTriggerLUTs |
( |
| ) |
|
|
virtual |
◆ getBigWheelPt()
| int8_t TGCTriggerLUTs::getBigWheelPt |
( |
const uint32_t | addr | ) |
const |
Definition at line 46 of file TGCTriggerLUTs.cxx.
46 {
47 std::unordered_map<uint32_t, int8_t>::const_iterator
it =
m_ptmap_bw.find(addr);
49 else return it->second;
50}
std::unordered_map< uint32_t, int8_t > m_ptmap_bw
◆ getData() [1/2]
| std::string TGCTriggerLUTs::getData |
( |
int | cwtype, |
|
|
int | channel ) const |
Definition at line 28 of file TGCTriggerLUTs.cxx.
28 {
30}
std::vector< std::string > m_data[LUT_NUM]
◆ getData() [2/2]
| std::string TGCTriggerLUTs::getData |
( |
int | cwtype, |
|
|
std::string | file ) const |
Definition at line 18 of file TGCTriggerLUTs.cxx.
18 {
21 return "";
22 }
23
24 return itr->second;
25}
std::map< std::string, std::string > m_datamap[LUT_NUM]
◆ getFile()
| std::string TGCTriggerLUTs::getFile |
( |
int | cwtype, |
|
|
int | channel ) const |
Definition at line 33 of file TGCTriggerLUTs.cxx.
33 {
35}
std::vector< std::string > m_file[LUT_NUM]
◆ getType()
| std::string TGCTriggerLUTs::getType |
( |
int | cwtype, |
|
|
int | channel = 0 ) const |
Definition at line 41 of file TGCTriggerLUTs.cxx.
41 {
43}
std::vector< std::string > m_type[LUT_NUM]
◆ getVersion()
| std::string TGCTriggerLUTs::getVersion |
( |
int | cwtype, |
|
|
int | channel = 0 ) const |
Definition at line 37 of file TGCTriggerLUTs.cxx.
37 {
39}
std::vector< std::string > m_version[LUT_NUM]
◆ TGCTriggerBWCWReader
◆ TGCTriggerCondAlg
◆ DPHI_HIGH_RANGE
| uint8_t TGCTriggerLUTs::DPHI_HIGH_RANGE = 7 |
|
staticconstexpr |
◆ DPHI_LOW_RANGE
| uint8_t TGCTriggerLUTs::DPHI_LOW_RANGE = 3 |
|
staticconstexpr |
◆ DPHI_MASK
| uint8_t TGCTriggerLUTs::DPHI_MASK = 0xf |
|
staticconstexpr |
Mask for extracting the deltaPhi from the GLOBALADDR.
Definition at line 52 of file TGCTriggerLUTs.h.
◆ DPHI_SHIFT
| uint8_t TGCTriggerLUTs::DPHI_SHIFT = 0 |
|
staticconstexpr |
Bit position of the deltaPhi bits in the GLOBALADDR.
Definition at line 54 of file TGCTriggerLUTs.h.
◆ DR_HIGH_RANGE
| uint8_t TGCTriggerLUTs::DR_HIGH_RANGE = 15 |
|
staticconstexpr |
◆ DR_LOW_RANGE
| uint8_t TGCTriggerLUTs::DR_LOW_RANGE = 7 |
|
staticconstexpr |
◆ DR_MASK
| uint8_t TGCTriggerLUTs::DR_MASK = 0x1f |
|
staticconstexpr |
Mask for extracting the deltaR from the GLOBALADDR.
Definition at line 48 of file TGCTriggerLUTs.h.
◆ DR_SHIFT
| uint8_t TGCTriggerLUTs::DR_SHIFT = 4 |
|
staticconstexpr |
Bit position of the deltaR bits in the GLOBALADDR.
Definition at line 50 of file TGCTriggerLUTs.h.
◆ m_data
| std::vector<std::string> TGCTriggerLUTs::m_data[LUT_NUM] |
|
private |
◆ m_datamap
| std::map<std::string, std::string> TGCTriggerLUTs::m_datamap[LUT_NUM] |
|
private |
◆ m_file
| std::vector<std::string> TGCTriggerLUTs::m_file[LUT_NUM] |
|
private |
◆ m_ptmap_bw
| std::unordered_map<uint32_t, int8_t> TGCTriggerLUTs::m_ptmap_bw |
|
private |
◆ m_type
| std::vector<std::string> TGCTriggerLUTs::m_type[LUT_NUM] |
|
private |
◆ m_version
| std::vector<std::string> TGCTriggerLUTs::m_version[LUT_NUM] |
|
private |
◆ MODULE_MASK
| uint8_t TGCTriggerLUTs::MODULE_MASK = 0xf |
|
staticconstexpr |
Mask for extracting the module number from the GLOBALADDR.
Definition at line 40 of file TGCTriggerLUTs.h.
◆ MODULE_SHIFT
| uint8_t TGCTriggerLUTs::MODULE_SHIFT = 18 |
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 42 of file TGCTriggerLUTs.h.
◆ OCTANT_MASK
| uint8_t TGCTriggerLUTs::OCTANT_MASK = 0x7 |
|
staticconstexpr |
Mask for extracting the octant from the GLOBALADDR.
Definition at line 28 of file TGCTriggerLUTs.h.
◆ OCTANT_SHIFT
| uint8_t TGCTriggerLUTs::OCTANT_SHIFT = 26 |
|
staticconstexpr |
Bit position of the octant bits in the GLOBALADDR.
Definition at line 30 of file TGCTriggerLUTs.h.
◆ PHIMOD2_MASK
| uint8_t TGCTriggerLUTs::PHIMOD2_MASK = 0x1 |
|
staticconstexpr |
Mask for extracting the phi(F or B) from the GLOBALADDR.
Definition at line 36 of file TGCTriggerLUTs.h.
◆ PHIMOD2_SHIFT
| uint8_t TGCTriggerLUTs::PHIMOD2_SHIFT = 22 |
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 38 of file TGCTriggerLUTs.h.
◆ ROI_MASK
| uint8_t TGCTriggerLUTs::ROI_MASK = 0xff |
|
staticconstexpr |
Mask for extracting the module number from the GLOBALADDR.
Definition at line 44 of file TGCTriggerLUTs.h.
◆ ROI_SHIFT
| uint8_t TGCTriggerLUTs::ROI_SHIFT = 10 |
|
staticconstexpr |
Bit position of the module number bits in the GLOBALADDR.
Definition at line 46 of file TGCTriggerLUTs.h.
◆ SIDE_MASK
| uint8_t TGCTriggerLUTs::SIDE_MASK = 0x1 |
|
staticconstexpr |
Mask for extracting the side from the GLOBALADDR.
Definition at line 24 of file TGCTriggerLUTs.h.
◆ SIDE_SHIFT
| uint8_t TGCTriggerLUTs::SIDE_SHIFT = 29 |
|
staticconstexpr |
Bit position of the side bit in the GLOBALADDR.
Definition at line 26 of file TGCTriggerLUTs.h.
◆ TYPE_MASK
| uint8_t TGCTriggerLUTs::TYPE_MASK = 0x7 |
|
staticconstexpr |
Mask for extracting the octant from the GLOBALADDR.
Definition at line 32 of file TGCTriggerLUTs.h.
◆ TYPE_SHIFT
| uint8_t TGCTriggerLUTs::TYPE_SHIFT = 23 |
|
staticconstexpr |
Bit position of the octant bits in the GLOBALADDR.
Definition at line 34 of file TGCTriggerLUTs.h.
The documentation for this class was generated from the following files: