00001 #ifndef SimTracker_Common_SimHitInfoForLinks 00002 #define SimTracker_Common_SimHitInfoForLinks 00003 00004 #include <vector> 00005 #include "SimDataFormats/TrackingHit/interface/PSimHit.h" 00006 00007 // A stripped down version of PSimHit used to save memory. 00008 // Contains only the information needed to be make DigiSimLinks. 00009 00010 struct SimHitInfoForLinks { 00011 explicit SimHitInfoForLinks(PSimHit const* hitp) : eventId_(hitp->eventId()), trackIds_(1, hitp->trackId()) { 00012 } 00013 EncodedEventId eventId_; 00014 std::vector<unsigned int> trackIds_; 00015 }; 00016 #endif