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

Describes one HV Module within the HEC. More...

#include <HECHVModule.h>

Collaboration diagram for HECHVModule:

Classes

class  Clockwork

Public Member Functions

 HECHVModule (const HECHVManager *manager, unsigned int iSide, unsigned int iPhi, unsigned int iSampling)
 ~HECHVModule ()
unsigned int getSideIndex () const
unsigned int getSamplingIndex () const
unsigned int getPhiIndex () const
const HECHVSubgapgetSubgap (unsigned int iElectrode) const
double getPhiMin () const
double getPhiMax () const
const HECHVManagergetManager () const

Static Public Member Functions

static unsigned int getNumSubgaps ()

Private Member Functions

 HECHVModule (const HECHVModule &right)
HECHVModuleoperator= (const HECHVModule &right)

Private Attributes

std::unique_ptr< Clockworkm_c

Detailed Description

Describes one HV Module within the HEC.

It owns the pointers to HV Subgaps

Definition at line 22 of file HECHVModule.h.

Constructor & Destructor Documentation

◆ HECHVModule() [1/2]

HECHVModule::HECHVModule ( const HECHVManager * manager,
unsigned int iSide,
unsigned int iPhi,
unsigned int iSampling )

Definition at line 41 of file HECHVModule.cxx.

45 : m_c (std::make_unique<Clockwork> (manager,this,iSide,iPhi,iSampling))
46{
47}
std::unique_ptr< Clockwork > m_c
Definition HECHVModule.h:50

◆ ~HECHVModule()

HECHVModule::~HECHVModule ( )
default

◆ HECHVModule() [2/2]

HECHVModule::HECHVModule ( const HECHVModule & right)
private

Member Function Documentation

◆ getManager()

const HECHVManager & HECHVModule::getManager ( ) const

Definition at line 86 of file HECHVModule.cxx.

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

◆ getNumSubgaps()

unsigned int HECHVModule::getNumSubgaps ( )
static

Definition at line 64 of file HECHVModule.cxx.

65{
66 return 4;
67}

◆ getPhiIndex()

unsigned int HECHVModule::getPhiIndex ( ) const

Definition at line 59 of file HECHVModule.cxx.

60{
61 return m_c->iPhi;
62}

◆ getPhiMax()

double HECHVModule::getPhiMax ( ) const

Definition at line 81 of file HECHVModule.cxx.

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

◆ getPhiMin()

double HECHVModule::getPhiMin ( ) const

Definition at line 76 of file HECHVModule.cxx.

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

◆ getSamplingIndex()

unsigned int HECHVModule::getSamplingIndex ( ) const

Definition at line 54 of file HECHVModule.cxx.

55{
56 return m_c->iSampling;
57}

◆ getSideIndex()

unsigned int HECHVModule::getSideIndex ( ) const

Definition at line 49 of file HECHVModule.cxx.

50{
51 return m_c->iSide;
52}

◆ getSubgap()

const HECHVSubgap & HECHVModule::getSubgap ( unsigned int iElectrode) const

Definition at line 69 of file HECHVModule.cxx.

70{
71 return *(m_c->subgaps[iElectrode]);
72}

◆ operator=()

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

Member Data Documentation

◆ m_c

std::unique_ptr<Clockwork> HECHVModule::m_c
private

Definition at line 50 of file HECHVModule.h.


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