Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
HcalRecHit
src
HFRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/HFRecHit.h
"
2
3
4
HFRecHit::HFRecHit
() :
CaloRecHit
() {
5
}
6
7
HFRecHit::HFRecHit
(
const
HcalDetId
&
id
,
float
energy
,
float
timeRising,
float
timeFalling) :
8
CaloRecHit
(id,energy,timeRising),
9
timeFalling_(timeFalling)
10
{
11
}
12
13
std::ostream&
operator<<
(std::ostream&
s
,
const
HFRecHit
&
hit
) {
14
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV"
;
15
if
(hit.
time
() > -998) {
16
s <<
", t= "
<< hit.
time
() <<
" to "
<< hit.
timeFalling
() <<
" ns"
;
17
}
18
return
s
;
19
}
20
HFRecHit::timeFalling
float timeFalling() const
Definition:
HFRecHit.h:22
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CaloRecHit::time
float time() const
Definition:
CaloRecHit.h:19
CaloRecHit
Definition:
CaloRecHit.h:12
HcalDetId
Definition:
HcalDetId.h:16
CaloRecHit::energy
float energy() const
Definition:
CaloRecHit.h:17
HFRecHit::HFRecHit
HFRecHit()
Definition:
HFRecHit.cc:4
HFRecHit.h
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
hit
Definition:
SiStripHitEffFromCalibTree.cc:79
relval_parameters_module.energy
string energy
Definition:
relval_parameters_module.py:29
HFRecHit::id
HcalDetId id() const
Definition:
HFRecHit.h:23
HFRecHit
Definition:
HFRecHit.h:12
Generated for CMSSW Reference Manual by
1.8.5