ATLAS Offline Software
Loading...
Searching...
No Matches
TileCablingSvc Class Reference

#include <TileCablingSvc.h>

Inheritance diagram for TileCablingSvc:
Collaboration diagram for TileCablingSvc:

Public Member Functions

 TileCablingSvc (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () override
const TileCablingServicecablingService () const
const std::vector< std::string > & connectedDrawers () const
const std::vector< Identifier > & disconnectedCells () const
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Private Types

enum  MAX_TILE_CELLS { MAX_TILE_CELLS_UPGRADEA = 11200 , MAX_TILE_CELLS_UPGRADEBC = 6208 , MAX_TILE_CELLS_UPGRADEABC = 12224 }

Private Attributes

const TileCablingServicem_cablingService
std::vector< std::string > m_connectedDrawers
ServiceHandle< StoreGateSvcm_detStore
int m_cablingType
bool m_useCache
std::vector< Identifierm_disconnectedCells

Detailed Description

Definition at line 28 of file TileCablingSvc.h.

Member Enumeration Documentation

◆ MAX_TILE_CELLS

Enumerator
MAX_TILE_CELLS_UPGRADEA 
MAX_TILE_CELLS_UPGRADEBC 
MAX_TILE_CELLS_UPGRADEABC 

Definition at line 72 of file TileCablingSvc.h.

Constructor & Destructor Documentation

◆ TileCablingSvc()

TileCablingSvc::TileCablingSvc ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 30 of file TileCablingSvc.cxx.

31 : AthService(name, pSvcLocator)
32 , m_cablingService(nullptr)
33 , m_detStore("DetectorStore", name)
34{
35 declareProperty("ConnectedDrawers", m_connectedDrawers, "List of connected drawer ranges: starts,end1,start2,end2,...");
36 declareProperty("CablingType", m_cablingType = -9, "Cabling type: -1 - testbeam, 0 - old simulation, 1 - without MBTS, 2 - with MBTS instead of crack scin, 3 - MBTS in spare channels, 4 - RUN2 cabling, 5 - RUN2a cabling");
37 declareProperty("UseCache", m_useCache = true, "Use cache for channel_id to cell_id conversion");
38}
std::vector< std::string > m_connectedDrawers
const TileCablingService * m_cablingService
ServiceHandle< StoreGateSvc > m_detStore

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

virtual StatusCode initialize TileCablingSvc::ATLAS_NOT_THREAD_SAFE ( )
overridevirtual

◆ cablingService()

const TileCablingService * TileCablingSvc::cablingService ( ) const
inline

Definition at line 36 of file TileCablingSvc.h.

36 {
37 return m_cablingService;
38 }

◆ connectedDrawers()

const std::vector< std::string > & TileCablingSvc::connectedDrawers ( ) const
inline

Definition at line 40 of file TileCablingSvc.h.

40 {
41 return m_connectedDrawers;
42 }

◆ disconnectedCells()

const std::vector< Identifier > & TileCablingSvc::disconnectedCells ( ) const
inline

Definition at line 43 of file TileCablingSvc.h.

43 {
45 }
std::vector< Identifier > m_disconnectedCells

◆ msg()

MsgStream & AthCommonMsg< Service >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Service >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

Member Data Documentation

◆ m_cablingService

const TileCablingService* TileCablingSvc::m_cablingService
private

Definition at line 49 of file TileCablingSvc.h.

◆ m_cablingType

int TileCablingSvc::m_cablingType
private

Definition at line 61 of file TileCablingSvc.h.

◆ m_connectedDrawers

std::vector<std::string> TileCablingSvc::m_connectedDrawers
private

Definition at line 51 of file TileCablingSvc.h.

◆ m_detStore

ServiceHandle<StoreGateSvc> TileCablingSvc::m_detStore
private

Definition at line 59 of file TileCablingSvc.h.

◆ m_disconnectedCells

std::vector<Identifier> TileCablingSvc::m_disconnectedCells
private

Definition at line 66 of file TileCablingSvc.h.

◆ m_useCache

bool TileCablingSvc::m_useCache
private

Definition at line 64 of file TileCablingSvc.h.


The documentation for this class was generated from the following files: