Main Page
Namespaces
Classes
Package Documentation
src
DataFormats
HcalRecHit
src
HORecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/HORecHit.h
"
2
3
4
HORecHit::HORecHit
() :
CaloRecHit
() {
5
}
6
7
HORecHit::HORecHit
(
const
HcalDetId
&
id
,
float
energy
,
float
time
) :
8
CaloRecHit
(id,energy,time){
9
}
10
11
std::ostream&
operator<<
(std::ostream&
s
,
const
HORecHit
&
hit
) {
12
return
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV, "
<< hit.
time
() <<
" ns"
;
13
}
14
HORecHit.h
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
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
operator<<
std::ostream & operator<<(std::ostream &s, const HORecHit &hit)
Definition:
HORecHit.cc:11
HORecHit::HORecHit
HORecHit()
Definition:
HORecHit.cc:4
HORecHit
Definition:
HORecHit.h:12
hit
Definition:
SiStripHitEffFromCalibTree.cc:86
HORecHit::id
HcalDetId id() const
get the id
Definition:
HORecHit.h:19
Generated for CMSSW Reference Manual by
1.8.11