CMS 3D CMS Logo

Public Member Functions | Private Attributes

PCrossingFrame< T > Class Template Reference

#include <PCrossingFrame.h>

List of all members.

Public Member Functions

std::pair< int, int > getBunchRange () const
int getBunchSpace () const
edm::EventID getEventID () const
edm::EventID getIdFirstPileup () const
unsigned int getMaxNbSources () const
unsigned int getPileupFileNr () const
std::vector< unsigned int > getPileupOffsetsBcr () const
std::vector< std::vector
< unsigned int > > 
getPileupOffsetsSource () const
std::vector< const T * > getPileups () const
std::string getSubDet () const
 PCrossingFrame (const PCrossingFrame< T > &pcf)
 PCrossingFrame (const CrossingFrame< T > &cf)
 PCrossingFrame ()
 ~PCrossingFrame ()

Private Attributes

int firstPCrossing_
int lastPCrossing_
int PbunchSpace_
edm::EventID PCFidFirstPileup_
unsigned int PCFpileupFileNr_
std::vector< unsigned int > PCFpileupOffsetsBcr_
std::vector< std::vector
< unsigned int > > 
PCFpileupOffsetsSource_
std::vector< const T * > PCFpileups_
std::vector< const T * > PCFsignals_
std::string PCFsubdet_
edm::EventID Pid_
unsigned int PmaxNbSources_

Detailed Description

template<class T>
class PCrossingFrame< T >

PCrossingFrame allow the write the transient CrossingFrame

Author:
EmiliaBecheva, Claude Charlot, LLR Palaiseau
Version:
1st Version April 2009

Definition at line 17 of file PCrossingFrame.h.


Constructor & Destructor Documentation

template<class T>
PCrossingFrame< T >::PCrossingFrame ( ) [inline]

Definition at line 22 of file PCrossingFrame.h.

{}
template<class T >
PCrossingFrame< T >::PCrossingFrame ( const CrossingFrame< T > &  cf)
template<class T>
PCrossingFrame< T >::PCrossingFrame ( const PCrossingFrame< T > &  pcf) [inline]

Definition at line 24 of file PCrossingFrame.h.

{};
template<class T>
PCrossingFrame< T >::~PCrossingFrame ( ) [inline]

Definition at line 26 of file PCrossingFrame.h.

{;}

Member Function Documentation

template<class T>
std::pair<int,int> PCrossingFrame< T >::getBunchRange ( ) const [inline]
template<class T>
int PCrossingFrame< T >::getBunchSpace ( ) const [inline]
template<class T>
edm::EventID PCrossingFrame< T >::getEventID ( ) const [inline]

Definition at line 29 of file PCrossingFrame.h.

References PCrossingFrame< T >::Pid_.

{return Pid_;}
template<class T>
edm::EventID PCrossingFrame< T >::getIdFirstPileup ( ) const [inline]
template<class T>
unsigned int PCrossingFrame< T >::getMaxNbSources ( ) const [inline]
template<class T>
unsigned int PCrossingFrame< T >::getPileupFileNr ( ) const [inline]
template<class T>
std::vector<unsigned int> PCrossingFrame< T >::getPileupOffsetsBcr ( ) const [inline]
template<class T>
std::vector< std::vector<unsigned int> > PCrossingFrame< T >::getPileupOffsetsSource ( ) const [inline]

Definition at line 37 of file PCrossingFrame.h.

References PCrossingFrame< T >::PCFpileupOffsetsSource_.

Referenced by edm::MixingWorker< T >::copyPCrossingFrame().

{return PCFpileupOffsetsSource_;} //one per source
template<class T>
std::vector<const T *> PCrossingFrame< T >::getPileups ( ) const [inline]

Definition at line 30 of file PCrossingFrame.h.

References PCrossingFrame< T >::PCFpileups_.

Referenced by edm::MixingWorker< T >::copyPCrossingFrame().

{return PCFpileups_;}
template<class T>
std::string PCrossingFrame< T >::getSubDet ( ) const [inline]

Definition at line 33 of file PCrossingFrame.h.

References PCrossingFrame< T >::PCFsubdet_.

Referenced by edm::MixingWorker< T >::copyPCrossingFrame().

{ return PCFsubdet_;}

Member Data Documentation

template<class T>
int PCrossingFrame< T >::firstPCrossing_ [private]

Definition at line 45 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getBunchRange().

template<class T>
int PCrossingFrame< T >::lastPCrossing_ [private]

Definition at line 46 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getBunchRange().

template<class T>
int PCrossingFrame< T >::PbunchSpace_ [private]

Definition at line 43 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getBunchSpace().

template<class T>
edm::EventID PCrossingFrame< T >::PCFidFirstPileup_ [private]

Definition at line 51 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getIdFirstPileup().

template<class T>
unsigned int PCrossingFrame< T >::PCFpileupFileNr_ [private]

Definition at line 50 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getPileupFileNr().

template<class T>
std::vector<unsigned int> PCrossingFrame< T >::PCFpileupOffsetsBcr_ [private]

Definition at line 52 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getPileupOffsetsBcr().

template<class T>
std::vector< std::vector<unsigned int> > PCrossingFrame< T >::PCFpileupOffsetsSource_ [private]

Definition at line 53 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getPileupOffsetsSource().

template<class T>
std::vector<const T * > PCrossingFrame< T >::PCFpileups_ [private]

Definition at line 47 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getPileups().

template<class T>
std::vector<const T * > PCrossingFrame< T >::PCFsignals_ [private]

Definition at line 48 of file PCrossingFrame.h.

template<class T>
std::string PCrossingFrame< T >::PCFsubdet_ [private]

Definition at line 49 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getSubDet().

template<class T>
edm::EventID PCrossingFrame< T >::Pid_ [private]

Definition at line 44 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getEventID().

template<class T>
unsigned int PCrossingFrame< T >::PmaxNbSources_ [private]

Definition at line 42 of file PCrossingFrame.h.

Referenced by PCrossingFrame< T >::getMaxNbSources().