![]() |
ATLAS Offline Software
|
#include <TileCablingService.h>
Public Types | |
enum | TileCablingType { TestBeam = -1, OldSim = 0, CrackOnly = 1, MBTSOnly = 2, CrackAndMBTS = 3, RUN2Cabling = 4, RUN2aCabling = 5, RUN3Cabling = 6, UpgradeA = 10, UpgradeBC = 11, UpgradeABC = 12, UnknownCabling } |
Static Public Member Functions | |
static const TileCablingService * | getInstance () |
get pointer to service instance More... | |
static int | channel2hole (int ros, int channel) |
static int | channel2cellindex (int ros, int channel) |
static bool | C10_connected (int module) |
Private Types | |
enum | Partition { Ancillary = 0, LBA = 1, LBC = 2, EBA = 3, EBC = 4 } |
Private Member Functions | |
int | hwid2side (int ros, int channel) const |
int | hwid2tower (int ros, int channel) const |
int | hwid2pmt (int ros, int channel) const |
int | swid2ros (int section, int side) const |
int | swid2channel (int section, int side, int tower, int sample, int pmt) const |
int | hwid2tower_upgradeABC (int ros, int channel) const |
int | hwid2sample_upgradeABC (int ros, int channel) const |
int | hwid2pmt_upgradeABC (int ros, int channel) const |
int | swid2channel_upgradeABC (int section, int side, int tower, int sample, int pmt) const |
bool | hwid2MBTSconnected (int ros, int drawer, int channel) const |
int | hwid2MBTSphi (int drawer, int channel) const |
int | hwid2MBTSeta (int drawer, int channel) const |
int | MBTS2drawer (int phi, int eta) const |
bool | hwid2MBTSconnected_real (int ros, int drawer, int channel) const |
int | hwid2MBTSphi_real (int ros, int drawer, int channel) const |
int | hwid2MBTSeta_real (int ros, int drawer, int channel) const |
int | MBTS2drawer_real (int side, int phi, int eta) const |
bool | hwid2MBTSconnected_run2plus (int ros, int drawer, int channel) const |
bool | hwid2MBTSconnected_run2plus (int ros, int drawer) const |
int | hwid2MBTSphi_run2plus (int ros, int drawer) const |
int | hwid2MBTSeta_run2plus (int ros, int drawer) const |
int | MBTS2drawer_run2plus (int side, int phi, int eta) const |
int | MBTS2channel_run2plus (int eta) const |
bool | hwid2E4prconnected_run2 (int ros, int drawer, int channel) const |
bool | hwid2E4prconnected_run2 (int ros, int drawer) const |
int | hwid2E4prphi_run2 (int drawer) const |
int | hwid2E4preta_run2 (int drawer) const |
int | swid2drawer_gapscin (int side, int module, int tower) const |
int | swid2channel_gapscin (int side, int module, int tower) const |
int | hwid2module_gapscin (int ros, int drawer, int channel) const |
int | hwid2tower_gapscin (int ros, int drawer, int channel) const |
int | swid2drawer_gapscin_run2plus (int side, int module, int tower) const |
bool | isTileITCGapCrack (int channel) const |
bool | isTileGapCrack (int channel) const |
bool | D4 (int channel) const |
void | setCaloLVL1 (const CaloLVL1_ID *tt_ID) |
void | setTileID (const TileID *tileID) |
void | setTileHWID (const TileHWID *tileHWID) |
void | setTileTBID (const TileTBID *tileTBID) |
void | setTestBeam (bool testBeam) |
void | setConnected (int section, int side, int modMin, int modMax) |
void | setConnected (int ros, int draMin, int draMax) |
void | setRun2Merged () |
void | setRun2aMerged () |
void | setRun3Merged () |
bool | EB_special (int ros, int drawer) const |
void | EB_special_move_channel (int ros, int drawer, int &channel) const |
bool | setCablingType (TileCablingType type) |
void | fillConnectionTables () |
Identifier | h2s_cell_id_index_find (int ros, int drawer, int channel, int &index, int &pmt) const |
Identifier | h2s_cell_id_index_from_cache (int ros, int drawer, int channel, int &index, int &pmt) const |
int | cacheIndex (int ros, int drawer, int channel) const |
void | setConnected (int ros, int drawer, bool yes) |
bool | isChannelFromOppositeSide (int channel) const |
Static Private Member Functions | |
static TileCablingService *getInstance_nc | ATLAS_NOT_THREAD_SAFE () |
get (non-const) pointer to service instance More... | |
static int | hwid2section (int ros, int channel) |
static int | hwid2module (int drawer) |
static int | hwid2sample (int ros, int channel) |
static int | swid2drawer (int module) |
static int | hwid2tbtype (int drawer) |
static int | hwid2tbmodule (int drawer, int channel) |
static int | hwid2tbchannel (int drawer, int channel) |
static int | tbid2drawer (int tbtype, int tbmodule) |
static int | tbid2channel (int drawer, int tbchannel) |
Private Attributes | |
Identifier | m_invalid_id |
HWIdentifier | m_invalid_hwid |
const TileID * | m_tileID |
const TileHWID * | m_tileHWID |
const CaloLVL1_ID * | m_TT_ID |
const TileTBID * | m_tileTBID |
bool | m_testBeam |
bool | m_connected [5][64] |
int | m_EBAspec |
int | m_EBCspec |
int | m_E1chan |
int | m_E2chan |
int | m_E3chan |
int | m_E4chan |
int | m_E3special |
int | m_E4special |
int | m_MBTSchan |
TileCablingType | m_cablingType |
int | m_drawer_table [512] |
int | m_channel_table [512] |
int | m_module_table [512] |
int | m_tower_table [512] |
bool | m_isCacheFilled |
std::vector< Identifier > | m_ch2cell |
std::vector< int > | m_ch2pmt |
std::vector< int > | m_ch2index |
std::vector< bool > | m_MBTSmergedRun2Plus |
std::vector< int > | m_E1mergedRun2Plus |
std::vector< int > | m_ch2pmtUpgradeABC |
std::vector< int > | m_ch2sampleUpgradeABC |
std::vector< int > | m_ch2towerUpgradeABC |
bool | m_run2 |
bool | m_run2plus |
bool | m_run3 |
int | m_maxChannels |
int | m_maxGains |
Friends | |
class | TileInfoLoader |
class | TileDetectorTool |
class | TileDetectorFactory |
class | TileTBFactory |
class | TileCablingSvc |
class | TileCablingSvcMock |
class | TileROD_Decoder |
Definition at line 23 of file TileCablingService.h.
|
private |
Enumerator | |
---|---|
TestBeam | |
OldSim | |
CrackOnly | |
MBTSOnly | |
CrackAndMBTS | |
RUN2Cabling | |
RUN2aCabling | |
RUN3Cabling | |
UpgradeA | |
UpgradeBC | |
UpgradeABC | |
UnknownCabling |
Definition at line 84 of file TileCablingService.h.
TileCablingService::TileCablingService | ( | ) |
Definition at line 38 of file TileCablingService.cxx.
|
virtual |
Definition at line 195 of file TileCablingService.cxx.
|
staticprivate |
get (non-const) pointer to service instance
|
inline |
Definition at line 70 of file TileCablingService.h.
|
static |
Definition at line 1779 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 248 of file TileCablingService.h.
Identifier TileCablingService::cell2mt_id | ( | const Identifier & | id | ) | const |
Definition at line 442 of file TileCablingService.cxx.
Identifier TileCablingService::cell2tt_id | ( | const Identifier & | id | ) | const |
Definition at line 368 of file TileCablingService.cxx.
|
static |
Definition at line 1968 of file TileCablingService.cxx.
|
static |
Definition at line 1946 of file TileCablingService.cxx.
|
inline |
Definition at line 275 of file TileCablingService.h.
|
inlineprivate |
Definition at line 174 of file TileCablingService.h.
Identifier TileCablingService::drawer2MBTS_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 499 of file TileCablingService.cxx.
int TileCablingService::E1_merged_with_run2plus | ( | int | ros, |
int | module | ||
) | const |
Definition at line 2457 of file TileCablingService.cxx.
|
inlineprivate |
|
inlineprivate |
Definition at line 217 of file TileCablingService.h.
|
inline |
Definition at line 71 of file TileCablingService.h.
|
private |
Definition at line 1468 of file TileCablingService.cxx.
void TileCablingService::fillH2SIdCache | ( | void | ) |
Definition at line 2391 of file TileCablingService.cxx.
int TileCablingService::frag | ( | const HWIdentifier & | id | ) | const |
Definition at line 1306 of file TileCablingService.cxx.
int TileCablingService::frag | ( | const Identifier & | id | ) | const |
Definition at line 1242 of file TileCablingService.cxx.
int TileCablingService::frag2channels | ( | const HWIdentifier & | id, |
std::vector< HWIdentifier > & | ids | ||
) | const |
Definition at line 1315 of file TileCablingService.cxx.
int TileCablingService::frag2channels | ( | int | frag, |
std::vector< HWIdentifier > & | ids | ||
) | const |
Definition at line 1329 of file TileCablingService.cxx.
|
inline |
Definition at line 276 of file TileCablingService.h.
|
inline |
Definition at line 273 of file TileCablingService.h.
|
static |
get pointer to service instance
Definition at line 24 of file TileCablingService.cxx.
|
inline |
Definition at line 100 of file TileCablingService.h.
|
inline |
Definition at line 101 of file TileCablingService.h.
unsigned int TileCablingService::getNChanPerCell | ( | const Identifier & | cell_id | ) | const |
Definition at line 2385 of file TileCablingService.cxx.
|
inline |
Definition at line 274 of file TileCablingService.h.
Definition at line 271 of file TileCablingService.h.
Definition at line 270 of file TileCablingService.h.
Definition at line 272 of file TileCablingService.h.
Identifier TileCablingService::h2s_adc_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 898 of file TileCablingService.cxx.
Identifier TileCablingService::h2s_cell_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 562 of file TileCablingService.cxx.
Identifier TileCablingService::h2s_cell_id_index | ( | const HWIdentifier & | id, |
int & | index, | ||
int & | pmt | ||
) | const |
Definition at line 2418 of file TileCablingService.cxx.
Identifier TileCablingService::h2s_cell_id_index | ( | int | ros, |
int | drawer, | ||
int | channel, | ||
int & | index, | ||
int & | pmt | ||
) | const |
Definition at line 2432 of file TileCablingService.cxx.
|
private |
Definition at line 661 of file TileCablingService.cxx.
|
private |
Definition at line 2444 of file TileCablingService.cxx.
Identifier TileCablingService::h2s_pmt_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 791 of file TileCablingService.cxx.
|
private |
Definition at line 2180 of file TileCablingService.cxx.
|
private |
Definition at line 2174 of file TileCablingService.cxx.
|
private |
Definition at line 2343 of file TileCablingService.cxx.
|
private |
Definition at line 2326 of file TileCablingService.cxx.
|
private |
Definition at line 2071 of file TileCablingService.cxx.
|
private |
Definition at line 2099 of file TileCablingService.cxx.
|
private |
Definition at line 2168 of file TileCablingService.cxx.
|
private |
Definition at line 2160 of file TileCablingService.cxx.
|
private |
Definition at line 2083 of file TileCablingService.cxx.
|
private |
Definition at line 2111 of file TileCablingService.cxx.
|
private |
Definition at line 2282 of file TileCablingService.cxx.
|
private |
Definition at line 2077 of file TileCablingService.cxx.
|
private |
Definition at line 2105 of file TileCablingService.cxx.
|
private |
Definition at line 2238 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1386 of file TileCablingService.cxx.
|
private |
Definition at line 1719 of file TileCablingService.cxx.
|
private |
|
private |
Definition at line 1834 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1433 of file TileCablingService.cxx.
|
private |
Definition at line 1453 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1339 of file TileCablingService.cxx.
|
private |
|
staticprivate |
Definition at line 2043 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2025 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1996 of file TileCablingService.cxx.
|
private |
Definition at line 1392 of file TileCablingService.cxx.
|
private |
Definition at line 1734 of file TileCablingService.cxx.
|
private |
Definition at line 1418 of file TileCablingService.cxx.
bool TileCablingService::is_MBTS_merged_run2plus | ( | int | module | ) | const |
Definition at line 2453 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 252 of file TileCablingService.h.
bool TileCablingService::isDisconnected | ( | int | ros, |
int | drawer, | ||
int | channel | ||
) | const |
Definition at line 2461 of file TileCablingService.cxx.
|
inline |
Definition at line 277 of file TileCablingService.h.
|
inline |
Definition at line 278 of file TileCablingService.h.
|
inline |
Definition at line 279 of file TileCablingService.h.
|
inlineprivate |
Definition at line 173 of file TileCablingService.h.
|
inlineprivate |
Definition at line 172 of file TileCablingService.h.
|
private |
Definition at line 2379 of file TileCablingService.cxx.
|
private |
Definition at line 2089 of file TileCablingService.cxx.
|
private |
Definition at line 2140 of file TileCablingService.cxx.
|
private |
Definition at line 2360 of file TileCablingService.cxx.
Identifier TileCablingService::pmt2mt_id | ( | const Identifier & | id | ) | const |
Definition at line 449 of file TileCablingService.cxx.
Identifier TileCablingService::pmt2tt_id | ( | const Identifier & | id | ) | const |
Definition at line 375 of file TileCablingService.cxx.
|
inline |
Definition at line 280 of file TileCablingService.h.
HWIdentifier TileCablingService::s2h_adc_id | ( | const Identifier & | id | ) | const |
Definition at line 1158 of file TileCablingService.cxx.
HWIdentifier TileCablingService::s2h_channel_id | ( | const Identifier & | id | ) | const |
Definition at line 1076 of file TileCablingService.cxx.
HWIdentifier TileCablingService::s2h_drawer_id | ( | const Identifier & | id | ) | const |
Definition at line 1011 of file TileCablingService.cxx.
|
private |
Definition at line 228 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 184 of file TileCablingService.h.
|
private |
Definition at line 356 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 250 of file TileCablingService.h.
|
private |
Definition at line 339 of file TileCablingService.cxx.
|
private |
Definition at line 114 of file TileCablingService.cxx.
|
private |
Definition at line 82 of file TileCablingService.cxx.
|
private |
Definition at line 156 of file TileCablingService.cxx.
|
private |
Definition at line 200 of file TileCablingService.cxx.
Definition at line 186 of file TileCablingService.h.
Definition at line 185 of file TileCablingService.h.
Definition at line 187 of file TileCablingService.h.
|
private |
|
private |
Definition at line 1704 of file TileCablingService.cxx.
|
private |
Definition at line 1918 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1875 of file TileCablingService.cxx.
|
private |
Definition at line 1689 of file TileCablingService.cxx.
|
private |
Definition at line 1631 of file TileCablingService.cxx.
|
private |
Definition at line 1858 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2060 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2049 of file TileCablingService.cxx.
bool TileCablingService::TileGap_connected | ( | const Identifier & | id | ) | const |
Definition at line 1756 of file TileCablingService.cxx.
|
friend |
Definition at line 28 of file TileCablingService.h.
|
friend |
Definition at line 29 of file TileCablingService.h.
|
friend |
Definition at line 26 of file TileCablingService.h.
|
friend |
Definition at line 25 of file TileCablingService.h.
|
friend |
Definition at line 24 of file TileCablingService.h.
|
friend |
Definition at line 30 of file TileCablingService.h.
|
friend |
Definition at line 27 of file TileCablingService.h.
|
private |
Definition at line 228 of file TileCablingService.h.
|
private |
Definition at line 239 of file TileCablingService.h.
|
private |
Definition at line 241 of file TileCablingService.h.
|
private |
Definition at line 240 of file TileCablingService.h.
|
private |
Definition at line 257 of file TileCablingService.h.
|
private |
Definition at line 258 of file TileCablingService.h.
|
private |
Definition at line 259 of file TileCablingService.h.
|
private |
Definition at line 232 of file TileCablingService.h.
|
private |
Definition at line 192 of file TileCablingService.h.
|
private |
Definition at line 231 of file TileCablingService.h.
|
private |
Definition at line 207 of file TileCablingService.h.
|
private |
Definition at line 255 of file TileCablingService.h.
|
private |
Definition at line 208 of file TileCablingService.h.
|
private |
Definition at line 209 of file TileCablingService.h.
|
private |
Definition at line 211 of file TileCablingService.h.
|
private |
Definition at line 210 of file TileCablingService.h.
|
private |
Definition at line 212 of file TileCablingService.h.
|
private |
Definition at line 205 of file TileCablingService.h.
|
private |
Definition at line 206 of file TileCablingService.h.
|
private |
Definition at line 177 of file TileCablingService.h.
|
private |
Definition at line 176 of file TileCablingService.h.
|
private |
Definition at line 238 of file TileCablingService.h.
|
private |
Definition at line 265 of file TileCablingService.h.
|
private |
Definition at line 266 of file TileCablingService.h.
|
private |
Definition at line 213 of file TileCablingService.h.
|
private |
Definition at line 254 of file TileCablingService.h.
|
private |
Definition at line 233 of file TileCablingService.h.
|
private |
Definition at line 261 of file TileCablingService.h.
|
private |
Definition at line 262 of file TileCablingService.h.
|
private |
Definition at line 263 of file TileCablingService.h.
|
private |
Definition at line 189 of file TileCablingService.h.
Definition at line 180 of file TileCablingService.h.
Definition at line 179 of file TileCablingService.h.
Definition at line 182 of file TileCablingService.h.
|
private |
Definition at line 234 of file TileCablingService.h.
|
private |
Definition at line 181 of file TileCablingService.h.