Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1Trigger
RPCTechnicalTrigger
src
RBCId.cc
Go to the documentation of this file.
1
// $Id: RBCId.cc,v 1.7 2009/01/30 15:42:48 aosorio Exp $
2
// Include files
3
4
// local
5
#include "
L1Trigger/RPCTechnicalTrigger/interface/RBCId.h
"
6
7
//-----------------------------------------------------------------------------
8
// Implementation file for class : RBCId
9
//
10
// 2008-10-12 : Andres Osorio
11
//-----------------------------------------------------------------------------
12
13
//=============================================================================
14
// Standard constructor, initializes variables
15
//=============================================================================
16
RBCId::RBCId
( ) {
17
m_wheel
= -9;
18
m_sector
[0] = 100;
19
m_sector
[1] = 101;
20
}
21
22
RBCId::RBCId
(
int
_w,
int
* _s )
23
{
24
m_wheel
= _w;
25
m_sector
[0] = _s[0];
26
m_sector
[1] = _s[1];
27
}
28
29
RBCId::RBCId
(
const
RBCId
&
id
)
30
{
31
m_wheel
=
id
.wheel();
32
m_sector
[0] =
id
.sector(0);
33
m_sector
[1] =
id
.sector(1);
34
}
35
36
//=============================================================================
37
// Destructor
38
//=============================================================================
39
RBCId::~RBCId
() {}
40
41
//=============================================================================
42
void
RBCId::printinfo
()
43
{
44
45
std::cout
<<
" ---->whe "
<<
m_wheel
<<
'\n'
;
46
std::cout
<<
" ---->sec "
<<
m_sector
[0] <<
'\t'
<<
m_sector
[1] <<
'\n'
;
47
48
}
RBCId::printinfo
void printinfo()
Definition:
RBCId.cc:42
RBCId::~RBCId
virtual ~RBCId()
Destructor.
Definition:
RBCId.cc:39
RBCId::m_wheel
int m_wheel
Definition:
RBCId.h:46
RBCId::m_sector
int m_sector[2]
Definition:
RBCId.h:47
RBCId::RBCId
RBCId()
Standard constructor.
Definition:
RBCId.cc:16
RBCId
Definition:
RBCId.h:17
gather_cfg.cout
tuple cout
Definition:
gather_cfg.py:41
RBCId.h
Generated for CMSSW Reference Manual by
1.8.5