ATLAS Offline Software
Loading...
Searching...
No Matches
EMECPresamplerHVModule Class Reference

Describes one HV Module within the EMEc Presampler. More...

#include <EMECPresamplerHVModule.h>

Collaboration diagram for EMECPresamplerHVModule:

Classes

class  Clockwork

Public Member Functions

 EMECPresamplerHVModule (const EMECPresamplerHVManager *manager, unsigned int iSide, unsigned int iPhi)
 ~EMECPresamplerHVModule ()
double getEtaMin () const
double getEtaMax () const
double getPhiMin () const
double getPhiMax () const
unsigned int getPhiIndex () const
unsigned int getSideIndex () const
int hvLineNo (int iGap, const LArHVIdMapping *hvIdMapping) const
const EMECPresamplerHVManagergetManager () const

Private Member Functions

 EMECPresamplerHVModule (const EMECPresamplerHVModule &right)
EMECPresamplerHVModuleoperator= (const EMECPresamplerHVModule &right)

Private Attributes

Clockworkm_c

Detailed Description

Describes one HV Module within the EMEc Presampler.

Definition at line 21 of file EMECPresamplerHVModule.h.

Constructor & Destructor Documentation

◆ EMECPresamplerHVModule() [1/2]

EMECPresamplerHVModule::EMECPresamplerHVModule ( const EMECPresamplerHVManager * manager,
unsigned int iSide,
unsigned int iPhi )

Definition at line 24 of file EMECPresamplerHVModule.cxx.

◆ ~EMECPresamplerHVModule()

EMECPresamplerHVModule::~EMECPresamplerHVModule ( )

Definition at line 31 of file EMECPresamplerHVModule.cxx.

32{
33 delete m_c;
34}

◆ EMECPresamplerHVModule() [2/2]

EMECPresamplerHVModule::EMECPresamplerHVModule ( const EMECPresamplerHVModule & right)
private

Member Function Documentation

◆ getEtaMax()

double EMECPresamplerHVModule::getEtaMax ( ) const

Definition at line 52 of file EMECPresamplerHVModule.cxx.

53{
54 if (m_c->iSide==0) return -1.5;
55 else return 1.8;
56}

◆ getEtaMin()

double EMECPresamplerHVModule::getEtaMin ( ) const

Definition at line 46 of file EMECPresamplerHVModule.cxx.

47{
48 if (m_c->iSide==0) return -1.8;
49 else return 1.5;
50}

◆ getManager()

const EMECPresamplerHVManager & EMECPresamplerHVModule::getManager ( ) const

Definition at line 68 of file EMECPresamplerHVModule.cxx.

69{
70 return *(m_c->manager);
71}

◆ getPhiIndex()

unsigned int EMECPresamplerHVModule::getPhiIndex ( ) const

Definition at line 36 of file EMECPresamplerHVModule.cxx.

37{
38 return m_c->iPhi;
39}

◆ getPhiMax()

double EMECPresamplerHVModule::getPhiMax ( ) const

Definition at line 63 of file EMECPresamplerHVModule.cxx.

64{
65 return m_c->manager->getPhiBinning()->binUpper(m_c->iPhi);
66}

◆ getPhiMin()

double EMECPresamplerHVModule::getPhiMin ( ) const

Definition at line 58 of file EMECPresamplerHVModule.cxx.

59{
60 return m_c->manager->getPhiBinning()->binLower(m_c->iPhi);
61}

◆ getSideIndex()

unsigned int EMECPresamplerHVModule::getSideIndex ( ) const

Definition at line 41 of file EMECPresamplerHVModule.cxx.

42{
43 return m_c->iSide;
44}

◆ hvLineNo()

int EMECPresamplerHVModule::hvLineNo ( int iGap,
const LArHVIdMapping * hvIdMapping ) const

Definition at line 74 of file EMECPresamplerHVModule.cxx.

75{
76 return getManager().hvLineNo(*this,hvIdMapping);
77}
int hvLineNo(const EMECPresamplerHVModule &module, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlineId=nullptr) const
const EMECPresamplerHVManager & getManager() const

◆ operator=()

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

Member Data Documentation

◆ m_c

Clockwork* EMECPresamplerHVModule::m_c
private

Definition at line 52 of file EMECPresamplerHVModule.h.


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