ATLAS Offline Software
Loading...
Searching...
No Matches
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}
Clockwork * m_c

◆ ~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}
#define M_PI

◆ 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: