CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
CrossingFramePlaybackInfoExtended Class Reference

#include <CrossingFramePlaybackInfoExtended.h>

Public Member Functions

 CrossingFramePlaybackInfoExtended ()
 
void getEventStartInfo (std::vector< std::vector< edm::EventID > > &ids, const unsigned int s) const
 
std::vector< edm::EventIDgetStartEventId (const unsigned int s, const int bcr) const
 
 ~CrossingFramePlaybackInfoExtended ()
 

Private Attributes

std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_
 
unsigned int maxNbSources_
 
int minBunch_
 
int nBcrossings_
 

Detailed Description

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

Definition at line 23 of file CrossingFramePlaybackInfoExtended.h.

Constructor & Destructor Documentation

CrossingFramePlaybackInfoExtended::CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 27 of file CrossingFramePlaybackInfoExtended.h.

27 {}
CrossingFramePlaybackInfoExtended::~CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 28 of file CrossingFramePlaybackInfoExtended.h.

28 {}

Member Function Documentation

void CrossingFramePlaybackInfoExtended::getEventStartInfo ( std::vector< std::vector< edm::EventID > > &  ids,
const unsigned int  s 
) const
inline

Definition at line 36 of file CrossingFramePlaybackInfoExtended.h.

References idFirstPileup_, photons_cff::ids, and alignCSCRings::s.

36  {
37  ids = idFirstPileup_[s];
38  }
std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_
std::vector<edm::EventID> CrossingFramePlaybackInfoExtended::getStartEventId ( const unsigned int  s,
const int  bcr 
) const
inline

Definition at line 32 of file CrossingFramePlaybackInfoExtended.h.

References idFirstPileup_, and minBunch_.

Referenced by edm::MixingModule::doPileUp().

32  {
33  return (idFirstPileup_[s])[bcr - minBunch_];
34  }
std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_

Member Data Documentation

std::vector<std::vector<std::vector<edm::EventID> > > CrossingFramePlaybackInfoExtended::idFirstPileup_
private

Definition at line 44 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getEventStartInfo(), and getStartEventId().

unsigned int CrossingFramePlaybackInfoExtended::maxNbSources_
private

Definition at line 42 of file CrossingFramePlaybackInfoExtended.h.

int CrossingFramePlaybackInfoExtended::minBunch_
private

Definition at line 47 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getStartEventId().

int CrossingFramePlaybackInfoExtended::nBcrossings_
private

Definition at line 46 of file CrossingFramePlaybackInfoExtended.h.