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