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

Public Member Functions

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

Public Attributes

std::unique_ptr< EMBPresamplerHVDescriptordescriptor
std::unique_ptr< const EMBPresamplerHVModulemoduleArray [2][4][32]
const LArElectrodeIDelecId = nullptr
const LArHVLineIDhvId = nullptr

Detailed Description

Definition at line 37 of file EMBPresamplerHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

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

Definition at line 39 of file EMBPresamplerHVManager.cxx.

39 {
40 CellPartitioning etaPartitioning;
41 for (unsigned int i= 0; i<4; i++) etaPartitioning.addValue(i*0.4);
42 etaPartitioning.addValue(1.525);
43 descriptor = std::make_unique<EMBPresamplerHVDescriptor>(etaPartitioning,CellBinning(0.0, 2*M_PI, 32));
44
45 for(int iSide=0; iSide<2; ++iSide) {
46 for(int iEta=0; iEta<4; ++iEta) {
47 for(int iPhi=0; iPhi<32; ++iPhi) {
48 moduleArray[iSide][iEta][iPhi] = std::make_unique<EMBPresamplerHVModule>(manager, iSide, iEta,iPhi);
49 }
50 }
51 }
52
53 ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
54 if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
55 throw std::runtime_error("EMBPresamplerHVManager failed to retrieve LArElectrodeID");
56 }
57
58 if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
59 throw std::runtime_error("EMBPresamplerHVManager failed to retrieve LArHVLineID");
60 }
61 }
#define M_PI
std::unique_ptr< EMBPresamplerHVDescriptor > descriptor
std::unique_ptr< const EMBPresamplerHVModule > moduleArray[2][4][32]
@ iPhi
Definition ParamDefs.h:47
setScale setgFexType iEta

◆ ~Clockwork()

EMBPresamplerHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ descriptor

std::unique_ptr<EMBPresamplerHVDescriptor> EMBPresamplerHVManager::Clockwork::descriptor

Definition at line 63 of file EMBPresamplerHVManager.cxx.

◆ elecId

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

Definition at line 65 of file EMBPresamplerHVManager.cxx.

◆ hvId

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

Definition at line 66 of file EMBPresamplerHVManager.cxx.

◆ moduleArray

std::unique_ptr<const EMBPresamplerHVModule> EMBPresamplerHVManager::Clockwork::moduleArray[2][4][32]

Definition at line 64 of file EMBPresamplerHVManager.cxx.


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