test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:188
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
CaloRecHit::energy
float energy() const
Definition:
CaloRecHit.h:17
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
relval_parameters_module.energy
string energy
Definition:
relval_parameters_module.py:29
Generated for CMSSW Reference Manual by
1.8.5