Main Page
Namespaces
Classes
Package Documentation
DataFormats
HcalRecHit
src
HFRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
2
3
4
HFRecHit::HFRecHit
() :
5
CaloRecHit
(),
6
timeFalling_(0.
f
),
7
auxHF_(0)
8
{
9
}
10
11
HFRecHit::HFRecHit
(
const
HcalDetId
&
id
,
float
energy
,
float
timeRising,
float
timeFalling
) :
12
CaloRecHit
(id,energy,timeRising),
13
timeFalling_
(timeFalling),
14
auxHF_
(0)
15
{
16
}
17
18
std::ostream&
operator<<
(std::ostream&
s
,
const
HFRecHit
&
hit
) {
19
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV"
;
20
if
(hit.
time
() > -998) {
21
s <<
", t= "
<< hit.
time
() <<
" to "
<< hit.
timeFalling
() <<
" ns"
;
22
}
23
return
s
;
24
}
25
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
HFRecHit::timeFalling
float timeFalling() const
Definition:
HFRecHit.h:22
CaloRecHit::time
float time() const
Definition:
CaloRecHit.h:19
CaloRecHit
Definition:
CaloRecHit.h:12
HcalDetId
Definition:
HcalDetId.h:12
CaloRecHit::energy
float energy() const
Definition:
CaloRecHit.h:17
HFRecHit::HFRecHit
HFRecHit()
Definition:
HFRecHit.cc:4
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
HFRecHit.h
HFRecHit::auxHF_
uint32_t auxHF_
Definition:
HFRecHit.h:31
operator<<
std::ostream & operator<<(std::ostream &s, const HFRecHit &hit)
Definition:
HFRecHit.cc:18
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
HFRecHit::timeFalling_
float timeFalling_
Definition:
HFRecHit.h:30
HFRecHit::id
HcalDetId id() const
Definition:
HFRecHit.h:23
HFRecHit
Definition:
HFRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.11