#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) | |
CrossingFrame (const CrossingFrame &v)=default | |
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 181 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, mps_fire::i, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::maxNbSources_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileupOffsetsSource_.
|
default |
|
inline |
Definition at line 45 of file CrossingFrame.h.
void CrossingFrame< T >::addPileups | ( | std::vector< T > const & | vec | ) |
void CrossingFrame< T >::addPileups | ( | T const & | product | ) |
Definition at line 281 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 244 of file CrossingFrame.h.
References cuy::ii.
|
inline |
Definition at line 80 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 81 of file CrossingFrame.h.
References CrossingFrame< T >::bunchSpace_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 79 of file CrossingFrame.h.
References CrossingFrame< T >::id_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 85 of file CrossingFrame.h.
References CrossingFrame< T >::idFirstPileup_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 82 of file CrossingFrame.h.
References CrossingFrame< T >::maxNbSources_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 101 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 102 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 100 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 114 of file CrossingFrame.h.
References Exception, CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::pileups_, and CrossingFrame< T >::signals_.
|
inline |
Definition at line 84 of file CrossingFrame.h.
References CrossingFrame< T >::pileupFileNr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 86 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 87 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 90 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 91 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by MixCollection< T >::MixItr::MixItr(), and PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 93 of file CrossingFrame.h.
References dqmdumpme::first, dqmdumpme::last, and CrossingFrame< T >::signals_.
int CrossingFrame< T >::getSourceType | ( | unsigned int | ip | ) | const |
Definition at line 231 of file CrossingFrame.h.
References mps_fire::i.
|
inline |
Definition at line 83 of file CrossingFrame.h.
References CrossingFrame< T >::subdet_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 214 of file CrossingFrame.h.
References swap(), and groupFilesInBlocks::temp.
void CrossingFrame< T >::print | ( | int | level = 0 | ) | const |
Definition at line 228 of file CrossingFrame.h.
|
inline |
Definition at line 74 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 138 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 134 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
|
inline |
Definition at line 135 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
|
inline |
Definition at line 67 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups_.
|
inline |
Definition at line 68 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups2_.
void CrossingFrame< T >::setPileupPtr | ( | std::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > | shPtr | ) |
Definition at line 276 of file CrossingFrame.h.
|
inline |
Definition at line 128 of file CrossingFrame.h.
References AlCaHLTBitMon_ParallelJobs::p, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 76 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_, CrossingFrame< T >::pileups_, and alignCSCRings::s.
|
inline |
void CrossingFrame< T >::setTof | ( | ) |
Definition at line 312 of file CrossingFrame.h.
|
inline |
Definition at line 192 of file CrossingFrame.h.
References mps_fire::i, trackingPlots::other, and swap().
Referenced by swap().
|
private |
Definition at line 148 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getBunchSpace(), and CrossingFrame< T >::setBunchSpace().
|
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 150 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getEventID(), and CrossingFrame< T >::setEventID().
|
private |
Definition at line 153 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getIdFirstPileup(), and CrossingFrame< T >::setIdFirstPileup().
|
private |
Definition at line 147 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), and CrossingFrame< T >::setBunchRange().
|
private |
Definition at line 156 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getMaxNbSources(), and CrossingFrame< T >::setMaxNbSources().
|
private |
Definition at line 154 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getPileupFileNr(), and CrossingFrame< T >::setPileupFileNr().
|
private |
Definition at line 172 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 173 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getPileupOffsetsSource(), CrossingFrame< T >::setPileupOffsetsSource(), and CrossingFrame< T >::setSourceOffset().
|
private |
Definition at line 162 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 164 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr().
|
private |
Definition at line 163 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr().
|
private |
Definition at line 167 of file CrossingFrame.h.
|
private |
Definition at line 159 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::getObject(), and CrossingFrame< T >::getSignal().
|
private |
Definition at line 149 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getSubDet(), and CrossingFrame< T >::setSubDet().