ATLAS Offline Software
Loading...
Searching...
No Matches
HECHVManager::Clockwork Class Reference
Collaboration diagram for HECHVManager::Clockwork:

Public Member Functions

 Clockwork (const HECHVManager *manager)
 ~Clockwork ()=default

Public Attributes

HECHVDescriptor descriptor {CellBinning(0,2*M_PI,32)}
std::unique_ptr< const HECHVModulemoduleArray [2][32][4]
const LArElectrodeIDelecId = nullptr
const LArHVLineIDhvId = nullptr

Detailed Description

Definition at line 60 of file HECHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

HECHVManager::Clockwork::Clockwork ( const HECHVManager * manager)
inlineexplicit

Definition at line 62 of file HECHVManager.cxx.

63 {
64 for(int iSide=0; iSide<2; ++iSide) {
65 for(int iPhi=0; iPhi<32; ++iPhi) {
66 for(int iSampling=0; iSampling<4; ++iSampling) {
67 moduleArray[iSide][iPhi][iSampling] = std::make_unique<HECHVModule>(manager,iSide,iPhi,iSampling);
68 }
69 }
70 }
71
72 ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
73 if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
74 throw std::runtime_error("HECHVManager failed to retrieve LArElectrodeID");
75 }
76
77 if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
78 throw std::runtime_error("HECHVManager failed to retrieve LArHVLineID");
79 }
80 }
const LArHVLineID * hvId
const LArElectrodeID * elecId
std::unique_ptr< const HECHVModule > moduleArray[2][32][4]
@ iPhi
Definition ParamDefs.h:47

◆ ~Clockwork()

HECHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ descriptor

HECHVDescriptor HECHVManager::Clockwork::descriptor {CellBinning(0,2*M_PI,32)}

Definition at line 82 of file HECHVManager.cxx.

82{CellBinning(0,2*M_PI,32)};
#define M_PI

◆ elecId

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

Definition at line 84 of file HECHVManager.cxx.

◆ hvId

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

Definition at line 85 of file HECHVManager.cxx.

◆ moduleArray

std::unique_ptr<const HECHVModule> HECHVManager::Clockwork::moduleArray[2][32][4]

Definition at line 83 of file HECHVManager.cxx.


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