CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CrossingFramePlaybackInfoExtended.h
Go to the documentation of this file.
1 #ifndef CROSSING_FRAME_PLAYBACKINFOEXTENDED_H
2 #define CROSSING_FRAME_PLAYBACKINFOEXTENDED_H
3 
19 #include <vector>
20 #include <utility>
21 
22 #include <iostream>
23 
25 {
26 
27  public:
28  // con- and destructors
29 
32 
33  // no setters needed, as this class is just used for backward compatibility
34  // getters
35  std::vector<edm::EventID> getStartEventId(const unsigned int s,const int bcr) const {return (idFirstPileup_[s])[bcr-minBunch_];}
36 
37  void getEventStartInfo(std::vector<std::vector<edm::EventID> > &ids, const unsigned int s) const {
38  ids=idFirstPileup_[s];
39  }
40 
41  private:
42 
43  // we need the same info for each bunchcrossing
44  unsigned int maxNbSources_;
45 
46  std::vector<std::vector<std::vector<edm::EventID> > > idFirstPileup_;
47 
49  int minBunch_;
50 };
51 
52 
53 #endif
std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_
std::vector< edm::EventID > getStartEventId(const unsigned int s, const int bcr) const
void getEventStartInfo(std::vector< std::vector< edm::EventID > > &ids, const unsigned int s) const