Main Page
Namespaces
Classes
Package Documentation
DataFormats
L1GlobalCaloTrigger
interface
L1GctEtHad.h
Go to the documentation of this file.
1
#ifndef L1GCTETHAD_H
2
#define L1GCTETHAD_H
3
4
#include <ostream>
5
#include <stdint.h>
6
15
18
class
L1GctEtHad
{
19
public
:
20
21
enum
numberOfBits
{
22
kEtHadNBits
= 12,
23
kEtHadOFlowBit
= 1 <<
kEtHadNBits
,
24
kEtHadMaxValue
=
kEtHadOFlowBit
- 1,
25
kRawCtorMask
=
kEtHadOFlowBit
|
kEtHadMaxValue
26
};
27
28
L1GctEtHad
();
29
L1GctEtHad
(uint16_t rawData);
30
L1GctEtHad
(uint16_t rawData, int16_t
bx
);
31
L1GctEtHad
(
unsigned
et
,
bool
oflow);
32
L1GctEtHad
(
unsigned
et
,
bool
oflow, int16_t
bx
);
33
virtual
~L1GctEtHad
();
34
36
std::string
name
()
const
{
return
"EtHad"
; }
37
39
bool
empty
()
const
{
return
false
; }
40
42
uint16_t
raw
()
const
{
return
m_data
; }
43
45
unsigned
et
()
const
{
return
m_data
&
kEtHadMaxValue
; }
46
48
bool
overFlow
()
const
{
return
(
m_data
&
kEtHadOFlowBit
)!=0; }
49
51
int16_t
bx
()
const
{
return
m_bx
; }
52
54
int
operator==
(
const
L1GctEtHad
&
e
)
const
{
return
m_data
==e.
raw
(); }
55
57
int
operator!=
(
const
L1GctEtHad
&
e
)
const
{
return
m_data
!=e.
raw
(); }
58
59
private
:
60
61
uint16_t
m_data
;
62
int16_t
m_bx
;
63
64
};
65
67
std::ostream&
operator<<
(std::ostream&
s
,
const
L1GctEtHad
&
c
);
68
69
#endif
L1GctEtHad::raw
uint16_t raw() const
get the data
Definition:
L1GctEtHad.h:42
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
L1GctEtHad::L1GctEtHad
L1GctEtHad()
Definition:
L1GctEtHad.cc:4
L1GctEtHad::name
std::string name() const
name method
Definition:
L1GctEtHad.h:36
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:43
L1GctEtHad::m_bx
int16_t m_bx
Definition:
L1GctEtHad.h:62
L1GctEtHad::kEtHadNBits
Definition:
L1GctEtHad.h:22
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
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::kRawCtorMask
Definition:
L1GctEtHad.h:25
L1GctEtHad::kEtHadOFlowBit
Definition:
L1GctEtHad.h:23
L1GctEtHad::bx
int16_t bx() const
get bunch-crossing index
Definition:
L1GctEtHad.h:51
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
L1GctEtHad::operator!=
int operator!=(const L1GctEtHad &e) const
inequality operator
Definition:
L1GctEtHad.h:57
operator<<
std::ostream & operator<<(std::ostream &s, const L1GctEtHad &c)
Pretty-print operator for L1GctEtHad.
Definition:
L1GctEtHad.cc:25
L1GctEtHad::empty
bool empty() const
empty method (= false; hadronic Et is always calculated)
Definition:
L1GctEtHad.h:39
L1GctEtHad::~L1GctEtHad
virtual ~L1GctEtHad()
Definition:
L1GctEtHad.cc:22
L1GctEtHad::operator==
int operator==(const L1GctEtHad &e) const
equality operator
Definition:
L1GctEtHad.h:54
L1GctEtHad::numberOfBits
numberOfBits
Definition:
L1GctEtHad.h:21
Generated for CMSSW Reference Manual by
1.8.11