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
):
6
EncodedEventId
(eid),
index_
(index) {}
7
8
std::ostream&
operator<<
(std::ostream & os ,
EncodedTruthId
&
id
)
9
{
10
return
os <<
"("
<<
id
.bunchCrossing() <<
","
11
<<
id
.event() <<
","
12
<<
id
.index() <<
")"
;
13
}
14
EncodedTruthId::index_
int index_
Definition:
EncodedTruthId.h:55
EncodedTruthId::operator<<
friend std::ostream & operator<<(std::ostream &os, const EncodedTruthId &id)
EncodedTruthId::index
int index() const
Definition:
EncodedTruthId.h:19
EncodedTruthId
Definition:
EncodedTruthId.h:7
EncodedTruthId::EncodedTruthId
EncodedTruthId()
Definition:
EncodedTruthId.cc:3
EncodedTruthId.h
runTauDisplay.eid
eid
Definition:
runTauDisplay.py:295
EncodedEventId
Definition:
EncodedEventId.h:11
Generated for CMSSW Reference Manual by
1.8.11