L1Trigger
RPCTechnicalTrigger
src
RBCId.cc
Go to the documentation of this file.
1
// Include files
2
3
// local
4
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCId.h
"
5
6
//-----------------------------------------------------------------------------
7
// Implementation file for class : RBCId
8
//
9
// 2008-10-12 : Andres Osorio
10
//-----------------------------------------------------------------------------
11
12
//=============================================================================
13
// Standard constructor, initializes variables
14
//=============================================================================
15
RBCId::RBCId
() {
16
m_wheel
= -9;
17
m_sector
[0] = 100;
18
m_sector
[1] = 101;
19
}
20
21
RBCId::RBCId
(
int
_w,
int
* _s) {
22
m_wheel
= _w;
23
m_sector
[0] = _s[0];
24
m_sector
[1] = _s[1];
25
}
26
27
//=============================================================================
28
void
RBCId::printinfo
()
const
{
29
std::cout
<<
" ---->whe "
<<
m_wheel
<<
'\n'
;
30
std::cout
<<
" ---->sec "
<<
m_sector
[0] <<
'\t'
<<
m_sector
[1] <<
'\n'
;
31
}
RBCId::m_sector
int m_sector[2]
Definition:
RBCId.h:45
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
RBCId::m_wheel
int m_wheel
Definition:
RBCId.h:44
RBCId::RBCId
RBCId()
Standard constructor.
Definition:
RBCId.cc:15
RBCId::printinfo
void printinfo() const
Definition:
RBCId.cc:28
RBCId.h
Generated for CMSSW Reference Manual by
1.8.16