Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1Trigger
RPCTechnicalTrigger
interface
RBCId.h
Go to the documentation of this file.
1
// $Id: RBCId.h,v 1.4 2009/05/24 21:45:39 aosorio Exp $
2
#ifndef RBCID_H
3
#define RBCID_H 1
4
5
// Include files
6
#include <iostream>
7
17
class
RBCId
{
18
public
:
20
RBCId
( );
21
22
RBCId
(
int
,
int
* );
23
24
RBCId
(
const
RBCId
&);
25
26
virtual
~RBCId
( );
27
28
int
wheel
()
const
{
return
m_wheel
;};
29
30
int
wheelIdx
()
const
{
return
(
m_wheel
+2);};
// wheel index starts from 0
31
32
int
sector
(
int
_sec )
const
{
return
m_sector
[_sec]; };
33
34
void
setid
(
int
_wh,
int
*_sec) {
35
m_wheel
= _wh;
36
m_sector
[0] = _sec[0];
37
m_sector
[1] = _sec[1];
38
};
39
40
void
printinfo
();
41
42
protected
:
43
44
private
:
45
46
int
m_wheel
;
47
int
m_sector
[2];
48
49
};
50
#endif // RBCID_H
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
RBCId::wheel
int wheel() const
Definition:
RBCId.h:28
RBCId::sector
int sector(int _sec) const
Definition:
RBCId.h:32
RBCId::wheelIdx
int wheelIdx() const
Definition:
RBCId.h:30
RBCId::setid
void setid(int _wh, int *_sec)
Definition:
RBCId.h:34
Generated for CMSSW Reference Manual by
1.8.5