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