Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
23
m_wheel
= _w;
24
m_sector
[0] = _s[0];
25
m_sector
[1] = _s[1];
26
}
27
28
RBCId::RBCId
(
const
RBCId
&
id
)
29
{
30
m_wheel
=
id
.wheel();
31
m_sector
[0] =
id
.sector(0);
32
m_sector
[1] =
id
.sector(1);
33
}
34
35
//=============================================================================
36
// Destructor
37
//=============================================================================
38
RBCId::~RBCId
() {}
39
40
//=============================================================================
41
void
RBCId::printinfo
()
42
{
43
44
std::cout
<<
" ---->whe "
<<
m_wheel
<<
'\n'
;
45
std::cout
<<
" ---->sec "
<<
m_sector
[0] <<
'\t'
<<
m_sector
[1] <<
'\n'
;
46
47
}
RBCId::printinfo
void printinfo()
Definition:
RBCId.cc:41
RBCId::~RBCId
virtual ~RBCId()
Destructor.
Definition:
RBCId.cc:38
RBCId::m_wheel
int m_wheel
Definition:
RBCId.h:45
RBCId::m_sector
int m_sector[2]
Definition:
RBCId.h:46
RBCId::RBCId
RBCId()
Standard constructor.
Definition:
RBCId.cc:15
RBCId
Definition:
RBCId.h:16
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:145
RBCId.h
Generated for CMSSW Reference Manual by
1.8.5