Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
}
PassiveHit::energy
double energy() const
Definition:
PassiveHit.h:42
PassiveHit::time
double time() const
Definition:
PassiveHit.h:48
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:167
PassiveHit::id
unsigned int id() const
Definition:
PassiveHit.h:61
PassiveHit::vname
std::string vname() const
Definition:
PassiveHit.h:60
PassiveHit::z
float z() const
Definition:
PassiveHit.h:76
PassiveHit::x
float x() const
Definition:
PassiveHit.h:72
PassiveHit
Definition:
PassiveHit.h:9
PassiveHit::y
float y() const
Definition:
PassiveHit.h:74
PassiveHit.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
PassiveHit::energyTotal
double energyTotal() const
Definition:
PassiveHit.h:44
class-composition.o
tuple o
Definition:
class-composition.py:65
PassiveHit::trackId
int trackId() const
Definition:
PassiveHit.h:52
TauDecayModes.dec
tuple dec
Definition:
TauDecayModes.py:142
Generated for CMSSW Reference Manual by
1.8.5