/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimDataFormats/CrossingFrame/interface/CrossingFramePlaybackInfoExtended.h
49 строк
1 KB
Christopher Jones
Removed unnecessary include of MessageLogger.h from header
08 фев 2021, 19:48
08 фев 2021, 19:48
7e048cc
Код
Авторство
О чём код?
#ifndef CROSSING_FRAME_PLAYBACKINFOEXTENDED_H #define CROSSING_FRAME_PLAYBACKINFOEXTENDED_H /** \class CrossingFramePlaybackInfoExtended * * CrossingFramePlaybackInfoExtended is written by the Sim Mixing Module * it contains information to allow a 'playback' of the MixingModule * i.e to find again, on an event/event basis, exactly the same events to superpose * * \author Ursula Berthon, Claude Charlot, LLR Palaiseau * * \version 1st Version Nov 2007 * ************************************************************/ #include "DataFormats/Provenance/interface/EventID.h" #include <vector> #include <utility> #include <iostream> class CrossingFramePlaybackInfoExtended { public: // con- and destructors CrossingFramePlaybackInfoExtended() {} ~CrossingFramePlaybackInfoExtended() {} // no setters needed, as this class is just used for backward compatibility // getters std::vector<edm::EventID> getStartEventId(const unsigned int s, const int bcr) const { return (idFirstPileup_[s])[bcr - minBunch_]; } void getEventStartInfo(std::vector<std::vector<edm::EventID> > &ids, const unsigned int s) const { ids = idFirstPileup_[s]; } private: // we need the same info for each bunchcrossing unsigned int maxNbSources_; std::vector<std::vector<std::vector<edm::EventID> > > idFirstPileup_; int nBcrossings_; int minBunch_; }; #endif