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
std::ostream&
operator<<
(std::ostream&
s
,
const
HFRecHit
&
hit
) {
4
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV"
;
5
if
(hit.
time
() > -998) {
6
s <<
", t= "
<< hit.
time
() <<
" to "
<< hit.
timeFalling
() <<
" ns"
;
7
}
8
return
s
;
9
}
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:31
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
HFRecHit::timeFalling
float timeFalling() const
Definition:
HFRecHit.h:29
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:33
HFRecHit.h
operator<<
std::ostream & operator<<(std::ostream &s, const HFRecHit &hit)
Definition:
HFRecHit.cc:3
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
HFRecHit::id
HcalDetId id() const
Definition:
HFRecHit.h:31
HFRecHit
Definition:
HFRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.11