Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
&) =
default
;
24
RBCId
(
RBCId
&&) =
default
;
25
RBCId
&
operator=
(
RBCId
const
&) =
default
;
26
RBCId
&
operator=
(
RBCId
&&) =
default
;
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
()
const
;
41
42
protected
:
43
private
:
44
int
m_wheel
;
45
int
m_sector
[2];
46
};
47
#endif // RBCID_H
RBCId::m_wheel
int m_wheel
Definition:
RBCId.h:44
RBCId::m_sector
int m_sector[2]
Definition:
RBCId.h:45
RBCId::RBCId
RBCId()
Standard constructor.
Definition:
RBCId.cc:15
RBCId
Definition:
RBCId.h:16
RBCId::operator=
RBCId & operator=(RBCId const &)=default
RBCId::printinfo
void printinfo() const
Definition:
RBCId.cc:28
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