Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
DataFormats
HcalRecHit
src
CastorRecHit.cc
Go to the documentation of this file.
1
#include "
DataFormats/HcalRecHit/interface/CastorRecHit.h
"
2
3
CastorRecHit::CastorRecHit
() :
CaloRecHit
() {}
4
5
CastorRecHit::CastorRecHit
(
const
HcalCastorDetId
&
id
,
float
energy
,
float
time) :
CaloRecHit
(id, energy, time) {}
6
7
std::ostream&
operator<<
(std::ostream&
s
,
const
CastorRecHit
&
hit
) {
8
return
s << hit.
id
() <<
": "
<< hit.
energy
() <<
" GeV, "
<< hit.
time
() <<
" ns"
;
9
}
CaloRecHit::energy
constexpr float energy() const
Definition:
CaloRecHit.h:29
CastorRecHit::CastorRecHit
CastorRecHit()
Definition:
CastorRecHit.cc:3
CastorRecHit
Definition:
CastorRecHit.h:7
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
CastorRecHit.h
CastorRecHit::id
HcalCastorDetId id() const
get the id
Definition:
CastorRecHit.h:14
HcalCastorDetId
Definition:
HcalCastorDetId.h:23
CaloRecHit
Definition:
CaloRecHit.h:23
CaloRecHit::time
constexpr float time() const
Definition:
CaloRecHit.h:31
alignCSCRings.s
list s
Definition:
alignCSCRings.py:92
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