|
ATLAS Offline Software
|
Go to the documentation of this file.
19 m_readCondKey(readCondKey)
21 if (!
tgcArgs()->TILE_MU())
return;
22 if (
tgcArgs()->USE_CONDDB())
return;
29 <<
" TGC TileMu CW version of " <<
m_verName <<
" is selected " <<
endmsg;
32 <<
" NOT use TileMu " <<
endmsg;
56 bool isFound =(
fullName.length() > 0 );
65 static constexpr
unsigned int BufferSize = 256;
74 std::istringstream
header(buf);
78 header >> sideId >> sectorId >> sscId;
86 <<
" illegal parameter in database header : " <<
header.str()
99 flagpt |= (use&0x1)<<
pt;
107 roi |= (use&0x1)<<
pos;
113 std::istringstream cont(buf);
118 trigbit |= (word & 0xf)<<(
pos*4);
140 mask = readCdo->getTrigMaskTile(ssc, sec,
side);
143 std::unordered_map<uint16_t, uint16_t>::const_iterator
it =
m_trigbit.find(addr);
164 std::unordered_map<uint16_t, uint8_t>::const_iterator
it =
m_flagpt.find(addr);
167 return (ptmask>>(
pt-1)) & 0x1;
184 std::unordered_map<uint16_t, uint8_t>::const_iterator
it =
m_flagroi.find(addr);
187 return (roimask >> roi) & 0x1;
static constexpr uint8_t SECTOR_MASK
Mask for trigger sector for the (EIFI/TILE) ADDR.
std::unordered_map< uint16_t, uint16_t > m_trigbit
static constexpr uint8_t ADDR_SECTOR_SHIFT
Bit position of the trigger sector bit in the (EIFI/TILE) ADDR.
singleton-like access to IMessageSvc via open function and helper
int getTrigMask(const int module, const int16_t ssc, const int16_t sec, const int16_t side) const
LVL1TGCTrigger::TGCArguments * tgcArgs()
TGCTileMuCoincidenceLUT(LVL1TGCTrigger::TGCArguments *, const SG::ReadCondHandleKey< TGCTriggerData > &readCondKey, const std::string &version="NA")
static constexpr uint8_t ADDR_SIDE_SHIFT
Bit position of the side bit in the (EIFI/TILE) ADDR.
int getFlagPT(const int pt, const int16_t ssc, const int16_t sec, const int16_t side) const
static std::string FindCalibDirectory(const std::string &logical_file_name)
setScaleOne setStatusOne setSaturated int16_t
IMessageSvc * getMessageSvc(bool quiet=false)
static constexpr uint8_t SSC_MASK
Mask for SSC for the (EIFI/TILE) ADDR.
uint16_t getAddr(int16_t side, int16_t sec, int16_t ssc) const
uint8_t getFlagRoiTile(int ssc, int sectorId, int side) const
const SG::ReadCondHandleKey< TGCTriggerData > & m_readCondKey
virtual ~TGCTileMuCoincidenceLUT()
std::unordered_map< uint16_t, uint8_t > m_flagpt
static constexpr uint8_t SIDE_MASK
Mask for extracting the side from the GLOBALADDR.
unsigned char getFlagPtTile(int ssc, int sectorId, int side) const
int getFlagROI(const int roi, const int16_t ssc, const int16_t sec, const int16_t side) const
std::unordered_map< uint16_t, uint8_t > m_flagroi