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 HECHVSubgap & getSubgap (unsigned int iElectrode) const
double getPhiMin () const
double getPhiMax () const
const HECHVManager & getManager () const

Static Public Member Functions

static unsigned int getNumSubgaps ()

Private Member Functions

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

Private Attributes

std::unique_ptr< Clockwork > m_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 42 of file HECHVModule.cxx.

46 : m_c (std::make_unique<Clockwork> (manager,this,iSide,iPhi,iSampling))
47{
48}
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 87 of file HECHVModule.cxx.

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

◆ getNumSubgaps()

unsigned int HECHVModule::getNumSubgaps ( )
static

Definition at line 65 of file HECHVModule.cxx.

66{
67 return 4;
68}

◆ getPhiIndex()

unsigned int HECHVModule::getPhiIndex ( ) const

Definition at line 60 of file HECHVModule.cxx.

61{
62 return m_c->iPhi;
63}

◆ getPhiMax()

double HECHVModule::getPhiMax ( ) const

Definition at line 82 of file HECHVModule.cxx.

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

◆ getPhiMin()

double HECHVModule::getPhiMin ( ) const

Definition at line 77 of file HECHVModule.cxx.

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

◆ getSamplingIndex()

unsigned int HECHVModule::getSamplingIndex ( ) const

Definition at line 55 of file HECHVModule.cxx.

56{
57 return m_c->iSampling;
58}

◆ getSideIndex()

unsigned int HECHVModule::getSideIndex ( ) const

Definition at line 50 of file HECHVModule.cxx.

51{
52 return m_c->iSide;
53}

◆ getSubgap()

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

Definition at line 70 of file HECHVModule.cxx.

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

◆ 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: