Main Page
Namespaces
Classes
Package Documentation
SimGeneral
TrackingAnalysis
src
EncodedTruthId.cc
Go to the documentation of this file.
1
#include "
SimGeneral/TrackingAnalysis/interface/EncodedTruthId.h
"
2
3
EncodedTruthId::EncodedTruthId
() {}
4
5
EncodedTruthId::EncodedTruthId
(
EncodedEventId
eid
,
int
index
) :
EncodedEventId
(eid),
index_
(index) {}
6
7
std::ostream &
operator<<
(std::ostream &os,
EncodedTruthId
&
id
) {
8
return
os <<
"("
<<
id
.bunchCrossing() <<
","
<<
id
.event() <<
","
<<
id
.index() <<
")"
;
9
}
EncodedTruthId::index_
int index_
Definition:
EncodedTruthId.h:38
EncodedTruthId::operator<<
friend std::ostream & operator<<(std::ostream &os, const EncodedTruthId &id)
EncodedTruthId::index
int index() const
Definition:
EncodedTruthId.h:16
EncodedTruthId
Definition:
EncodedTruthId.h:7
EncodedTruthId::EncodedTruthId
EncodedTruthId()
Definition:
EncodedTruthId.cc:3
EncodedTruthId.h
runTauDisplay.eid
eid
Definition:
runTauDisplay.py:298
EncodedEventId
Definition:
EncodedEventId.h:11
Generated for CMSSW Reference Manual by
1.8.11