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

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

#include <EMBPresamplerHVModule.h>

Collaboration diagram for EMBPresamplerHVModule:

Classes

class  Clockwork
 

Public Member Functions

 EMBPresamplerHVModule (const EMBPresamplerHVManager *manager, unsigned int iSide, unsigned int iEta, unsigned int iPhi)
 
 ~EMBPresamplerHVModule ()
 
unsigned int getEtaIndex () const
 
unsigned int getPhiIndex () const
 
unsigned int getSideIndex () const
 
double getEtaMin () const
 
double getEtaMax () const
 
double getPhiMin () const
 
double getPhiMax () const
 
int hvLineNo (int iGap, const LArHVIdMapping *hvIdMapping) const
 
const EMBPresamplerHVManagergetManager () const
 

Private Member Functions

EMBPresamplerHVModuleoperator= (const EMBPresamplerHVModule &right)
 
 EMBPresamplerHVModule (const EMBPresamplerHVModule &right)
 

Private Attributes

Clockworkm_c
 

Friends

class ImaginaryFriend
 

Detailed Description

Describes one HV Module within the EMB Presampler.

Definition at line 21 of file EMBPresamplerHVModule.h.

Constructor & Destructor Documentation

◆ EMBPresamplerHVModule() [1/2]

EMBPresamplerHVModule::EMBPresamplerHVModule ( const EMBPresamplerHVManager manager,
unsigned int  iSide,
unsigned int  iEta,
unsigned int  iPhi 
)

Definition at line 27 of file EMBPresamplerHVModule.cxx.

31  : m_c(new Clockwork(manager,iSide,iEta,iPhi))
32 {
33 }

◆ ~EMBPresamplerHVModule()

EMBPresamplerHVModule::~EMBPresamplerHVModule ( )

Definition at line 35 of file EMBPresamplerHVModule.cxx.

36 {
37  delete m_c;
38 }

◆ EMBPresamplerHVModule() [2/2]

EMBPresamplerHVModule::EMBPresamplerHVModule ( const EMBPresamplerHVModule right)
private

Member Function Documentation

◆ getEtaIndex()

unsigned int EMBPresamplerHVModule::getEtaIndex ( ) const

Definition at line 40 of file EMBPresamplerHVModule.cxx.

41 {
42  return m_c->iEta;
43 }

◆ getEtaMax()

double EMBPresamplerHVModule::getEtaMax ( ) const

Definition at line 65 of file EMBPresamplerHVModule.cxx.

66 {
67  if (m_c->iSide==0) {
68  return -m_c->manager->getDescriptor()->getEtaPartitioning().binLower(m_c->iEta);
69  }
70  else {
71  return m_c->manager->getDescriptor()->getEtaPartitioning().binUpper(m_c->iEta);
72  }
73 }

◆ getEtaMin()

double EMBPresamplerHVModule::getEtaMin ( ) const

Definition at line 55 of file EMBPresamplerHVModule.cxx.

56 {
57  if (m_c->iSide==0) {
58  return -m_c->manager->getDescriptor()->getEtaPartitioning().binUpper(m_c->iEta);
59  }
60  else {
61  return m_c->manager->getDescriptor()->getEtaPartitioning().binLower(m_c->iEta);
62  }
63 }

◆ getManager()

const EMBPresamplerHVManager & EMBPresamplerHVModule::getManager ( ) const

Definition at line 85 of file EMBPresamplerHVModule.cxx.

86 {
87  return *(m_c->manager);
88 }

◆ getPhiIndex()

unsigned int EMBPresamplerHVModule::getPhiIndex ( ) const

Definition at line 45 of file EMBPresamplerHVModule.cxx.

46 {
47  return m_c->iPhi;
48 }

◆ getPhiMax()

double EMBPresamplerHVModule::getPhiMax ( ) const

Definition at line 80 of file EMBPresamplerHVModule.cxx.

81 {
82  return m_c->manager->getDescriptor()->getPhiBinning().binUpper(m_c->iPhi);
83 }

◆ getPhiMin()

double EMBPresamplerHVModule::getPhiMin ( ) const

Definition at line 75 of file EMBPresamplerHVModule.cxx.

76 {
77  return m_c->manager->getDescriptor()->getPhiBinning().binLower(m_c->iPhi);
78 }

◆ getSideIndex()

unsigned int EMBPresamplerHVModule::getSideIndex ( ) const

Definition at line 50 of file EMBPresamplerHVModule.cxx.

51 {
52  return m_c->iSide;
53 }

◆ hvLineNo()

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

Definition at line 91 of file EMBPresamplerHVModule.cxx.

91  {
92  return m_c->manager->hvLineNo(*this,iGap,hvIdMapping);
93 }

◆ operator=()

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

Friends And Related Function Documentation

◆ ImaginaryFriend

friend class ImaginaryFriend
friend

Definition at line 52 of file EMBPresamplerHVModule.h.

Member Data Documentation

◆ m_c

Clockwork* EMBPresamplerHVModule::m_c
private

Definition at line 54 of file EMBPresamplerHVModule.h.


The documentation for this class was generated from the following files:
EMBPresamplerHVModule::Clockwork::iPhi
unsigned int iPhi
Definition: EMBPresamplerHVModule.cxx:24
EMBPresamplerHVModule::m_c
Clockwork * m_c
Definition: EMBPresamplerHVModule.h:53
EMBPresamplerHVManager::getDescriptor
const EMBPresamplerHVDescriptor * getDescriptor() const
Definition: EMBPresamplerHVManager.cxx:147
EMBPresamplerHVModule::Clockwork::manager
const EMBPresamplerHVManager * manager
Definition: EMBPresamplerHVModule.cxx:21
EMBPresamplerHVDescriptor::getEtaPartitioning
const CellPartitioning & getEtaPartitioning() const
Definition: EMBPresamplerHVDescriptor.h:17
Trk::iPhi
@ iPhi
Definition: ParamDefs.h:47
EMBPresamplerHVModule::Clockwork::iEta
unsigned int iEta
Definition: EMBPresamplerHVModule.cxx:23
EMBPresamplerHVModule::Clockwork::iSide
unsigned int iSide
Definition: EMBPresamplerHVModule.cxx:22
EMBPresamplerHVDescriptor::getPhiBinning
const CellBinning & getPhiBinning() const
Definition: EMBPresamplerHVDescriptor.h:22
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
EMBPresamplerHVManager::hvLineNo
int hvLineNo(const EMBPresamplerHVModule &module, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
Definition: EMBPresamplerHVManager.cxx:284
xAOD::iEta
setScale setgFexType iEta
Definition: gFexJetRoI_v1.cxx:77