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
}
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:31
CastorRecHit::CastorRecHit
CastorRecHit()
Definition:
CastorRecHit.cc:4
CastorRecHit
Definition:
CastorRecHit.h:8
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
CastorRecHit.h
CastorRecHit::id
HcalCastorDetId id() const
get the id
Definition:
CastorRecHit.h:15
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CaloRecHit
Definition:
CaloRecHit.h:24
operator<<
std::ostream & operator<<(std::ostream &s, const CastorRecHit &hit)
Definition:
CastorRecHit.cc:11
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:33
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
Generated for CMSSW Reference Manual by
1.8.11