ATLAS Offline Software
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
EMBHVElectrode Class Reference

#include <EMBHVElectrode.h>

Collaboration diagram for EMBHVElectrode:

Classes

class  Clockwork
 

Public Member Functions

 EMBHVElectrode (const EMBHVModule *module, unsigned int iElectrode)
 
 ~EMBHVElectrode ()
 
unsigned int getElectrodeIndex () const
 
const EMBHVModulegetModule () const
 
double getPhi () const
 
int hvLineNo (int iGap, const LArHVIdMapping *hvIdMapping) const
 

Private Member Functions

 EMBHVElectrode (const EMBHVElectrode &right)
 
EMBHVElectrodeoperator= (const EMBHVElectrode &right)
 

Private Attributes

Clockworkm_c
 

Detailed Description

Definition at line 14 of file EMBHVElectrode.h.

Constructor & Destructor Documentation

◆ EMBHVElectrode() [1/2]

EMBHVElectrode::EMBHVElectrode ( const EMBHVModule module,
unsigned int  iElectrode 
)

Definition at line 22 of file EMBHVElectrode.cxx.

23  : m_c(new Clockwork(module,iElectrode))
24 {
25 }

◆ ~EMBHVElectrode()

EMBHVElectrode::~EMBHVElectrode ( )

Definition at line 27 of file EMBHVElectrode.cxx.

28 {
29  delete m_c;
30 }

◆ EMBHVElectrode() [2/2]

EMBHVElectrode::EMBHVElectrode ( const EMBHVElectrode right)
private

Member Function Documentation

◆ getElectrodeIndex()

unsigned int EMBHVElectrode::getElectrodeIndex ( ) const

Definition at line 48 of file EMBHVElectrode.cxx.

48  {
49  return m_c->iElectrode;
50 }

◆ getModule()

const EMBHVModule & EMBHVElectrode::getModule ( ) const

Definition at line 32 of file EMBHVElectrode.cxx.

33 {
34  return *(m_c->module);
35 }

◆ getPhi()

double EMBHVElectrode::getPhi ( ) const

Definition at line 37 of file EMBHVElectrode.cxx.

38 {
39  return m_c->module->getPhiMin()+m_c->iElectrode*2.0*M_PI/1024.0;
40 }

◆ hvLineNo()

int EMBHVElectrode::hvLineNo ( int  iGap,
const LArHVIdMapping hvIdMapping 
) const

Definition at line 43 of file EMBHVElectrode.cxx.

43  {
44  return m_c->module->getManager().hvLineNo(*this, iGap, hvIdMapping);
45 }

◆ operator=()

EMBHVElectrode& EMBHVElectrode::operator= ( const EMBHVElectrode right)
private

Member Data Documentation

◆ m_c

Clockwork* EMBHVElectrode::m_c
private

Definition at line 38 of file EMBHVElectrode.h.


The documentation for this class was generated from the following files:
M_PI
#define M_PI
Definition: ActiveFraction.h:11
EMBHVElectrode::Clockwork::module
const EMBHVModule * module
Definition: EMBHVElectrode.cxx:18
python.PyAthena.module
module
Definition: PyAthena.py:131
EMBHVModule::getManager
const EMBHVManager & getManager() const
Definition: EMBHVModule.cxx:114
EMBHVManager::hvLineNo
int hvLineNo(const EMBHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
Definition: EMBHVManager.cxx:351
EMBHVElectrode::Clockwork::iElectrode
unsigned int iElectrode
Definition: EMBHVElectrode.cxx:19
EMBHVModule::getPhiMin
double getPhiMin() const
Definition: EMBHVModule.cxx:99
EMBHVElectrode::m_c
Clockwork * m_c
Definition: EMBHVElectrode.h:37