#include <TGCConnectionHPBToSL.h>
|
| std::vector< std::vector< int > > | m_id |
Definition at line 15 of file TGCConnectionHPBToSL.h.
◆ TGCConnectionHPBToSL() [1/2]
| LVL1TGCTrigger::TGCConnectionHPBToSL::TGCConnectionHPBToSL |
( |
| ) |
|
Definition at line 10 of file TGCConnectionHPBToSL.cxx.
11{
14}
void setNumberOfType(int ntype)
std::array< int *, TGCSector::NumberOfHighPtBoardType > m_SLPortToHPB
@ NumberOfHighPtBoardType
◆ TGCConnectionHPBToSL() [2/2]
◆ ~TGCConnectionHPBToSL()
| LVL1TGCTrigger::TGCConnectionHPBToSL::~TGCConnectionHPBToSL |
( |
| ) |
|
|
virtual |
◆ getId()
| int LVL1TGCTrigger::TGCBoardConnection::getId |
( |
const unsigned int | type, |
|
|
const unsigned int | board ) const |
|
inlineinherited |
Definition at line 41 of file TGCBoardConnection.h.
41 {
42 if (
m_id.size() <= type ||
43 m_id.at(type).size() <= board) {
44 std::cerr << "TGCBoardConnection::getId : Undefined board is provided" << std::endl;
45 return -1;
46 }
47 return m_id.at(type).at(board);
48}
◆ getNumber()
| int LVL1TGCTrigger::TGCBoardConnection::getNumber |
( |
const unsigned int | type | ) |
const |
|
inlineinherited |
Definition at line 33 of file TGCBoardConnection.h.
33 {
34 if (
m_id.size() <= type) {
35 std::cerr << "TGCBoardConnection::getNumber : No defined type provided" << std::endl;
36 return -1;
37 }
38 return m_id.at(type).size();
39}
◆ getNumberOfType()
| int LVL1TGCTrigger::TGCBoardConnection::getNumberOfType |
( |
| ) |
const |
|
inlineinherited |
◆ getSLPortToHPB()
| int LVL1TGCTrigger::TGCConnectionHPBToSL::getSLPortToHPB |
( |
int | type, |
|
|
int | index ) const |
|
inline |
◆ operator=()
Definition at line 37 of file TGCConnectionHPBToSL.cxx.
38{
39 if(this!=&right){
44 for (
unsigned int k=0;
k <
m_id.at(j).
size();
k++)
46 }
47 }
48 return *this;
49}
TGCBoardConnection & operator=(const TGCBoardConnection &right)
◆ setId()
| void LVL1TGCTrigger::TGCBoardConnection::setId |
( |
const unsigned int | type, |
|
|
const unsigned int | board, |
|
|
int | idIn ) |
|
inherited |
Definition at line 36 of file TGCBoardConnection.cxx.
36 {
37 if (type <
m_id.size()) {
38 if (board <
m_id.at(type).size()) {
39 m_id.at(type).at(board) = idIn;
40 } else {
41 m_id.at(type).resize(board+1);
42 m_id.at(type).at(board) = idIn;
43 }
44 } else {
46 m_id.at(type).resize(board+1);
47 m_id.at(type).at(board) = idIn;
48 }
49}
◆ setNumber()
| void LVL1TGCTrigger::TGCBoardConnection::setNumber |
( |
const unsigned int | type, |
|
|
int | nBoard ) |
|
inherited |
◆ setNumberOfType()
| void LVL1TGCTrigger::TGCBoardConnection::setNumberOfType |
( |
int | ntype | ) |
|
|
inherited |
◆ setSLPortToHPB()
| void LVL1TGCTrigger::TGCConnectionHPBToSL::setSLPortToHPB |
( |
int | type, |
|
|
int | index, |
|
|
int | port ) |
|
inline |
◆ m_id
| std::vector<std::vector<int> > LVL1TGCTrigger::TGCBoardConnection::m_id |
|
protectedinherited |
◆ m_SLPortToHPB
The documentation for this class was generated from the following files: