ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
EMECHVManager::Clockwork Class Reference
Collaboration diagram for EMECHVManager::Clockwork:

Public Member Functions

 Clockwork (const EMECHVManager *manager, IOType wheel, std::unique_ptr< EMECHVDescriptor > the_descriptor)
 
 ~Clockwork ()=default
 

Public Attributes

std::unique_ptr< EMECHVDescriptordescriptor
 
IOType iWheel
 
std::unique_ptr< const EMECHVModulemoduleArray [2][8][8][8]
 
const LArElectrodeIDelecId = nullptr
 
const LArHVLineIDhvId = nullptr
 

Detailed Description

Definition at line 65 of file EMECHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

EMECHVManager::Clockwork::Clockwork ( const EMECHVManager manager,
IOType  wheel,
std::unique_ptr< EMECHVDescriptor the_descriptor 
)
inline

Definition at line 67 of file EMECHVManager.cxx.

69  : descriptor(std::move(the_descriptor)),
70  iWheel(wheel)
71  {
72  for(int iSide=0; iSide<2; ++iSide) {
73  for(int iEta=0; iEta<8; ++iEta) {
74  for(int iPhi=0; iPhi<8; ++iPhi) {
75  for(int iSector=0; iSector<8; ++iSector) {
76  moduleArray[iSide][iEta][iPhi][iSector] = std::make_unique<EMECHVModule>(manager,wheel,iSide,iEta,iPhi,iSector);
77  }
78  }
79  }
80  }
81 
82  ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
83  if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
84  throw std::runtime_error("EMECHVManager failed to retrieve LArElectrodeID");
85  }
86 
87  if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
88  throw std::runtime_error("EMECHVManager failed to retrieve LArHVLineID");
89  }
90  }

◆ ~Clockwork()

EMECHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ descriptor

std::unique_ptr<EMECHVDescriptor> EMECHVManager::Clockwork::descriptor

Definition at line 92 of file EMECHVManager.cxx.

◆ elecId

const LArElectrodeID* EMECHVManager::Clockwork::elecId = nullptr

Definition at line 95 of file EMECHVManager.cxx.

◆ hvId

const LArHVLineID* EMECHVManager::Clockwork::hvId = nullptr

Definition at line 96 of file EMECHVManager.cxx.

◆ iWheel

IOType EMECHVManager::Clockwork::iWheel

Definition at line 93 of file EMECHVManager.cxx.

◆ moduleArray

std::unique_ptr<const EMECHVModule> EMECHVManager::Clockwork::moduleArray[2][8][8][8]

Definition at line 94 of file EMECHVManager.cxx.


The documentation for this class was generated from the following file:
EMECHVManager::Clockwork::iWheel
IOType iWheel
Definition: EMECHVManager.cxx:93
EMECHVManager::Clockwork::elecId
const LArElectrodeID * elecId
Definition: EMECHVManager.cxx:95
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:53
EMECHVManager::Clockwork::moduleArray
std::unique_ptr< const EMECHVModule > moduleArray[2][8][8][8]
Definition: EMECHVManager.cxx:94
EMECHVManager::Clockwork::hvId
const LArHVLineID * hvId
Definition: EMECHVManager.cxx:96
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:74
EMECHVManager::Clockwork::descriptor
std::unique_ptr< EMECHVDescriptor > descriptor
Definition: EMECHVManager.cxx:92
ServiceHandle< StoreGateSvc >