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

#include <EMECHVElectrode.h>

Collaboration diagram for EMECHVElectrode:

Classes

class  Clockwork
 

Public Member Functions

 EMECHVElectrode (const EMECHVModule *module, unsigned int iElectrode)
 
 ~EMECHVElectrode ()
 
unsigned int getElectrodeIndex () const
 
const EMECHVModulegetModule () const
 
double getPhi () const
 
int hvLineNo (int iGap, const LArHVIdMapping *hvIdMapping) const
 

Private Member Functions

 EMECHVElectrode (const EMECHVElectrode &right)
 
EMECHVElectrodeoperator= (const EMECHVElectrode &right)
 

Private Attributes

Clockworkm_c
 

Detailed Description

Definition at line 14 of file EMECHVElectrode.h.

Constructor & Destructor Documentation

◆ EMECHVElectrode() [1/2]

EMECHVElectrode::EMECHVElectrode ( const EMECHVModule module,
unsigned int  iElectrode 
)

Definition at line 22 of file EMECHVElectrode.cxx.

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

◆ ~EMECHVElectrode()

EMECHVElectrode::~EMECHVElectrode ( )

Definition at line 32 of file EMECHVElectrode.cxx.

33 {
34  delete m_c;
35 }

◆ EMECHVElectrode() [2/2]

EMECHVElectrode::EMECHVElectrode ( const EMECHVElectrode right)
private

Member Function Documentation

◆ getElectrodeIndex()

unsigned int EMECHVElectrode::getElectrodeIndex ( ) const

Definition at line 27 of file EMECHVElectrode.cxx.

28 {
29  return m_c->iElectrode;
30 }

◆ getModule()

const EMECHVModule & EMECHVElectrode::getModule ( ) const

Definition at line 37 of file EMECHVElectrode.cxx.

38 {
39  return *(m_c->module);
40 }

◆ getPhi()

double EMECHVElectrode::getPhi ( ) const

Definition at line 42 of file EMECHVElectrode.cxx.

43 {
44  double N= m_c->module->getWheelIndex()==EMECHVModule::OUTER ? 768:256;
45  return m_c->module->getPhiMin()+m_c->iElectrode*2.0*M_PI/N;
46 }

◆ hvLineNo()

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

Definition at line 49 of file EMECHVElectrode.cxx.

49  {
50  return m_c->module->getManager().hvLineNo(*this, iGap, hvIdMapping);
51 }

◆ operator=()

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

Member Data Documentation

◆ m_c

Clockwork* EMECHVElectrode::m_c
private

Definition at line 38 of file EMECHVElectrode.h.


The documentation for this class was generated from the following files:
EMECHVModule::getWheelIndex
EMECHVModule::IOType getWheelIndex() const
Definition: EMECHVModule.cxx:96
EMECHVModule::getManager
const EMECHVManager & getManager() const
Definition: EMECHVModule.cxx:140
EMECHVElectrode::m_c
Clockwork * m_c
Definition: EMECHVElectrode.h:37
M_PI
#define M_PI
Definition: ActiveFraction.h:11
JetTiledMap::N
@ N
Definition: TiledEtaPhiMap.h:44
EMECHVModule::getPhiMin
double getPhiMin() const
Definition: EMECHVModule.cxx:126
python.PyAthena.module
module
Definition: PyAthena.py:134
EMECHVElectrode::Clockwork::iElectrode
unsigned int iElectrode
Definition: EMECHVElectrode.cxx:19
EMECHVElectrode::Clockwork::module
const EMECHVModule * module
Definition: EMECHVElectrode.cxx:18
EMECHVModule::OUTER
@ OUTER
Definition: EMECHVModule.h:22
EMECHVManager::hvLineNo
int hvLineNo(const EMECHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping) const
Definition: EMECHVManager.cxx:396