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