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

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


The documentation for this class was generated from the following file:
EMECPresamplerHVManager::Clockwork::moduleArray
std::unique_ptr< const EMECPresamplerHVModule > moduleArray[2][64]
Definition: EMECPresamplerHVManager.cxx:54
EMECPresamplerHVManager::Clockwork::elecId
const LArElectrodeID * elecId
Definition: EMECPresamplerHVManager.cxx:55
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
EMECPresamplerHVManager::Clockwork::hvId
const LArHVLineID * hvId
Definition: EMECPresamplerHVManager.cxx:56
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:53
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
ServiceHandle< StoreGateSvc >