ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
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  }

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

◆ 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:
HECHVManager::Clockwork::hvId
const LArHVLineID * hvId
Definition: HECHVManager.cxx:85
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:53
HECHVManager::Clockwork::elecId
const LArElectrodeID * elecId
Definition: HECHVManager.cxx:84
HECHVManager::Clockwork::moduleArray
std::unique_ptr< const HECHVModule > moduleArray[2][32][4]
Definition: HECHVManager.cxx:83
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
ServiceHandle< StoreGateSvc >