DataFormats
RPCDigi
interface
RPCDigiL1Link.h
Go to the documentation of this file.
1
#ifndef RPCOBJECTS_RPCDIGIL1LINK_H
2
#define RPCOBJECTS_RPCDIGIL1LINK_H
3
4
#include <vector>
5
#include <map>
6
7
class
RPCDigiL1Link
{
8
public
:
9
RPCDigiL1Link
();
10
11
~RPCDigiL1Link
();
12
13
bool
empty
()
const
;
14
15
// Getters -- layer runs from 1 to nlayer
16
bool
empty
(
unsigned
int
layer)
const
;
17
unsigned
int
rawdetId
(
unsigned
int
layer)
const
;
18
int
strip
(
unsigned
int
layer)
const
;
19
int
bx
(
unsigned
int
layer)
const
;
20
unsigned
int
nlayer
()
const
;
21
22
// Setters --layer run from 1 to nlayer
23
void
setLink
(
unsigned
int
layer,
unsigned
int
rpcdetId,
int
strip
,
int
bx
);
24
25
private
:
26
void
checklayer
(
unsigned
int
layer)
const
;
27
28
private
:
29
std::vector<std::pair<unsigned int, int> >
_link
;
30
};
31
#endif
RPCDigiL1Link::setLink
void setLink(unsigned int layer, unsigned int rpcdetId, int strip, int bx)
Definition:
RPCDigiL1Link.cc:44
RPCDigiL1Link::nlayer
unsigned int nlayer() const
Definition:
RPCDigiL1Link.cc:42
RPCDigiL1Link::rawdetId
unsigned int rawdetId(unsigned int layer) const
Definition:
RPCDigiL1Link.cc:27
RPCDigiL1Link::bx
int bx(unsigned int layer) const
Definition:
RPCDigiL1Link.cc:37
RPCDigiL1Link::checklayer
void checklayer(unsigned int layer) const
Definition:
RPCDigiL1Link.cc:53
RPCDigiL1Link::~RPCDigiL1Link
~RPCDigiL1Link()
Definition:
RPCDigiL1Link.cc:11
RPCDigiL1Link::empty
bool empty() const
Definition:
RPCDigiL1Link.cc:13
RPCDigiL1Link
Definition:
RPCDigiL1Link.h:7
RPCDigiL1Link::_link
std::vector< std::pair< unsigned int, int > > _link
Definition:
RPCDigiL1Link.h:29
RPCDigiL1Link::RPCDigiL1Link
RPCDigiL1Link()
Definition:
RPCDigiL1Link.cc:4
RPCDigiL1Link::strip
int strip(unsigned int layer) const
Definition:
RPCDigiL1Link.cc:32
Generated for CMSSW Reference Manual by
1.8.16