![]() |
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 } |
Public Member Functions | |
| Identifier | cell2tt_id (const Identifier &id) const |
| Identifier | pmt2tt_id (const Identifier &id) const |
| Identifier | cell2mt_id (const Identifier &id) const |
| Identifier | pmt2mt_id (const Identifier &id) const |
| Identifier | drawer2MBTS_id (const HWIdentifier &id) const |
| Identifier | h2s_cell_id_index (const HWIdentifier &id, int &index, int &pmt) const |
| Identifier | h2s_cell_id_index (int ros, int drawer, int channel, int &index, int &pmt) const |
| Identifier | h2s_cell_id (const HWIdentifier &id) const |
| Identifier | h2s_pmt_id (const HWIdentifier &id) const |
| Identifier | h2s_adc_id (const HWIdentifier &id) const |
| HWIdentifier | s2h_drawer_id (const Identifier &id) const |
| HWIdentifier | s2h_channel_id (const Identifier &id) const |
| HWIdentifier | s2h_adc_id (const Identifier &id) const |
| int | frag (const HWIdentifier &id) const |
| int | frag (const Identifier &id) const |
| int | frag2channels (const HWIdentifier &id, std::vector< HWIdentifier > &ids) const |
| int | frag2channels (int frag, std::vector< HWIdentifier > &ids) const |
| int | barrel_chan2hole (int channel) const |
| int | extbar_chan2hole (int channel) const |
| bool | TileGap_connected (const Identifier &id) const |
| unsigned int | getNChanPerCell (const Identifier &cell_id) const |
| void | fillH2SIdCache (void) |
| bool | is_MBTS_merged_run2plus (int module) const |
| int | E1_merged_with_run2plus (int ros, int module) const |
| int | getMaxChannels (void) const |
| int | getMaxGains (void) const |
| bool | isDisconnected (int ros, int drawer, int channel) const |
| TileCablingService () | |
| virtual | ~TileCablingService () |
| const TileID * | getTileID () const |
| const TileHWID * | getTileHWID () const |
| const TileTBID * | getTileTBID () const |
| const CaloLVL1_ID * | getCaloLVL1_ID () const |
| bool | getTestBeam () const |
| bool | connected (int ros, int drawer) const |
| int | getCablingType () const |
| bool | isRun2Cabling () const |
| bool | isRun2PlusCabling () const |
| bool | isRun3Cabling () const |
| int | runPeriod () const |
Static Public Member Functions | |
| static const TileCablingService * | getInstance () |
| get pointer to service instance | |
| 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 | |
| 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 1772 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 248 of file TileCablingService.h.
| Identifier TileCablingService::cell2mt_id | ( | const Identifier & | id | ) | const |
Definition at line 435 of file TileCablingService.cxx.
| Identifier TileCablingService::cell2tt_id | ( | const Identifier & | id | ) | const |
Definition at line 361 of file TileCablingService.cxx.
|
static |
Definition at line 1961 of file TileCablingService.cxx.
|
static |
Definition at line 1939 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 492 of file TileCablingService.cxx.
| int TileCablingService::E1_merged_with_run2plus | ( | int | ros, |
| int | module ) const |
Definition at line 2450 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 1461 of file TileCablingService.cxx.
| void TileCablingService::fillH2SIdCache | ( | void | ) |
Definition at line 2384 of file TileCablingService.cxx.
| int TileCablingService::frag | ( | const HWIdentifier & | id | ) | const |
Definition at line 1299 of file TileCablingService.cxx.
| int TileCablingService::frag | ( | const Identifier & | id | ) | const |
Definition at line 1235 of file TileCablingService.cxx.
| int TileCablingService::frag2channels | ( | const HWIdentifier & | id, |
| std::vector< HWIdentifier > & | ids ) const |
Definition at line 1308 of file TileCablingService.cxx.
| int TileCablingService::frag2channels | ( | int | frag, |
| std::vector< HWIdentifier > & | ids ) const |
Definition at line 1322 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 2378 of file TileCablingService.cxx.
|
inline |
Definition at line 274 of file TileCablingService.h.
|
inline |
Definition at line 271 of file TileCablingService.h.
|
inline |
Definition at line 270 of file TileCablingService.h.
|
inline |
Definition at line 272 of file TileCablingService.h.
| Identifier TileCablingService::h2s_adc_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 891 of file TileCablingService.cxx.
| Identifier TileCablingService::h2s_cell_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 555 of file TileCablingService.cxx.
| Identifier TileCablingService::h2s_cell_id_index | ( | const HWIdentifier & | id, |
| int & | index, | ||
| int & | pmt ) const |
Definition at line 2411 of file TileCablingService.cxx.
| Identifier TileCablingService::h2s_cell_id_index | ( | int | ros, |
| int | drawer, | ||
| int | channel, | ||
| int & | index, | ||
| int & | pmt ) const |
Definition at line 2425 of file TileCablingService.cxx.
|
private |
Definition at line 654 of file TileCablingService.cxx.
|
private |
Definition at line 2437 of file TileCablingService.cxx.
| Identifier TileCablingService::h2s_pmt_id | ( | const HWIdentifier & | id | ) | const |
Definition at line 784 of file TileCablingService.cxx.
|
private |
Definition at line 2173 of file TileCablingService.cxx.
|
private |
Definition at line 2167 of file TileCablingService.cxx.
|
private |
Definition at line 2336 of file TileCablingService.cxx.
|
private |
Definition at line 2319 of file TileCablingService.cxx.
|
private |
Definition at line 2064 of file TileCablingService.cxx.
|
private |
Definition at line 2092 of file TileCablingService.cxx.
|
private |
Definition at line 2161 of file TileCablingService.cxx.
|
private |
Definition at line 2153 of file TileCablingService.cxx.
|
private |
Definition at line 2076 of file TileCablingService.cxx.
|
private |
Definition at line 2104 of file TileCablingService.cxx.
|
private |
Definition at line 2275 of file TileCablingService.cxx.
|
private |
Definition at line 2070 of file TileCablingService.cxx.
|
private |
Definition at line 2098 of file TileCablingService.cxx.
|
private |
Definition at line 2231 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1379 of file TileCablingService.cxx.
|
private |
Definition at line 1712 of file TileCablingService.cxx.
|
private |
Definition at line 1792 of file TileCablingService.cxx.
|
private |
Definition at line 1827 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1426 of file TileCablingService.cxx.
|
private |
Definition at line 1446 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1332 of file TileCablingService.cxx.
|
private |
Definition at line 1352 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2036 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2018 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1989 of file TileCablingService.cxx.
|
private |
Definition at line 1385 of file TileCablingService.cxx.
|
private |
Definition at line 1727 of file TileCablingService.cxx.
|
private |
Definition at line 1411 of file TileCablingService.cxx.
| bool TileCablingService::is_MBTS_merged_run2plus | ( | int | module | ) | const |
Definition at line 2446 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 2454 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 2372 of file TileCablingService.cxx.
|
private |
Definition at line 2082 of file TileCablingService.cxx.
|
private |
Definition at line 2133 of file TileCablingService.cxx.
|
private |
Definition at line 2353 of file TileCablingService.cxx.
| Identifier TileCablingService::pmt2mt_id | ( | const Identifier & | id | ) | const |
Definition at line 442 of file TileCablingService.cxx.
| Identifier TileCablingService::pmt2tt_id | ( | const Identifier & | id | ) | const |
Definition at line 368 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 1151 of file TileCablingService.cxx.
| HWIdentifier TileCablingService::s2h_channel_id | ( | const Identifier & | id | ) | const |
Definition at line 1069 of file TileCablingService.cxx.
| HWIdentifier TileCablingService::s2h_drawer_id | ( | const Identifier & | id | ) | const |
Definition at line 1004 of file TileCablingService.cxx.
|
private |
Definition at line 226 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 184 of file TileCablingService.h.
|
private |
Definition at line 349 of file TileCablingService.cxx.
|
inlineprivate |
Definition at line 250 of file TileCablingService.h.
|
private |
Definition at line 332 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.
|
inlineprivate |
Definition at line 186 of file TileCablingService.h.
|
inlineprivate |
Definition at line 185 of file TileCablingService.h.
|
inlineprivate |
Definition at line 187 of file TileCablingService.h.
|
private |
Definition at line 1874 of file TileCablingService.cxx.
|
private |
Definition at line 1697 of file TileCablingService.cxx.
|
private |
Definition at line 1911 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 1868 of file TileCablingService.cxx.
|
private |
Definition at line 1682 of file TileCablingService.cxx.
|
private |
Definition at line 1624 of file TileCablingService.cxx.
|
private |
Definition at line 1851 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2053 of file TileCablingService.cxx.
|
staticprivate |
Definition at line 2042 of file TileCablingService.cxx.
| bool TileCablingService::TileGap_connected | ( | const Identifier & | id | ) | const |
Definition at line 1749 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.
|
private |
Definition at line 180 of file TileCablingService.h.
|
private |
Definition at line 179 of file TileCablingService.h.
|
private |
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.