Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
L1GlobalCaloTrigger
src
L1GctEtHad.cc
Go to the documentation of this file.
1
2
#include "
DataFormats/L1GlobalCaloTrigger/interface/L1GctEtHad.h
"
3
4
L1GctEtHad::L1GctEtHad
() : m_data(0), m_bx(0) { }
5
6
L1GctEtHad::L1GctEtHad
(uint16_t rawData) : m_data(rawData & kRawCtorMask), m_bx(0) { }
7
8
L1GctEtHad::L1GctEtHad
(uint16_t rawData, int16_t
bx
) : m_data(rawData & kRawCtorMask), m_bx(bx) { }
9
10
L1GctEtHad::L1GctEtHad
(
unsigned
et,
bool
oflow) : m_data(0),
11
m_bx(0)
12
{
13
m_data
= (et &
kEtHadMaxValue
) | ((oflow || et>
kEtHadMaxValue
) ?
kEtHadOFlowBit
: 0);
14
}
15
16
L1GctEtHad::L1GctEtHad
(
unsigned
et,
bool
oflow, int16_t
bx
) : m_data(0),
17
m_bx(bx)
18
{
19
m_data
= (et &
kEtHadMaxValue
) | ((oflow || et>
kEtHadMaxValue
) ?
kEtHadOFlowBit
: 0);
20
}
21
22
L1GctEtHad::~L1GctEtHad
() { }
23
25
std::ostream&
operator<<
(std::ostream&
s
,
const
L1GctEtHad
&
c
) {
26
s <<
" L1GctEtHad: "
;
27
s <<
" ht="
<< c.
et
();
28
if
(c.
overFlow
()) { s <<
"; overflow set"
; }
29
return
s
;
30
}
L1GctEtHad.h
L1GctEtHad::L1GctEtHad
L1GctEtHad()
Definition:
L1GctEtHad.cc:4
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
L1GctEtHad::overFlow
bool overFlow() const
get the overflow
Definition:
L1GctEtHad.h:48
L1GctEtHad::kEtHadMaxValue
Definition:
L1GctEtHad.h:24
L1GctEtHad::et
unsigned et() const
get the Et
Definition:
L1GctEtHad.h:45
L1GctEtHad::kEtHadOFlowBit
Definition:
L1GctEtHad.h:23
L1GctEtHad
Persistable copy of total Ht measured at Level-1.
Definition:
L1GctEtHad.h:18
L1GctEtHad::m_data
uint16_t m_data
Definition:
L1GctEtHad.h:61
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
trackerHits.c
tuple c
Definition:
trackerHits.py:26
rpc-layouts.bx
string bx
Definition:
rpc-layouts.py:13
L1GctEtHad::~L1GctEtHad
virtual ~L1GctEtHad()
Definition:
L1GctEtHad.cc:22
Generated for CMSSW Reference Manual by
1.8.5