src
SimDataFormats
CaloHit
src
PassiveHit.cc
Go to the documentation of this file.
1
#include "
SimDataFormats/CaloHit/interface/PassiveHit.h
"
2
#include <iostream>
3
4
std::ostream&
operator<<
(std::ostream&
o
,
const
PassiveHit
&
hit
) {
5
o
<<
hit
.vname() <<
" 0x"
<< std::hex <<
hit
.
id
() <<
std::dec
<<
": Energy "
<<
hit
.energy()
6
<<
" GeV: "
<<
hit
.energyTotal() <<
" GeV: Tof "
<<
hit
.time() <<
" ns: "
7
<<
" Track # "
<<
hit
.trackId() <<
" Position "
<<
hit
.
x
() <<
", "
<<
hit
.
y
() <<
", "
<<
hit
.
z
() <<
")"
;
8
9
return
o
;
10
}
hit::z
double z
Definition:
SiStripHitEffFromCalibTree.cc:91
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
hit::id
unsigned int id
Definition:
SiStripHitEffFromCalibTree.cc:92
hit::y
double y
Definition:
SiStripHitEffFromCalibTree.cc:90
PassiveHit
Definition:
PassiveHit.h:9
PassiveHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:142
operator<<
std::ostream & operator<<(std::ostream &o, const PassiveHit &hit)
Definition:
PassiveHit.cc:4
hit::x
double x
Definition:
SiStripHitEffFromCalibTree.cc:89
Generated for CMSSW Reference Manual by
1.8.14