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

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

#include <FCALHVModule.h>

Collaboration diagram for FCALHVModule:

Classes

class  Clockwork
 

Public Member Functions

 FCALHVModule (const FCALHVManager *manager, unsigned int iSide, unsigned int iSector, unsigned int iSampling)
 
 ~FCALHVModule ()
 
unsigned int getSideIndex () const
 
unsigned int getSamplingIndex () const
 
unsigned int getSectorIndex () const
 
const FCALHVLinegetHVLine (unsigned int iLine) const
 
const FCALHVManagergetManager () const
 

Static Public Member Functions

static unsigned int getNumHVLines ()
 

Private Member Functions

 FCALHVModule (const FCALHVModule &right)
 
FCALHVModuleoperator= (const FCALHVModule &right)
 

Private Attributes

Clockworkm_c
 

Detailed Description

Describes one HV Module within the FCAL.

It owns the pointers to HV Lines

Definition at line 19 of file FCALHVModule.h.

Constructor & Destructor Documentation

◆ FCALHVModule() [1/2]

FCALHVModule::FCALHVModule ( const FCALHVManager manager,
unsigned int  iSide,
unsigned int  iSector,
unsigned int  iSampling 
)

Definition at line 39 of file FCALHVModule.cxx.

43  :m_c(new Clockwork(manager,this,iSide,iSector,iSampling))
44 {
45 }

◆ ~FCALHVModule()

FCALHVModule::~FCALHVModule ( )

Definition at line 47 of file FCALHVModule.cxx.

48 {
49  delete m_c;
50 }

◆ FCALHVModule() [2/2]

FCALHVModule::FCALHVModule ( const FCALHVModule right)
private

Member Function Documentation

◆ getHVLine()

const FCALHVLine & FCALHVModule::getHVLine ( unsigned int  iLine) const

Definition at line 72 of file FCALHVModule.cxx.

73 {
74  // Check bounds and throw error if out of range.
75  if (iLine>3) {
76  std::string msg = std::string("FCALHVModule requesting out of range HV line, number ") + std::to_string(iLine);
77  throw std::runtime_error(msg.c_str());
78  }
79 
80  return *(m_c->hvLine[iLine]);
81 }

◆ getManager()

const FCALHVManager & FCALHVModule::getManager ( ) const

Definition at line 83 of file FCALHVModule.cxx.

84 {
85  return *(m_c->manager);
86 }

◆ getNumHVLines()

unsigned int FCALHVModule::getNumHVLines ( )
static

Definition at line 67 of file FCALHVModule.cxx.

68 {
69  return 4;
70 }

◆ getSamplingIndex()

unsigned int FCALHVModule::getSamplingIndex ( ) const

Definition at line 57 of file FCALHVModule.cxx.

58 {
59  return m_c->iSampling;
60 }

◆ getSectorIndex()

unsigned int FCALHVModule::getSectorIndex ( ) const

Definition at line 62 of file FCALHVModule.cxx.

63 {
64  return m_c->iSector;
65 }

◆ getSideIndex()

unsigned int FCALHVModule::getSideIndex ( ) const

Definition at line 52 of file FCALHVModule.cxx.

53 {
54  return m_c->iSide;
55 }

◆ operator=()

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

Member Data Documentation

◆ m_c

Clockwork* FCALHVModule::m_c
private

Definition at line 45 of file FCALHVModule.h.


The documentation for this class was generated from the following files:
FCALHVModule::Clockwork::manager
const FCALHVManager * manager
Definition: FCALHVModule.cxx:32
FCALHVModule::m_c
Clockwork * m_c
Definition: FCALHVModule.h:44
FCALHVModule::Clockwork::hvLine
const FCALHVLine * hvLine[4]
Definition: FCALHVModule.cxx:36
FCALHVModule::Clockwork::iSampling
unsigned int iSampling
Definition: FCALHVModule.cxx:35
FCALHVModule::Clockwork::iSide
unsigned int iSide
Definition: FCALHVModule.cxx:33
FCALHVModule::Clockwork::iSector
unsigned int iSector
Definition: FCALHVModule.cxx:34
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
python.Logging.manager
manager
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/Logging.py:92
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7