CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/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