00001 #include "SimDataFormats/CrossingFrame/interface/CrossingFramePlaybackInfoExtended.h" 00002 #include <utility> 00003 00004 CrossingFramePlaybackInfoExtended::CrossingFramePlaybackInfoExtended(int minBunch, int maxBunch, unsigned int maxNbSources):maxNbSources_(maxNbSources),minBunch_(minBunch) 00005 { 00006 //initialise data structures 00007 nBcrossings_=maxBunch-minBunch+1; 00008 idFirstPileup_.resize(maxNbSources_); 00009 for (unsigned int i=0;i<maxNbSources_;++i) { 00010 idFirstPileup_[i].resize(nBcrossings_); 00011 } 00012 } 00013 00014 00015 void 00016 CrossingFramePlaybackInfoExtended::setEventStartInfo(std::vector<std::vector<edm::EventID> > &id, const unsigned int s) 00017 { 00018 idFirstPileup_[s]=id; 00019 } 00020