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

Public Member Functions

 Clockwork (const EMBHVManager *manager)
 Clockwork (const Clockwork &)=delete
 ~Clockwork ()=default

Public Attributes

EMBHVDescriptor descriptor {CellBinning(0.0, 1.4, 7, 1),CellBinning(0.0, 2*M_PI, 16)}
std::unique_ptr< const EMBHVModulemoduleArray [2][8][16][2]
const LArElectrodeIDelecId = nullptr
const LArHVLineIDhvId = nullptr

Detailed Description

Definition at line 64 of file EMBHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork() [1/2]

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

Definition at line 66 of file EMBHVManager.cxx.

66 {
67 for(int iSide=0; iSide<2; ++iSide) {
68 for(int iEta=0; iEta<8; ++iEta) {
69 for(int iPhi=0; iPhi<16; ++iPhi) {
70 for(int iSector=0; iSector<2; ++iSector) {
71 moduleArray[iSide][iEta][iPhi][iSector] = std::make_unique<EMBHVModule>(manager,iSide,iEta,iPhi,iSector);
72 }
73 }
74 }
75 }
76
77 ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
78 if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
79 throw std::runtime_error("EMBHVManager failed to retrieve LArElectrodeID");
80 }
81
82 if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
83 throw std::runtime_error("EMBHVManager failed to retrieve LArHVLineID");
84 }
85 }
const LArElectrodeID * elecId
const LArHVLineID * hvId
std::unique_ptr< const EMBHVModule > moduleArray[2][8][16][2]
@ iPhi
Definition ParamDefs.h:47
setScale setgFexType iEta

◆ Clockwork() [2/2]

EMBHVManager::Clockwork::Clockwork ( const Clockwork & )
delete

◆ ~Clockwork()

EMBHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ descriptor

EMBHVDescriptor EMBHVManager::Clockwork::descriptor {CellBinning(0.0, 1.4, 7, 1),CellBinning(0.0, 2*M_PI, 16)}

Definition at line 88 of file EMBHVManager.cxx.

88{CellBinning(0.0, 1.4, 7, 1),CellBinning(0.0, 2*M_PI, 16)};
#define M_PI

◆ elecId

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

Definition at line 90 of file EMBHVManager.cxx.

◆ hvId

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

Definition at line 91 of file EMBHVManager.cxx.

◆ moduleArray

std::unique_ptr<const EMBHVModule> EMBHVManager::Clockwork::moduleArray[2][8][16][2]

Definition at line 89 of file EMBHVManager.cxx.


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