|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TILECONDITIONS_TILECABLINGSERVICE_H
6 #define TILECONDITIONS_TILECABLINGSERVICE_H
11 #include "Identifier/Identifier.h"
140 static int tbid2drawer (
int tbtype,
int tbmodule );
283 #endif // TILECONDITIONS_TILECABLINGSERVICE_H
Identifier cell2mt_id(const Identifier &id) const
const CaloLVL1_ID * m_TT_ID
Identifier h2s_cell_id_index_from_cache(int ros, int drawer, int channel, int &index, int &pmt) const
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
bool TileGap_connected(const Identifier &id) const
Identifier h2s_cell_id_index_find(int ros, int drawer, int channel, int &index, int &pmt) const
std::vector< int > m_ch2sampleUpgradeABC
void setTestBeam(bool testBeam)
Scalar phi() const
phi method
Identifier pmt2tt_id(const Identifier &id) const
bool hwid2MBTSconnected(int ros, int drawer, int channel) const
static const TileCablingService * getInstance()
get pointer to service instance
int hwid2pmt_upgradeABC(int ros, int channel) const
int barrel_chan2hole(int channel) const
Scalar eta() const
pseudorapidity method
int cacheIndex(int ros, int drawer, int channel) const
int hwid2tower_gapscin(int ros, int drawer, int channel) const
Identifier pmt2mt_id(const Identifier &id) const
bool isRun3Cabling() const
void fillConnectionTables()
bool isChannelFromOppositeSide(int channel) const
std::vector< int > m_E1mergedRun2Plus
Identifier h2s_cell_id_index(const HWIdentifier &id, int &index, int &pmt) const
HWIdentifier m_invalid_hwid
const TileTBID * getTileTBID() const
static int hwid2module(int drawer)
void fillH2SIdCache(void)
std::vector< int > m_ch2pmt
static int tbid2drawer(int tbtype, int tbmodule)
bool setCablingType(TileCablingType type)
int hwid2tower(int ros, int channel) const
void setConnected(int section, int side, int modMin, int modMax)
const TileTBID * m_tileTBID
static int swid2drawer(int module)
std::vector< int > m_ch2pmtUpgradeABC
virtual ~TileCablingService()
bool hwid2MBTSconnected_run2plus(int ros, int drawer, int channel) const
int frag(const HWIdentifier &id) const
const TileHWID * m_tileHWID
int hwid2tower_upgradeABC(int ros, int channel) const
Helper class for TileCal online (hardware) identifiers.
int hwid2sample_upgradeABC(int ros, int channel) const
int MBTS2channel_run2plus(int eta) const
bool isRun2PlusCabling() const
int hwid2MBTSphi(int drawer, int channel) const
Identifier h2s_cell_id(const HWIdentifier &id) const
int hwid2MBTSeta_run2plus(int ros, int drawer) const
int hwid2MBTSphi_run2plus(int ros, int drawer) const
void setTileHWID(const TileHWID *tileHWID)
static int hwid2section(int ros, int channel)
int swid2drawer_gapscin(int side, int module, int tower) const
static int hwid2tbchannel(int drawer, int channel)
Identifier h2s_adc_id(const HWIdentifier &id) const
Helper class for TileCal offline identifiers.
Identifier drawer2MBTS_id(const HWIdentifier &id) const
int hwid2E4prphi_run2(int drawer) const
static int hwid2tbmodule(int drawer, int channel)
int hwid2side(int ros, int channel) const
int hwid2MBTSeta_real(int ros, int drawer, int channel) const
void setTileID(const TileID *tileID)
int extbar_chan2hole(int channel) const
const TileHWID * getTileHWID() const
const TileID * getTileID() const
int MBTS2drawer(int phi, int eta) const
int hwid2module_gapscin(int ros, int drawer, int channel) const
static int hwid2sample(int ros, int channel)
int hwid2E4preta_run2(int drawer) const
bool isRun2Cabling() const
bool isTileITCGapCrack(int channel) const
HWIdentifier s2h_drawer_id(const Identifier &id) const
std::vector< int > m_ch2towerUpgradeABC
int swid2channel(int section, int side, int tower, int sample, int pmt) const
bool hwid2E4prconnected_run2(int ros, int drawer, int channel) const
std::vector< bool > m_MBTSmergedRun2Plus
int hwid2MBTSeta(int drawer, int channel) const
int getCablingType() const
void setConnected(int ros, int drawer, bool yes)
Helper class for offline TT identifiers.
std::vector< Identifier > m_ch2cell
bool is_MBTS_merged_run2plus(int module) const
bool D4(int channel) const
static int hwid2tbtype(int drawer)
HWIdentifier s2h_adc_id(const Identifier &id) const
static int channel2cellindex(int ros, int channel)
bool hwid2MBTSconnected_real(int ros, int drawer, int channel) const
int swid2drawer_gapscin_run2plus(int side, int module, int tower) const
void setCaloLVL1(const CaloLVL1_ID *tt_ID)
bool EB_special(int ros, int drawer) const
static bool C10_connected(int module)
bool isDisconnected(int ros, int drawer, int channel) const
int hwid2pmt(int ros, int channel) const
TileCablingType m_cablingType
int swid2channel_upgradeABC(int section, int side, int tower, int sample, int pmt) const
void EB_special_move_channel(int ros, int drawer, int &channel) const
void setTileTBID(const TileTBID *tileTBID)
unsigned int getNChanPerCell(const Identifier &cell_id) const
bool connected(int ros, int drawer) const
static int channel2hole(int ros, int channel)
int getMaxGains(void) const
friend class TileCablingSvcMock
std::vector< int > m_ch2index
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Identifier h2s_pmt_id(const HWIdentifier &id) const
bool isTileGapCrack(int channel) const
int getMaxChannels(void) const
int frag2channels(const HWIdentifier &id, std::vector< HWIdentifier > &ids) const
int MBTS2drawer_run2plus(int side, int phi, int eta) const
Define macros for attributes used to control the static checker.
int hwid2MBTSphi_real(int ros, int drawer, int channel) const
int swid2channel_gapscin(int side, int module, int tower) const
Identifier cell2tt_id(const Identifier &id) const
static TileCablingService *getInstance_nc ATLAS_NOT_THREAD_SAFE()
get (non-const) pointer to service instance
const CaloLVL1_ID * getCaloLVL1_ID() const
int swid2ros(int section, int side) const
int E1_merged_with_run2plus(int ros, int module) const
int MBTS2drawer_real(int side, int phi, int eta) const
static int tbid2channel(int drawer, int tbchannel)
HWIdentifier s2h_channel_id(const Identifier &id) const