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 22 of file CrossingFramePlaybackInfoExtended.h.

Constructor & Destructor Documentation

◆ CrossingFramePlaybackInfoExtended()

CrossingFramePlaybackInfoExtended::CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 26 of file CrossingFramePlaybackInfoExtended.h.

26 {}

◆ ~CrossingFramePlaybackInfoExtended()

CrossingFramePlaybackInfoExtended::~CrossingFramePlaybackInfoExtended ( )
inline

Definition at line 27 of file CrossingFramePlaybackInfoExtended.h.

27 {}

Member Function Documentation

◆ getEventStartInfo()

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

Definition at line 35 of file CrossingFramePlaybackInfoExtended.h.

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

References idFirstPileup_, and alignCSCRings::s.

◆ getStartEventId()

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

Definition at line 31 of file CrossingFramePlaybackInfoExtended.h.

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

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 43 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getEventStartInfo(), and getStartEventId().

◆ maxNbSources_

unsigned int CrossingFramePlaybackInfoExtended::maxNbSources_
private

Definition at line 41 of file CrossingFramePlaybackInfoExtended.h.

◆ minBunch_

int CrossingFramePlaybackInfoExtended::minBunch_
private

Definition at line 46 of file CrossingFramePlaybackInfoExtended.h.

Referenced by getStartEventId().

◆ nBcrossings_

int CrossingFramePlaybackInfoExtended::nBcrossings_
private

Definition at line 45 of file CrossingFramePlaybackInfoExtended.h.

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