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

Public Member Functions

 Clockwork (const EMECHVManager *managerPtr, const EMECHVModule *modulePtr, IOType iWheel, unsigned int side, unsigned int eta, unsigned int phi, unsigned int sector)
 ~Clockwork ()

Public Attributes

const EMECHVManagermanager
unsigned int iSide
unsigned int iEta
unsigned int iPhi
unsigned int iSector
std::vector< const EMECHVElectrode * > electrodes

Detailed Description

Definition at line 11 of file EMECHVModule.cxx.

Constructor & Destructor Documentation

◆ Clockwork()

EMECHVModule::Clockwork::Clockwork ( const EMECHVManager * managerPtr,
const EMECHVModule * modulePtr,
IOType iWheel,
unsigned int side,
unsigned int eta,
unsigned int phi,
unsigned int sector )
inline

Definition at line 13 of file EMECHVModule.cxx.

20 : manager(managerPtr)
21 , iSide(side)
22 , iEta(eta)
23 , iPhi(phi)
24 , iSector(sector)
25 {
26 unsigned nElectrodes = iWheel==OUTER ? 24 : 4;
27 electrodes.reserve(nElectrodes);
28 for(unsigned iElectrode=0; iElectrode<nElectrodes; ++iElectrode) {
29 electrodes.push_back(new EMECHVElectrode(modulePtr, iElectrode));
30 }
31 }
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
std::vector< const EMECHVElectrode * > electrodes
const EMECHVManager * manager

◆ ~Clockwork()

EMECHVModule::Clockwork::~Clockwork ( )
inline

Definition at line 32 of file EMECHVModule.cxx.

33 {
34 auto it=electrodes.begin();
35 auto itend=electrodes.end();
36 for(;it!=itend;++it) {
37 delete *it;
38 }
39 }

Member Data Documentation

◆ electrodes

std::vector<const EMECHVElectrode*> EMECHVModule::Clockwork::electrodes

Definition at line 46 of file EMECHVModule.cxx.

◆ iEta

unsigned int EMECHVModule::Clockwork::iEta

Definition at line 43 of file EMECHVModule.cxx.

◆ iPhi

unsigned int EMECHVModule::Clockwork::iPhi

Definition at line 44 of file EMECHVModule.cxx.

◆ iSector

unsigned int EMECHVModule::Clockwork::iSector

Definition at line 45 of file EMECHVModule.cxx.

◆ iSide

unsigned int EMECHVModule::Clockwork::iSide

Definition at line 42 of file EMECHVModule.cxx.

◆ manager

const EMECHVManager* EMECHVModule::Clockwork::manager

Definition at line 41 of file EMECHVModule.cxx.


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