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::id
unsigned int id
Definition:
SiStripHitEffFromCalibTree.cc:92
PassiveHit.h
hit::y
double y
Definition:
SiStripHitEffFromCalibTree.cc:90
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
hit::x
double x
Definition:
SiStripHitEffFromCalibTree.cc:89
PassiveHit
Definition:
PassiveHit.h:9
hit::z
double z
Definition:
SiStripHitEffFromCalibTree.cc:91
operator<<
std::ostream & operator<<(std::ostream &o, const PassiveHit &hit)
Definition:
PassiveHit.cc:4
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:142
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
Generated for CMSSW Reference Manual by
1.8.16