test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 24 of file CrossingFramePlaybackInfoExtended.h.

Constructor & Destructor Documentation

CrossingFramePlaybackInfoExtended::CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 30 of file CrossingFramePlaybackInfoExtended.h.

30 {}
CrossingFramePlaybackInfoExtended::~CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 31 of file CrossingFramePlaybackInfoExtended.h.

31 {}

Member Function Documentation

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

Definition at line 37 of file CrossingFramePlaybackInfoExtended.h.

References idFirstPileup_, and alignCSCRings::s.

37  {
38  ids=idFirstPileup_[s];
39  }
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 35 of file CrossingFramePlaybackInfoExtended.h.

References idFirstPileup_, and minBunch_.

35 {return (idFirstPileup_[s])[bcr-minBunch_];}
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 46 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getEventStartInfo(), and getStartEventId().

unsigned int CrossingFramePlaybackInfoExtended::maxNbSources_
private

Definition at line 44 of file CrossingFramePlaybackInfoExtended.h.

int CrossingFramePlaybackInfoExtended::minBunch_
private

Definition at line 49 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getStartEventId().

int CrossingFramePlaybackInfoExtended::nBcrossings_
private

Definition at line 48 of file CrossingFramePlaybackInfoExtended.h.