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

Public Member Functions

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

Public Attributes

CellBinning phiBinning {0.0, 2*M_PI, 64}
std::unique_ptr< const EMECPresamplerHVModulemoduleArray [2][64]
const LArElectrodeIDelecId = nullptr
const LArHVLineIDhvId = nullptr

Detailed Description

Definition at line 35 of file EMECPresamplerHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

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

Definition at line 37 of file EMECPresamplerHVManager.cxx.

37 {
38 for(int iSide=0; iSide<2; ++iSide) {
39 for(int iPhi=0; iPhi<64; ++iPhi) {
40 moduleArray[iSide][iPhi] = std::make_unique<EMECPresamplerHVModule>(manager, iSide, iPhi);
41 }
42 }
43 ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
44 if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
45 throw std::runtime_error("EMECPresamplerHVManager failed to retrieve LArElectrodeID");
46 }
47
48 if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
49 throw std::runtime_error("EMECPresamplerHVManager failed to retrieve LArHVLineID");
50 }
51 }
std::unique_ptr< const EMECPresamplerHVModule > moduleArray[2][64]
@ iPhi
Definition ParamDefs.h:47

◆ ~Clockwork()

EMECPresamplerHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ elecId

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

Definition at line 55 of file EMECPresamplerHVManager.cxx.

◆ hvId

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

Definition at line 56 of file EMECPresamplerHVManager.cxx.

◆ moduleArray

std::unique_ptr<const EMECPresamplerHVModule> EMECPresamplerHVManager::Clockwork::moduleArray[2][64]

Definition at line 54 of file EMECPresamplerHVManager.cxx.

◆ phiBinning

CellBinning EMECPresamplerHVManager::Clockwork::phiBinning {0.0, 2*M_PI, 64}

Definition at line 53 of file EMECPresamplerHVManager.cxx.

53{0.0, 2*M_PI, 64};
#define M_PI

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