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

◆ ~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:
EMBPresamplerHVManager::Clockwork::moduleArray
std::unique_ptr< const EMBPresamplerHVModule > moduleArray[2][4][32]
Definition: EMBPresamplerHVManager.cxx:64
EMBPresamplerHVManager::Clockwork::elecId
const LArElectrodeID * elecId
Definition: EMBPresamplerHVManager.cxx:65
M_PI
#define M_PI
Definition: ActiveFraction.h:11
lumiFormat.i
int i
Definition: lumiFormat.py:92
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
EMBPresamplerHVManager::Clockwork::descriptor
std::unique_ptr< EMBPresamplerHVDescriptor > descriptor
Definition: EMBPresamplerHVManager.cxx:63
EMBPresamplerHVManager::Clockwork::hvId
const LArHVLineID * hvId
Definition: EMBPresamplerHVManager.cxx:66
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:53
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:74
ServiceHandle< StoreGateSvc >