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::CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 27 of file CrossingFramePlaybackInfoExtended.h.

27 {}

◆ ~CrossingFramePlaybackInfoExtended()

CrossingFramePlaybackInfoExtended::~CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 28 of file CrossingFramePlaybackInfoExtended.h.

28 {}

Member Function Documentation

◆ getEventStartInfo()

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

Definition at line 36 of file CrossingFramePlaybackInfoExtended.h.

36  {
37  ids = idFirstPileup_[s];
38  }

References idFirstPileup_, and alignCSCRings::s.

◆ getStartEventId()

std::vector<edm::EventID> CrossingFramePlaybackInfoExtended::getStartEventId ( const unsigned int  s,
const int  bcr 
) const
inline

Definition at line 32 of file CrossingFramePlaybackInfoExtended.h.

32  {
33  return (idFirstPileup_[s])[bcr - minBunch_];
34  }

References idFirstPileup_, minBunch_, and alignCSCRings::s.

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

Member Data Documentation

◆ idFirstPileup_

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

Definition at line 44 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getEventStartInfo(), and getStartEventId().

◆ maxNbSources_

unsigned int CrossingFramePlaybackInfoExtended::maxNbSources_
private

Definition at line 42 of file CrossingFramePlaybackInfoExtended.h.

◆ minBunch_

int CrossingFramePlaybackInfoExtended::minBunch_
private

Definition at line 47 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getStartEventId().

◆ nBcrossings_

int CrossingFramePlaybackInfoExtended::nBcrossings_
private

Definition at line 46 of file CrossingFramePlaybackInfoExtended.h.

CrossingFramePlaybackInfoExtended::minBunch_
int minBunch_
Definition: CrossingFramePlaybackInfoExtended.h:47
CrossingFramePlaybackInfoExtended::idFirstPileup_
std::vector< std::vector< std::vector< edm::EventID > > > idFirstPileup_
Definition: CrossingFramePlaybackInfoExtended.h:44
alignCSCRings.s
s
Definition: alignCSCRings.py:92