#include <PCrossingFrame.h>
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_ |
PCrossingFrame allow the write the transient CrossingFrame
Definition at line 17 of file PCrossingFrame.h.
PCrossingFrame< T >::PCrossingFrame | ( | ) | [inline] |
Definition at line 22 of file PCrossingFrame.h.
{}
PCrossingFrame< T >::PCrossingFrame | ( | const CrossingFrame< T > & | cf | ) |
Definition at line 58 of file PCrossingFrame.h.
References CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getBunchSpace(), CrossingFrame< T >::getEventID(), CrossingFrame< T >::getIdFirstPileup(), CrossingFrame< T >::getMaxNbSources(), CrossingFrame< T >::getPileupFileNr(), CrossingFrame< T >::getPileupOffsetsBcr(), CrossingFrame< T >::getPileupOffsetsSource(), CrossingFrame< T >::getPileups(), CrossingFrame< T >::getSignal(), and CrossingFrame< T >::getSubDet().
{ //get data members from CrossingFrame PmaxNbSources_= cf.getMaxNbSources(); PbunchSpace_ = cf.getBunchSpace(); Pid_ = cf.getEventID(); firstPCrossing_ = cf.getBunchRange().first; lastPCrossing_ = cf.getBunchRange().second; PCFpileups_ = cf.getPileups(); PCFsignals_ = cf.getSignal(); PCFsubdet_ = cf.getSubDet(); PCFpileupFileNr_ = cf.getPileupFileNr(); PCFidFirstPileup_ = cf.getIdFirstPileup(); PCFpileupOffsetsBcr_ = cf.getPileupOffsetsBcr(); PCFpileupOffsetsSource_ = cf.getPileupOffsetsSource(); }
PCrossingFrame< T >::PCrossingFrame | ( | const PCrossingFrame< T > & | pcf | ) | [inline] |
Definition at line 24 of file PCrossingFrame.h.
{};
PCrossingFrame< T >::~PCrossingFrame | ( | ) | [inline] |
Definition at line 26 of file PCrossingFrame.h.
{;}
std::pair<int,int> PCrossingFrame< T >::getBunchRange | ( | ) | const [inline] |
Definition at line 38 of file PCrossingFrame.h.
References PCrossingFrame< T >::firstPCrossing_, and PCrossingFrame< T >::lastPCrossing_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return std::pair<int,int>(firstPCrossing_,lastPCrossing_);}
int PCrossingFrame< T >::getBunchSpace | ( | ) | const [inline] |
Definition at line 31 of file PCrossingFrame.h.
References PCrossingFrame< T >::PbunchSpace_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return PbunchSpace_;}
edm::EventID PCrossingFrame< T >::getEventID | ( | ) | const [inline] |
Definition at line 29 of file PCrossingFrame.h.
References PCrossingFrame< T >::Pid_.
{return Pid_;}
edm::EventID PCrossingFrame< T >::getIdFirstPileup | ( | ) | const [inline] |
Definition at line 35 of file PCrossingFrame.h.
References PCrossingFrame< T >::PCFidFirstPileup_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return PCFidFirstPileup_;}
unsigned int PCrossingFrame< T >::getMaxNbSources | ( | ) | const [inline] |
Definition at line 32 of file PCrossingFrame.h.
References PCrossingFrame< T >::PmaxNbSources_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return PmaxNbSources_; }
unsigned int PCrossingFrame< T >::getPileupFileNr | ( | ) | const [inline] |
Definition at line 34 of file PCrossingFrame.h.
References PCrossingFrame< T >::PCFpileupFileNr_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return PCFpileupFileNr_;}
std::vector<unsigned int> PCrossingFrame< T >::getPileupOffsetsBcr | ( | ) | const [inline] |
Definition at line 36 of file PCrossingFrame.h.
References PCrossingFrame< T >::PCFpileupOffsetsBcr_.
Referenced by edm::MixingWorker< T >::copyPCrossingFrame().
{return PCFpileupOffsetsBcr_;}
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
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_;}
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_;}
int PCrossingFrame< T >::firstPCrossing_ [private] |
Definition at line 45 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getBunchRange().
int PCrossingFrame< T >::lastPCrossing_ [private] |
Definition at line 46 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getBunchRange().
int PCrossingFrame< T >::PbunchSpace_ [private] |
Definition at line 43 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getBunchSpace().
edm::EventID PCrossingFrame< T >::PCFidFirstPileup_ [private] |
Definition at line 51 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getIdFirstPileup().
unsigned int PCrossingFrame< T >::PCFpileupFileNr_ [private] |
Definition at line 50 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getPileupFileNr().
std::vector<unsigned int> PCrossingFrame< T >::PCFpileupOffsetsBcr_ [private] |
Definition at line 52 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getPileupOffsetsBcr().
std::vector< std::vector<unsigned int> > PCrossingFrame< T >::PCFpileupOffsetsSource_ [private] |
Definition at line 53 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getPileupOffsetsSource().
std::vector<const T * > PCrossingFrame< T >::PCFpileups_ [private] |
Definition at line 47 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getPileups().
std::vector<const T * > PCrossingFrame< T >::PCFsignals_ [private] |
Definition at line 48 of file PCrossingFrame.h.
std::string PCrossingFrame< T >::PCFsubdet_ [private] |
Definition at line 49 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getSubDet().
edm::EventID PCrossingFrame< T >::Pid_ [private] |
Definition at line 44 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getEventID().
unsigned int PCrossingFrame< T >::PmaxNbSources_ [private] |
Definition at line 42 of file PCrossingFrame.h.
Referenced by PCrossingFrame< T >::getMaxNbSources().