CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/SimGeneral/TrackingAnalysis/src/EncodedTruthId.cc

Go to the documentation of this file.
00001 #include "SimGeneral/TrackingAnalysis/interface/EncodedTruthId.h"
00002 
00003 EncodedTruthId::EncodedTruthId() {}
00004 
00005 EncodedTruthId::EncodedTruthId(EncodedEventId eid, int index):
00006         EncodedEventId(eid), index_(index) {}
00007 
00008 std::ostream& operator<<(std::ostream & os , EncodedTruthId& id)
00009 {
00010     return os  << "(" << id.bunchCrossing() << ","
00011            << id.event()         << ","
00012            << id.index()         << ")";
00013 }
00014