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