ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TRTCond::HWMap Class Reference

#include <HWMap.h>

Collaboration diagram for TRTCond::HWMap:

Public Member Functions

 HWMap ()
 
 HWMap (const HWMap &)=delete
 
HWMapoperator= (const HWMap &)=delete
 
virtual ~HWMap ()
 
const std::vector< std::string > * get_Barrel_HV_Names () const
 
const std::vector< std::string > * get_EndcapA_HV_Names () const
 
const std::vector< std::string > * get_EndcapC_HV_Names () const
 
const std::vector< int > * get_Barrel_HV_Nums () const
 
const std::vector< int > * get_EndcapA_HV_Nums () const
 
const std::vector< int > * get_EndcapC_HV_Nums () const
 
void setBarrelName (int i, const std::string &name)
 
void setEndcapAName (int i, const std::string &name)
 
void setEndcapCName (int i, const std::string &name)
 
void setBarrelNum (int i, const int &channel_number)
 
void setEndcapANum (int i, const int &channel_number)
 
void setEndcapCNum (int i, const int &channel_number)
 

Private Attributes

std::vector< std::string > * m_Barrel_HV_CoolChanNames
 
std::vector< std::string > * m_EndcapA_HV_CoolChanNames
 
std::vector< std::string > * m_EndcapC_HV_CoolChanNames
 
std::vector< int > * m_Barrel_HV_CoolChanNums
 
std::vector< int > * m_EndcapA_HV_CoolChanNums
 
std::vector< int > * m_EndcapC_HV_CoolChanNums
 

Detailed Description

Definition at line 12 of file HWMap.h.

Constructor & Destructor Documentation

◆ HWMap() [1/2]

TRTCond::HWMap::HWMap ( )
inline

Definition at line 14 of file HWMap.h.

14  {
15  // Initialize HV-line/pad maps
16  const int nBarrelPadsTotal = 32*(42+65+100);
17  m_Barrel_HV_CoolChanNames = new std::vector<std::string>(nBarrelPadsTotal,"");
18  m_Barrel_HV_CoolChanNums = new std::vector<int>(nBarrelPadsTotal,-1);
19  const int nEndcapCellsTotal = 32*3*(6*4+8*2);
20  m_EndcapA_HV_CoolChanNames = new std::vector<std::string>(nEndcapCellsTotal,"");
21  m_EndcapA_HV_CoolChanNums = new std::vector<int>(nEndcapCellsTotal,-1);
22  m_EndcapC_HV_CoolChanNames = new std::vector<std::string>(nEndcapCellsTotal,"");
23  m_EndcapC_HV_CoolChanNums = new std::vector<int>(nEndcapCellsTotal,-1);
24  // These are moved to CondStore which takes care of their deletion
25  }

◆ HWMap() [2/2]

TRTCond::HWMap::HWMap ( const HWMap )
delete

◆ ~HWMap()

virtual TRTCond::HWMap::~HWMap ( )
inlinevirtual

Definition at line 30 of file HWMap.h.

30 {}

Member Function Documentation

◆ get_Barrel_HV_Names()

const std::vector<std::string>* TRTCond::HWMap::get_Barrel_HV_Names ( ) const
inline

Definition at line 32 of file HWMap.h.

32 {return m_Barrel_HV_CoolChanNames; }

◆ get_Barrel_HV_Nums()

const std::vector<int>* TRTCond::HWMap::get_Barrel_HV_Nums ( ) const
inline

Definition at line 35 of file HWMap.h.

35 {return m_Barrel_HV_CoolChanNums; }

◆ get_EndcapA_HV_Names()

const std::vector<std::string>* TRTCond::HWMap::get_EndcapA_HV_Names ( ) const
inline

Definition at line 33 of file HWMap.h.

◆ get_EndcapA_HV_Nums()

const std::vector<int>* TRTCond::HWMap::get_EndcapA_HV_Nums ( ) const
inline

Definition at line 36 of file HWMap.h.

◆ get_EndcapC_HV_Names()

const std::vector<std::string>* TRTCond::HWMap::get_EndcapC_HV_Names ( ) const
inline

Definition at line 34 of file HWMap.h.

◆ get_EndcapC_HV_Nums()

const std::vector<int>* TRTCond::HWMap::get_EndcapC_HV_Nums ( ) const
inline

Definition at line 37 of file HWMap.h.

◆ operator=()

HWMap& TRTCond::HWMap::operator= ( const HWMap )
delete

◆ setBarrelName()

void TRTCond::HWMap::setBarrelName ( int  i,
const std::string &  name 
)
inline

Definition at line 39 of file HWMap.h.

39  {
41  }

◆ setBarrelNum()

void TRTCond::HWMap::setBarrelNum ( int  i,
const int &  channel_number 
)
inline

Definition at line 49 of file HWMap.h.

49  {
50  m_Barrel_HV_CoolChanNums->at(i)=channel_number;
51  }

◆ setEndcapAName()

void TRTCond::HWMap::setEndcapAName ( int  i,
const std::string &  name 
)
inline

Definition at line 42 of file HWMap.h.

42  {
44  }

◆ setEndcapANum()

void TRTCond::HWMap::setEndcapANum ( int  i,
const int &  channel_number 
)
inline

Definition at line 53 of file HWMap.h.

53  {
54  m_EndcapA_HV_CoolChanNums->at(i)=channel_number;
55  }

◆ setEndcapCName()

void TRTCond::HWMap::setEndcapCName ( int  i,
const std::string &  name 
)
inline

Definition at line 45 of file HWMap.h.

45  {
47  }

◆ setEndcapCNum()

void TRTCond::HWMap::setEndcapCNum ( int  i,
const int &  channel_number 
)
inline

Definition at line 57 of file HWMap.h.

57  {
58  m_EndcapC_HV_CoolChanNums->at(i)=channel_number;
59  }

Member Data Documentation

◆ m_Barrel_HV_CoolChanNames

std::vector<std::string>* TRTCond::HWMap::m_Barrel_HV_CoolChanNames
private

Definition at line 63 of file HWMap.h.

◆ m_Barrel_HV_CoolChanNums

std::vector<int>* TRTCond::HWMap::m_Barrel_HV_CoolChanNums
private

Definition at line 66 of file HWMap.h.

◆ m_EndcapA_HV_CoolChanNames

std::vector<std::string>* TRTCond::HWMap::m_EndcapA_HV_CoolChanNames
private

Definition at line 64 of file HWMap.h.

◆ m_EndcapA_HV_CoolChanNums

std::vector<int>* TRTCond::HWMap::m_EndcapA_HV_CoolChanNums
private

Definition at line 67 of file HWMap.h.

◆ m_EndcapC_HV_CoolChanNames

std::vector<std::string>* TRTCond::HWMap::m_EndcapC_HV_CoolChanNames
private

Definition at line 65 of file HWMap.h.

◆ m_EndcapC_HV_CoolChanNums

std::vector<int>* TRTCond::HWMap::m_EndcapC_HV_CoolChanNums
private

Definition at line 68 of file HWMap.h.


The documentation for this class was generated from the following file:
TRTCond::HWMap::m_Barrel_HV_CoolChanNames
std::vector< std::string > * m_Barrel_HV_CoolChanNames
Definition: HWMap.h:63
TRTCond::HWMap::m_EndcapC_HV_CoolChanNums
std::vector< int > * m_EndcapC_HV_CoolChanNums
Definition: HWMap.h:68
TRTCond::HWMap::m_EndcapA_HV_CoolChanNames
std::vector< std::string > * m_EndcapA_HV_CoolChanNames
Definition: HWMap.h:64
lumiFormat.i
int i
Definition: lumiFormat.py:85
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
TRTCond::HWMap::m_Barrel_HV_CoolChanNums
std::vector< int > * m_Barrel_HV_CoolChanNums
Definition: HWMap.h:66
TRTCond::HWMap::m_EndcapA_HV_CoolChanNums
std::vector< int > * m_EndcapA_HV_CoolChanNums
Definition: HWMap.h:67
TRTCond::HWMap::m_EndcapC_HV_CoolChanNames
std::vector< std::string > * m_EndcapC_HV_CoolChanNames
Definition: HWMap.h:65