CMS 3D CMS Logo

CrossingFramePlaybackInfoExtended.h
Go to the documentation of this file.
1 #ifndef CROSSING_FRAME_PLAYBACKINFOEXTENDED_H
2 #define CROSSING_FRAME_PLAYBACKINFOEXTENDED_H
3 
18 #include <vector>
19 #include <utility>
20 
21 #include <iostream>
22 
24 public:
25  // con- and destructors
26 
29 
30  // no setters needed, as this class is just used for backward compatibility
31  // getters
32  std::vector<edm::EventID> getStartEventId(const unsigned int s, const int bcr) const {
33  return (idFirstPileup_[s])[bcr - minBunch_];
34  }
35 
36  void getEventStartInfo(std::vector<std::vector<edm::EventID> > &ids, const unsigned int s) const {
37  ids = idFirstPileup_[s];
38  }
39 
40 private:
41  // we need the same info for each bunchcrossing
42  unsigned int maxNbSources_;
43 
44  std::vector<std::vector<std::vector<edm::EventID> > > idFirstPileup_;
45 
47  int minBunch_;
48 };
49 
50 #endif
MessageLogger.h
CrossingFramePlaybackInfoExtended::minBunch_
int minBunch_
Definition: CrossingFramePlaybackInfoExtended.h:47
CrossingFramePlaybackInfoExtended::getStartEventId
std::vector< edm::EventID > getStartEventId(const unsigned int s, const int bcr) const
Definition: CrossingFramePlaybackInfoExtended.h:32
CrossingFramePlaybackInfoExtended::idFirstPileup_
std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_
Definition: CrossingFramePlaybackInfoExtended.h:44
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CrossingFramePlaybackInfoExtended
Definition: CrossingFramePlaybackInfoExtended.h:23
EventID.h
CrossingFramePlaybackInfoExtended::getEventStartInfo
void getEventStartInfo(std::vector< std::vector< edm::EventID > > &ids, const unsigned int s) const
Definition: CrossingFramePlaybackInfoExtended.h:36
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
CrossingFramePlaybackInfoExtended::~CrossingFramePlaybackInfoExtended
~CrossingFramePlaybackInfoExtended()
Definition: CrossingFramePlaybackInfoExtended.h:28
CrossingFramePlaybackInfoExtended::nBcrossings_
int nBcrossings_
Definition: CrossingFramePlaybackInfoExtended.h:46
CrossingFramePlaybackInfoExtended::maxNbSources_
unsigned int maxNbSources_
Definition: CrossingFramePlaybackInfoExtended.h:42
CrossingFramePlaybackInfoExtended::CrossingFramePlaybackInfoExtended
CrossingFramePlaybackInfoExtended()
Definition: CrossingFramePlaybackInfoExtended.h:27