#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 38 of file CrossingFrame.h.
|
inline |
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_.
|
inline |
Definition at line 45 of file CrossingFrame.h.
References CrossingFrame< T >::addPileups(), CrossingFrame< T >::addSignals(), CrossingFrame< T >::operator=(), trackingPlots::other, CrossingFrame< T >::setTof(), and CrossingFrame< T >::swap().
void CrossingFrame< T >::addPileups | ( | std::vector< T > const & | vec | ) |
Definition at line 288 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by CrossingFrame< T >::~CrossingFrame().
void CrossingFrame< T >::addPileups | ( | T const & | product | ) |
void CrossingFrame< T >::addSignals | ( | const std::vector< T > * | vec, |
edm::EventID | id | ||
) |
Definition at line 296 of file CrossingFrame.h.
References mps_fire::i, triggerObjects_cff::id, CrossingFrame< T >::id_, and CrossingFrame< T >::signals_.
Referenced by CrossingFrame< T >::~CrossingFrame().
void CrossingFrame< T >::addSignals | ( | const T * | vec, |
edm::EventID | id | ||
) |
Definition at line 305 of file CrossingFrame.h.
References triggerObjects_cff::id, CrossingFrame< T >::id_, and CrossingFrame< T >::signals_.
int CrossingFrame< T >::getBunchCrossing | ( | unsigned int | ip | ) | const |
Definition at line 244 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, cuy::ii, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
Referenced by CrossingFrame< T >::getNrPileups(), and CrossingFrame< T >::getSourceType().
|
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 >::getBunchCrossing(), CrossingFrame< T >::getSourceType(), 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 CrossingFrame< T >::getSignal(), 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 plotBeamSpotDB::first, CrossingFrame< T >::getPileups(), plotBeamSpotDB::last, and CrossingFrame< T >::signals_.
int CrossingFrame< T >::getSourceType | ( | unsigned int | ip | ) | const |
Definition at line 231 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, CrossingFrame< T >::getBunchCrossing(), mps_fire::i, and CrossingFrame< T >::pileupOffsetsSource_.
Referenced by CrossingFrame< T >::getNrPileups().
|
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 CrossingFrame< T >::swap(), and groupFilesInBlocks::temp.
Referenced by CrossingFrame< T >::~CrossingFrame().
void CrossingFrame< T >::print | ( | int | level = 0 | ) | const |
Definition at line 228 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr().
|
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_.
Referenced by CrossingFrame< T >::setPileupPtr().
|
inline |
Definition at line 68 of file CrossingFrame.h.
References hcalDigis_cfi::level, CrossingFrame< T >::print(), CrossingFrame< T >::setPileupPtr(), and CrossingFrame< T >::shPtrPileups2_.
void CrossingFrame< T >::setPileupPtr | ( | std::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > | shPtr | ) |
Definition at line 276 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileupsPCF_.
|
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.
Referenced by CrossingFrame< T >::~CrossingFrame().
|
inline |
Definition at line 192 of file CrossingFrame.h.
References CrossingFrame< T >::bunchSpace_, CrossingFrame< T >::firstCrossing_, mps_fire::i, CrossingFrame< T >::id_, CrossingFrame< T >::idFirstPileup_, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::maxNbSources_, CrossingFrame< T >::pileupFileNr_, CrossingFrame< T >::pileupOffsetsBcr_, CrossingFrame< T >::pileupOffsetsSource_, CrossingFrame< T >::pileups_, CrossingFrame< T >::shPtrPileups2_, CrossingFrame< T >::shPtrPileups_, CrossingFrame< T >::shPtrPileupsPCF_, CrossingFrame< T >::signals_, CrossingFrame< T >::subdet_, and std::swap().
Referenced by CrossingFrame< T >::operator=(), swap(), and CrossingFrame< T >::~CrossingFrame().
|
private |
Definition at line 148 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getBunchSpace(), CrossingFrame< T >::setBunchSpace(), and CrossingFrame< T >::swap().
|
private |
Definition at line 146 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchCrossing(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getSourceType(), CrossingFrame< T >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 150 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::addSignals(), CrossingFrame< T >::getEventID(), CrossingFrame< T >::setEventID(), and CrossingFrame< T >::swap().
|
private |
Definition at line 153 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getIdFirstPileup(), CrossingFrame< T >::setIdFirstPileup(), and CrossingFrame< T >::swap().
|
private |
Definition at line 147 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchCrossing(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 156 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getMaxNbSources(), CrossingFrame< T >::setMaxNbSources(), and CrossingFrame< T >::swap().
|
private |
Definition at line 154 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getPileupFileNr(), CrossingFrame< T >::setPileupFileNr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 172 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchCrossing(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getPileupOffsetsBcr(), CrossingFrame< T >::setBcrOffset(), CrossingFrame< T >::setPileupOffsetsBcr(), and CrossingFrame< T >::swap().
|
private |
|
private |
Definition at line 162 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::addPileups(), CrossingFrame< T >::getBunchCrossing(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getObject(), CrossingFrame< T >::getPileups(), CrossingFrame< T >::setBcrOffset(), CrossingFrame< T >::setPileups(), CrossingFrame< T >::setSourceOffset(), and CrossingFrame< T >::swap().
|
private |
Definition at line 164 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 163 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 167 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::setPileupPtr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 159 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::addSignals(), CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::getObject(), CrossingFrame< T >::getSignal(), and CrossingFrame< T >::swap().
|
private |
Definition at line 149 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getSubDet(), CrossingFrame< T >::setSubDet(), and CrossingFrame< T >::swap().