ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
const LArElectrodeID * elecId
std::unique_ptr< EMECHVDescriptor > descriptor
const LArHVLineID * hvId
std::unique_ptr< const EMECHVModule > moduleArray[2][8][8][8]
@ iPhi
Definition ParamDefs.h:47
setScale setgFexType iEta

◆ ~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: