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

Class storing all the services of a stave (or a petal, etc...) classifying them by function and by number of items. More...

#include <StaveServices.h>

Collaboration diagram for StaveServices:

Public Member Functions

 StaveServices (DetType::Type type, DetType::Part part, int layer, int nhv, int ndcs, int ndata, const std::vector< int > &lvGauge)
 StaveServices (DetType::Type type, DetType::Part part, int layer, int nhv, int ndcs, int ndata, int lvGauge)
DetType::Type type () const
DetType::Part part () const
int layer () const
int numHV () const
int numDCS () const
int numData () const
int numLvTypes () const
int lvGauge (int lvType) const

Private Attributes

DetType::Type m_type
DetType::Part m_part
int m_layer
int m_numHV
int m_numDCS
int m_numData
std::vector< int > m_lvGauge

Detailed Description

Class storing all the services of a stave (or a petal, etc...) classifying them by function and by number of items.

For example, it specifies the number of HV cables for each stave type.

Definition at line 15 of file StaveServices.h.

Constructor & Destructor Documentation

◆ StaveServices() [1/2]

StaveServices::StaveServices ( DetType::Type type,
DetType::Part part,
int layer,
int nhv,
int ndcs,
int ndata,
const std::vector< int > & lvGauge )
inline

Definition at line 18 of file StaveServices.h.

19 :
21 m_numHV(nhv), m_numDCS( ndcs), m_numData( ndata), m_lvGauge( lvGauge) {}
int lvGauge(int lvType) const
DetType::Type m_type
DetType::Part part() const
int layer() const
DetType::Part m_part
std::vector< int > m_lvGauge
DetType::Type type() const

◆ StaveServices() [2/2]

StaveServices::StaveServices ( DetType::Type type,
DetType::Part part,
int layer,
int nhv,
int ndcs,
int ndata,
int lvGauge )
inline

Definition at line 23 of file StaveServices.h.

24 :
26 m_numHV(nhv), m_numDCS( ndcs), m_numData( ndata), m_lvGauge( 1, lvGauge) {}

Member Function Documentation

◆ layer()

int StaveServices::layer ( ) const
inline

Definition at line 30 of file StaveServices.h.

30{ return m_layer;}

◆ lvGauge()

int StaveServices::lvGauge ( int lvType) const
inline

Definition at line 36 of file StaveServices.h.

36{ return m_lvGauge.at( lvType);}

◆ numData()

int StaveServices::numData ( ) const
inline

Definition at line 34 of file StaveServices.h.

34{ return m_numData;}

◆ numDCS()

int StaveServices::numDCS ( ) const
inline

Definition at line 33 of file StaveServices.h.

33{ return m_numDCS;}

◆ numHV()

int StaveServices::numHV ( ) const
inline

Definition at line 32 of file StaveServices.h.

32{ return m_numHV;}

◆ numLvTypes()

int StaveServices::numLvTypes ( ) const
inline

Definition at line 35 of file StaveServices.h.

35{ return m_lvGauge.size();}

◆ part()

DetType::Part StaveServices::part ( ) const
inline

Definition at line 29 of file StaveServices.h.

29{ return m_part;}

◆ type()

DetType::Type StaveServices::type ( ) const
inline

Definition at line 28 of file StaveServices.h.

28{ return m_type;}

Member Data Documentation

◆ m_layer

int StaveServices::m_layer
private

Definition at line 42 of file StaveServices.h.

◆ m_lvGauge

std::vector<int> StaveServices::m_lvGauge
private

Definition at line 46 of file StaveServices.h.

◆ m_numData

int StaveServices::m_numData
private

Definition at line 45 of file StaveServices.h.

◆ m_numDCS

int StaveServices::m_numDCS
private

Definition at line 44 of file StaveServices.h.

◆ m_numHV

int StaveServices::m_numHV
private

Definition at line 43 of file StaveServices.h.

◆ m_part

DetType::Part StaveServices::m_part
private

Definition at line 41 of file StaveServices.h.

◆ m_type

DetType::Type StaveServices::m_type
private

Definition at line 40 of file StaveServices.h.


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