#include <CrossingFrame.h>
Public Member Functions | |
void | addPileups (std::vector< T > const &vec) |
void | addPileups (T const &product) |
void | addSignals (const std::vector< T > *vec, edm::EventID id) |
void | addSignals (const T *vec, edm::EventID id) |
CrossingFrame () | |
CrossingFrame (int minb, int maxb, int bunchsp, std::string subdet, unsigned int maxNbSources) | |
int | getBunchCrossing (unsigned int ip) const |
std::pair< int, int > | getBunchRange () const |
int | getBunchSpace () const |
edm::EventID | getEventID () const |
edm::EventID | getIdFirstPileup () const |
unsigned int | getMaxNbSources () const |
unsigned int | getNrPileups () const |
unsigned int | getNrPileups (int bcr) const |
unsigned int | getNrSignals () const |
const T & | getObject (unsigned int ip) const |
unsigned int | getPileupFileNr () const |
const std::vector< unsigned int > & | getPileupOffsetsBcr () const |
const std::vector< std::vector< unsigned int > > & | getPileupOffsetsSource () const |
const std::vector< const T * > & | getPileups () const |
void | getPileups (typename std::vector< const T *>::const_iterator &first, typename std::vector< const T *>::const_iterator &last) const |
const std::vector< const T * > & | getSignal () const |
void | getSignal (typename std::vector< const T *>::const_iterator &first, typename std::vector< const T *>::const_iterator &last) const |
int | getSourceType (unsigned int ip) const |
std::string | getSubDet () const |
CrossingFrame & | operator= (CrossingFrame const &rhs) |
void | print (int level=0) const |
void | setBcrOffset () |
void | setBunchRange (std::pair< int, int > bunchRange) |
void | setBunchSpace (int bSpace) |
void | setEventID (edm::EventID evId) |
void | setIdFirstPileup (edm::EventID idFP) |
void | setMaxNbSources (unsigned int mNbS) |
void | setPileupFileNr (unsigned int pFileNr) |
void | setPileupOffsetsBcr (const std::vector< unsigned int > &pOffsetsBcr) |
void | setPileupOffsetsSource (const std::vector< std::vector< unsigned int > > &pOffsetsS) |
void | setPileupPtr (std::shared_ptr< edm::Wrapper< std::vector< T > > const > shPtr) |
void | setPileupPtr (std::shared_ptr< edm::Wrapper< T > const > shPtr) |
void | setPileupPtr (std::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > shPtr) |
void | setPileups (const std::vector< const T *> &p) |
void | setSourceOffset (const unsigned int s) |
void | setSubDet (std::string det) |
void | setTof () |
void | swap (CrossingFrame &other) |
~CrossingFrame () | |
Private Attributes | |
int | bunchSpace_ |
int | firstCrossing_ |
edm::EventID | id_ |
edm::EventID | idFirstPileup_ |
int | lastCrossing_ |
unsigned int | maxNbSources_ |
unsigned int | pileupFileNr_ |
std::vector< unsigned int > | pileupOffsetsBcr_ |
std::vector< std::vector< unsigned int > > | pileupOffsetsSource_ |
std::vector< const T * > | pileups_ |
std::vector< std::shared_ptr< edm::Wrapper< T > const > > | shPtrPileups2_ |
std::vector< std::shared_ptr< edm::Wrapper< std::vector< T > > const > > | shPtrPileups_ |
std::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > | shPtrPileupsPCF_ |
std::vector< const T * > | signals_ |
std::string | subdet_ |
CrossingFrame is the result of the Sim Mixing Module
Definition at line 37 of file CrossingFrame.h.
|
inline |
Definition at line 41 of file CrossingFrame.h.
CrossingFrame< T >::CrossingFrame | ( | int | minb, |
int | maxb, | ||
int | bunchsp, | ||
std::string | subdet, | ||
unsigned int | maxNbSources | ||
) |
Definition at line 180 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, mps_fire::i, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::maxNbSources_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileupOffsetsSource_.
|
inline |
Definition at line 44 of file CrossingFrame.h.
void CrossingFrame< T >::addPileups | ( | std::vector< T > const & | vec | ) |
void CrossingFrame< T >::addPileups | ( | T const & | product | ) |
Definition at line 280 of file CrossingFrame.h.
void CrossingFrame< T >::addSignals | ( | const std::vector< T > * | vec, |
edm::EventID | id | ||
) |
void CrossingFrame< T >::addSignals | ( | const T * | vec, |
edm::EventID | id | ||
) |
int CrossingFrame< T >::getBunchCrossing | ( | unsigned int | ip | ) | const |
Definition at line 243 of file CrossingFrame.h.
References cuy::ii.
|
inline |
Definition at line 79 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 80 of file CrossingFrame.h.
References CrossingFrame< T >::bunchSpace_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 78 of file CrossingFrame.h.
References CrossingFrame< T >::id_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 84 of file CrossingFrame.h.
References CrossingFrame< T >::idFirstPileup_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 81 of file CrossingFrame.h.
References CrossingFrame< T >::maxNbSources_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 100 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 101 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 99 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 113 of file CrossingFrame.h.
References Exception, CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::pileups_, and CrossingFrame< T >::signals_.
|
inline |
Definition at line 83 of file CrossingFrame.h.
References CrossingFrame< T >::pileupFileNr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 85 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 86 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 89 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by MixCollection< T >::MixItr::MixItr(), and PCrossingFrame< T >::PCrossingFrame().
void CrossingFrame< T >::getPileups | ( | typename std::vector< const T *>::const_iterator & | first, |
typename std::vector< const T *>::const_iterator & | last | ||
) | const |
|
inline |
Definition at line 90 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by MixCollection< T >::MixItr::MixItr(), and PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 92 of file CrossingFrame.h.
References first, dqmdumpme::last, and CrossingFrame< T >::signals_.
int CrossingFrame< T >::getSourceType | ( | unsigned int | ip | ) | const |
Definition at line 230 of file CrossingFrame.h.
References mps_fire::i.
|
inline |
Definition at line 82 of file CrossingFrame.h.
References CrossingFrame< T >::subdet_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 213 of file CrossingFrame.h.
References swap(), and groupFilesInBlocks::temp.
void CrossingFrame< T >::print | ( | int | level = 0 | ) | const |
Definition at line 227 of file CrossingFrame.h.
|
inline |
Definition at line 73 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 137 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 133 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
|
inline |
Definition at line 134 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
|
inline |
Definition at line 66 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups_.
|
inline |
Definition at line 67 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups2_.
void CrossingFrame< T >::setPileupPtr | ( | std::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > | shPtr | ) |
Definition at line 275 of file CrossingFrame.h.
|
inline |
Definition at line 127 of file CrossingFrame.h.
References AlCaHLTBitMon_ParallelJobs::p, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 75 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_, CrossingFrame< T >::pileups_, and alignCSCRings::s.
|
inline |
void CrossingFrame< T >::setTof | ( | ) |
Definition at line 311 of file CrossingFrame.h.
|
inline |
Definition at line 191 of file CrossingFrame.h.
References mps_fire::i, trackingPlots::other, and std::swap().
Referenced by swap().
|
private |
Definition at line 147 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getBunchSpace(), and CrossingFrame< T >::setBunchSpace().
|
private |
Definition at line 145 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), and CrossingFrame< T >::setBunchRange().
|
private |
Definition at line 149 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getEventID(), and CrossingFrame< T >::setEventID().
|
private |
Definition at line 152 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getIdFirstPileup(), and CrossingFrame< T >::setIdFirstPileup().
|
private |
Definition at line 146 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), and CrossingFrame< T >::setBunchRange().
|
private |
Definition at line 155 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getMaxNbSources(), and CrossingFrame< T >::setMaxNbSources().
|
private |
Definition at line 153 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getPileupFileNr(), and CrossingFrame< T >::setPileupFileNr().
|
private |
Definition at line 171 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getPileupOffsetsBcr(), CrossingFrame< T >::setBcrOffset(), and CrossingFrame< T >::setPileupOffsetsBcr().
|
private |
Definition at line 172 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getPileupOffsetsSource(), CrossingFrame< T >::setPileupOffsetsSource(), and CrossingFrame< T >::setSourceOffset().
|
private |
Definition at line 161 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getObject(), CrossingFrame< T >::getPileups(), CrossingFrame< T >::setBcrOffset(), CrossingFrame< T >::setPileups(), and CrossingFrame< T >::setSourceOffset().
|
private |
Definition at line 163 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr().
|
private |
Definition at line 162 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr().
|
private |
Definition at line 166 of file CrossingFrame.h.
|
private |
Definition at line 158 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::getObject(), and CrossingFrame< T >::getSignal().
|
private |
Definition at line 148 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getSubDet(), and CrossingFrame< T >::setSubDet().