ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
FCALHVManager::Clockwork Class Reference
Collaboration diagram for FCALHVManager::Clockwork:

Public Member Functions

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

Public Attributes

std::unique_ptr< const FCALHVModulemoduleArray [2][16][3]
 
const LArElectrodeIDelecId = nullptr
 
const LArHVLineIDhvId = nullptr
 

Detailed Description

Definition at line 57 of file FCALHVManager.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

FCALHVManager::Clockwork::Clockwork ( const FCALHVManager manager)
inlineexplicit

Definition at line 59 of file FCALHVManager.cxx.

60  {
61  for(int iSide=0; iSide<2; ++iSide) {
62  for(int iSector=0; iSector<16; ++iSector) {
63  for(int iSampling=0; iSampling<3; ++iSampling) {
64  moduleArray[iSide][iSector][iSampling] = std::make_unique<FCALHVModule>(manager,iSide,iSector,iSampling);
65  }
66  }
67  }
68 
69  ServiceHandle<StoreGateSvc> detStore ("DetectorStore", "HECHVManager");
70  if (StatusCode::SUCCESS!=detStore->retrieve(elecId, "LArElectrodeID")) {
71  throw std::runtime_error("FCALHVManager failed to retrieve LArElectrodeID");
72  }
73 
74  if (StatusCode::SUCCESS!=detStore->retrieve(hvId,"LArHVLineID")) {
75  throw std::runtime_error("FCALHVManager failed to retrieve LArHVLineID");
76  }
77  }

◆ ~Clockwork()

FCALHVManager::Clockwork::~Clockwork ( )
default

Member Data Documentation

◆ elecId

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

Definition at line 80 of file FCALHVManager.cxx.

◆ hvId

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

Definition at line 81 of file FCALHVManager.cxx.

◆ moduleArray

std::unique_ptr<const FCALHVModule> FCALHVManager::Clockwork::moduleArray[2][16][3]

Definition at line 79 of file FCALHVManager.cxx.


The documentation for this class was generated from the following file:
FCALHVManager::Clockwork::moduleArray
std::unique_ptr< const FCALHVModule > moduleArray[2][16][3]
Definition: FCALHVManager.cxx:79
FCALHVManager::Clockwork::hvId
const LArHVLineID * hvId
Definition: FCALHVManager.cxx:81
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
FCALHVManager::Clockwork::elecId
const LArElectrodeID * elecId
Definition: FCALHVManager.cxx:80
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
ServiceHandle< StoreGateSvc >