#include <TGCConnectionPPToSB.h>
|
| std::vector< std::vector< int > > | m_id |
Definition at line 14 of file TGCConnectionPPToSB.h.
◆ TGCConnectionPPToSB() [1/2]
| LVL1TGCTrigger::TGCConnectionPPToSB::TGCConnectionPPToSB |
( |
| ) |
|
Definition at line 19 of file TGCConnectionPPToSB.cxx.
20{
25}
void setNumberOfType(int ntype)
static constexpr int N_PP_PORTS
int * m_SBIdToPP[N_PP_PORTS][TGCSector::NumberOfPatchPanelType]
◆ ~TGCConnectionPPToSB()
| LVL1TGCTrigger::TGCConnectionPPToSB::~TGCConnectionPPToSB |
( |
| ) |
|
◆ TGCConnectionPPToSB() [2/2]
Definition at line 27 of file TGCConnectionPPToSB.cxx.
27 :
29{
34 for(
unsigned int k=0;
k <
m_id.at(j).size();
k++)
35 m_SBIdToPP[i][j][k] = right.m_SBIdToPP[i][j][k];
36 }
37 }
38}
std::vector< std::vector< int > > m_id
◆ 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}
◆ getNumberOfPort()
| int LVL1TGCTrigger::TGCConnectionPPToSB::getNumberOfPort |
( |
| ) |
const |
|
inline |
◆ getNumberOfType()
| int LVL1TGCTrigger::TGCBoardConnection::getNumberOfType |
( |
| ) |
const |
|
inlineinherited |
◆ getSBIdToPP()
| int LVL1TGCTrigger::TGCConnectionPPToSB::getSBIdToPP |
( |
int | type, |
|
|
int | port, |
|
|
int | index ) const |
|
inline |
◆ operator=()
Definition at line 40 of file TGCConnectionPPToSB.cxx.
41{
42 if(this!=&right){
43 int j;
48 for (
unsigned int k=0;
k <
m_id.at(j).size();
k++)
49 m_SBIdToPP[i][j][k] = right.m_SBIdToPP[i][j][k];
50 }
51 }
52 }
53 return *this;
54}
◆ 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 |
◆ setSBIdToPP()
| void LVL1TGCTrigger::TGCConnectionPPToSB::setSBIdToPP |
( |
int | type, |
|
|
int | port, |
|
|
int | index, |
|
|
int | idIn ) |
|
inline |
◆ m_id
| std::vector<std::vector<int> > LVL1TGCTrigger::TGCBoardConnection::m_id |
|
protectedinherited |
◆ m_SBIdToPP
◆ N_PP_PORTS
| int LVL1TGCTrigger::TGCConnectionPPToSB::N_PP_PORTS = 2 |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: