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 TileCablingService * cablingService () 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 TileCablingService * m_cablingService {nullptr}
Gaudi::Property< std::vector< std::string > > m_connectedDrawers
ServiceHandle< StoreGateSvc > m_detStore
Gaudi::Property< int > m_cablingType
Gaudi::Property< bool > m_useCache {this, "UseCache", true, "Use cache for channel_id to cell_id conversion"}
std::vector< Identifier > m_disconnectedCells

Detailed Description

Definition at line 31 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 77 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_detStore("DetectorStore", name)
33{
34}
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 39 of file TileCablingSvc.h.

39 {
40 return m_cablingService;
41 }
const TileCablingService * m_cablingService

◆ connectedDrawers()

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

Definition at line 43 of file TileCablingSvc.h.

43 {
44 return m_connectedDrawers;
45 }
Gaudi::Property< std::vector< std::string > > m_connectedDrawers

◆ disconnectedCells()

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

Definition at line 46 of file TileCablingSvc.h.

46 {
48 }
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 {nullptr}
private

Definition at line 52 of file TileCablingSvc.h.

52{nullptr};

◆ m_cablingType

Gaudi::Property<int> TileCablingSvc::m_cablingType
private
Initial value:
{this, "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"}

Definition at line 65 of file TileCablingSvc.h.

65 {this, "CablingType", -9,
66 "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"};

◆ m_connectedDrawers

Gaudi::Property<std::vector<std::string> > TileCablingSvc::m_connectedDrawers
private
Initial value:
{this, "ConnectedDrawers", {},
"List of connected drawer ranges: starts,end1,start2,end2,..."}

Definition at line 54 of file TileCablingSvc.h.

54 {this, "ConnectedDrawers", {},
55 "List of connected drawer ranges: starts,end1,start2,end2,..."}; // list of connected drawers

◆ m_detStore

ServiceHandle<StoreGateSvc> TileCablingSvc::m_detStore
private

Definition at line 63 of file TileCablingSvc.h.

◆ m_disconnectedCells

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

Definition at line 71 of file TileCablingSvc.h.

◆ m_useCache

Gaudi::Property<bool> TileCablingSvc::m_useCache {this, "UseCache", true, "Use cache for channel_id to cell_id conversion"}
private

Definition at line 69 of file TileCablingSvc.h.

69{this, "UseCache", true, "Use cache for channel_id to cell_id conversion"};

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