Main Page
Namespaces
Classes
Package Documentation
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
();
8
9
return
o
;
10
}
PassiveHit::energy
double energy() const
Definition:
PassiveHit.h:28
PassiveHit::time
double time() const
Definition:
PassiveHit.h:34
PassiveHit::id
unsigned int id() const
Definition:
PassiveHit.h:47
PassiveHit::vname
std::string vname() const
Definition:
PassiveHit.h:46
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
PassiveHit
Definition:
PassiveHit.h:9
PassiveHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
TauDecayModes.dec
dec
Definition:
TauDecayModes.py:143
PassiveHit::energyTotal
double energyTotal() const
Definition:
PassiveHit.h:30
PassiveHit::trackId
int trackId() const
Definition:
PassiveHit.h:38
operator<<
std::ostream & operator<<(std::ostream &o, const PassiveHit &hit)
Definition:
PassiveHit.cc:4
Generated for CMSSW Reference Manual by
1.8.11