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