RecoLocalMuon
RPCRecHit
src
RPCCluster.h
Go to the documentation of this file.
1
#include <cstdint>
2
#ifndef RecoLocalMuon_RPCCluster_h
3
#define RecoLocalMuon_RPCCluster_h
4
class
RPCCluster
{
5
public
:
6
RPCCluster
();
7
RPCCluster
(
int
fs,
int
ls
,
int
bx
);
8
~RPCCluster
();
9
10
int
firstStrip
()
const
;
11
int
lastStrip
()
const
;
12
int
clusterSize
()
const
;
13
int
bx
()
const
;
14
15
bool
hasTime
()
const
;
16
float
time
()
const
;
17
float
timeRMS
()
const
;
18
19
bool
hasY
()
const
;
20
float
y
()
const
;
21
float
yRMS
()
const
;
22
23
void
addTime
(
const
float
time
);
24
void
addY
(
const
float
y
);
25
void
merge
(
const
RPCCluster
&
cl
);
26
27
bool
operator<
(
const
RPCCluster
&
cl
)
const
;
28
bool
operator==
(
const
RPCCluster
&
cl
)
const
;
29
bool
isAdjacent
(
const
RPCCluster
&
cl
)
const
;
30
31
private
:
32
uint16_t
fstrip
;
33
uint16_t
lstrip
;
34
int16_t
bunchx
;
35
36
float
sumTime
,
sumTime2
;
37
uint16_t
nTime
;
38
39
float
sumY
,
sumY2
;
40
uint16_t
nY
;
41
};
42
#endif
RPCCluster::firstStrip
int firstStrip() const
Definition:
RPCCluster.cc:16
RPCCluster::y
float y() const
Definition:
RPCCluster.cc:28
eostools.ls
def ls(path, rec=False)
Definition:
eostools.py:349
RPCCluster::hasY
bool hasY() const
Definition:
RPCCluster.cc:27
RPCCluster::sumTime
float sumTime
Definition:
RPCCluster.h:36
RPCCluster::sumY
float sumY
Definition:
RPCCluster.h:39
RPCCluster::isAdjacent
bool isAdjacent(const RPCCluster &cl) const
Definition:
RPCCluster.cc:31
RPCCluster::time
float time() const
Definition:
RPCCluster.cc:22
RPCCluster::~RPCCluster
~RPCCluster()
Definition:
RPCCluster.cc:14
GetRecoTauVFromDQM_MC_cff.cl
cl
Definition:
GetRecoTauVFromDQM_MC_cff.py:38
RPCCluster::bx
int bx() const
Definition:
RPCCluster.cc:19
RPCCluster::addTime
void addTime(const float time)
Definition:
RPCCluster.cc:35
RPCCluster::fstrip
uint16_t fstrip
Definition:
RPCCluster.h:32
RPCCluster::operator==
bool operator==(const RPCCluster &cl) const
Definition:
RPCCluster.cc:69
RPCCluster::lastStrip
int lastStrip() const
Definition:
RPCCluster.cc:17
RPCCluster
Definition:
RPCCluster.h:4
RPCCluster::bunchx
int16_t bunchx
Definition:
RPCCluster.h:34
RPCCluster::yRMS
float yRMS() const
Definition:
RPCCluster.cc:29
RPCCluster::hasTime
bool hasTime() const
Definition:
RPCCluster.cc:21
RPCCluster::timeRMS
float timeRMS() const
Definition:
RPCCluster.cc:23
RPCCluster::nY
uint16_t nY
Definition:
RPCCluster.h:40
RPCCluster::nTime
uint16_t nTime
Definition:
RPCCluster.h:37
RPCCluster::lstrip
uint16_t lstrip
Definition:
RPCCluster.h:33
RPCCluster::addY
void addY(const float y)
Definition:
RPCCluster.cc:41
RPCCluster::sumY2
float sumY2
Definition:
RPCCluster.h:39
RPCCluster::sumTime2
float sumTime2
Definition:
RPCCluster.h:36
RPCCluster::operator<
bool operator<(const RPCCluster &cl) const
Definition:
RPCCluster.cc:62
RPCCluster::merge
void merge(const RPCCluster &cl)
Definition:
RPCCluster.cc:47
RPCCluster::clusterSize
int clusterSize() const
Definition:
RPCCluster.cc:18
RPCCluster::RPCCluster
RPCCluster()
Definition:
RPCCluster.cc:8
Generated for CMSSW Reference Manual by
1.8.16