ATLAS Offline Software
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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.

27  :m_c(new Clockwork(manager,iSide,iPhi))
28 {
29 }

◆ ~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 }

◆ 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:
EMECPresamplerHVManager::hvLineNo
int hvLineNo(const EMECPresamplerHVModule &module, const LArHVIdMapping *hvIdMapping) const
Definition: EMECPresamplerHVManager.cxx:249
EMECPresamplerHVModule::m_c
Clockwork * m_c
Definition: EMECPresamplerHVModule.h:51
EMECPresamplerHVModule::Clockwork::iPhi
unsigned int iPhi
Definition: EMECPresamplerHVModule.cxx:21
EMECPresamplerHVModule::Clockwork::iSide
unsigned int iSide
Definition: EMECPresamplerHVModule.cxx:20
EMECPresamplerHVManager::getPhiBinning
const CellBinning * getPhiBinning() const
Definition: EMECPresamplerHVManager.cxx:137
EMECPresamplerHVModule::Clockwork::manager
const EMECPresamplerHVManager * manager
Definition: EMECPresamplerHVModule.cxx:19
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:47
EMECPresamplerHVModule::getManager
const EMECPresamplerHVManager & getManager() const
Definition: EMECPresamplerHVModule.cxx:68
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92