src
DataFormats
L1GlobalCaloTrigger
src
L1GctEtTotal.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/L1GlobalCaloTrigger/interface/L1GctEtTotal.h
"
3
4
L1GctEtTotal::L1GctEtTotal
() : m_data(0), m_bx(0) {}
5
6
L1GctEtTotal::L1GctEtTotal
(uint16_t
rawData
) : m_data(
rawData
& kRawCtorMask), m_bx(0) {}
7
8
L1GctEtTotal::L1GctEtTotal
(uint16_t
rawData
, int16_t
bx
) : m_data(
rawData
& kRawCtorMask), m_bx(
bx
) {}
9
10
L1GctEtTotal::L1GctEtTotal
(
unsigned
et
,
bool
oflow) : m_data(0), m_bx(0) {
11
m_data
= (
et
&
kEtTotalMaxValue
) | ((oflow ||
et
>
kEtTotalMaxValue
) ?
kEtTotalOFlowBit
: 0);
12
}
13
14
L1GctEtTotal::L1GctEtTotal
(
unsigned
et
,
bool
oflow, int16_t
bx
) : m_data(0), m_bx(
bx
) {
15
m_data
= (
et
&
kEtTotalMaxValue
) | ((oflow ||
et
>
kEtTotalMaxValue
) ?
kEtTotalOFlowBit
: 0);
16
}
17
18
L1GctEtTotal::~L1GctEtTotal
() {}
19
21
std::ostream&
operator<<
(std::ostream&
s
,
const
L1GctEtTotal
&
c
) {
22
s
<<
" L1GctEtTotal: "
;
23
s
<<
" et="
<<
c
.et();
24
if
(
c
.overFlow()) {
25
s
<<
"; overflow set"
;
26
}
27
return
s
;
28
}
l1tstage2_dqm_sourceclient-live_cfg.rawData
rawData
Definition:
l1tstage2_dqm_sourceclient-live_cfg.py:161
EgHLTOffHistBins_cfi.et
et
Definition:
EgHLTOffHistBins_cfi.py:8
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
L1GctEtTotal::kEtTotalMaxValue
Definition:
L1GctEtTotal.h:22
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
L1GctEtTotal::m_data
uint16_t m_data
Definition:
L1GctEtTotal.h:58
L1GctEtTotal
Persistable copy of total Et measured at Level-1.
Definition:
L1GctEtTotal.h:17
L1GctEtTotal.h
L1GctEtTotal::et
unsigned et() const
get the Et
Definition:
L1GctEtTotal.h:43
operator<<
std::ostream & operator<<(std::ostream &s, const L1GctEtTotal &c)
Pretty-print operator for L1GctEtTotal.
Definition:
L1GctEtTotal.cc:21
L1GctEtTotal::kEtTotalOFlowBit
Definition:
L1GctEtTotal.h:21
L1GctEtTotal::~L1GctEtTotal
virtual ~L1GctEtTotal()
Definition:
L1GctEtTotal.cc:18
L1GctEtTotal::L1GctEtTotal
L1GctEtTotal()
Definition:
L1GctEtTotal.cc:4
Generated for CMSSW Reference Manual by
1.8.14