#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 |
std::vector< unsigned int > | getPileupOffsetsBcr () const |
std::vector< std::vector < unsigned int > > | getPileupOffsetsSource () 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 |
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 (boost::shared_ptr< edm::Wrapper< std::vector< T > > const > shPtr) |
void | setPileupPtr (boost::shared_ptr< edm::Wrapper< T > const > shPtr) |
void | setPileupPtr (boost::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< boost::shared_ptr < edm::Wrapper< T > const > > | shPtrPileups2_ |
std::vector< boost::shared_ptr < edm::Wrapper< std::vector< T > > const > > | shPtrPileups_ |
boost::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 39 of file CrossingFrame.h.
|
inline |
Definition at line 45 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_, i, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::maxNbSources_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileupOffsetsSource_.
|
inline |
Definition at line 49 of file CrossingFrame.h.
void CrossingFrame< T >::addPileups | ( | std::vector< T > const & | vec | ) |
Definition at line 292 of file CrossingFrame.h.
void CrossingFrame< T >::addPileups | ( | T const & | product | ) |
Definition at line 285 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 | ||
) |
Definition at line 309 of file CrossingFrame.h.
int CrossingFrame< T >::getBunchCrossing | ( | unsigned int | ip | ) | const |
Definition at line 249 of file CrossingFrame.h.
References cuy::ii.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 106 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getObject().
|
inline |
Definition at line 107 of file CrossingFrame.h.
|
inline |
Definition at line 105 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getObject().
|
inline |
Definition at line 117 of file CrossingFrame.h.
|
inline |
|
inline |
Definition at line 94 of file CrossingFrame.h.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 95 of file CrossingFrame.h.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
void CrossingFrame< T >::getPileups | ( | typename std::vector< const T * >::const_iterator & | first, |
typename std::vector< const T * >::const_iterator & | last | ||
) | const |
Definition at line 227 of file CrossingFrame.h.
|
inline |
|
inline |
Definition at line 100 of file CrossingFrame.h.
int CrossingFrame< T >::getSourceType | ( | unsigned int | ip | ) | const |
Definition at line 237 of file CrossingFrame.h.
References i.
|
inline |
|
inline |
Definition at line 219 of file CrossingFrame.h.
References swap(), and groupFilesInBlocks::temp.
void CrossingFrame< T >::print | ( | int | level = 0 | ) | const |
Definition at line 233 of file CrossingFrame.h.
|
inline |
Definition at line 78 of file CrossingFrame.h.
|
inline |
Definition at line 139 of file CrossingFrame.h.
|
inline |
Definition at line 132 of file CrossingFrame.h.
|
inline |
Definition at line 130 of file CrossingFrame.h.
|
inline |
Definition at line 136 of file CrossingFrame.h.
|
inline |
Definition at line 133 of file CrossingFrame.h.
|
inline |
Definition at line 135 of file CrossingFrame.h.
|
inline |
Definition at line 137 of file CrossingFrame.h.
|
inline |
Definition at line 138 of file CrossingFrame.h.
|
inline |
Definition at line 71 of file CrossingFrame.h.
|
inline |
Definition at line 72 of file CrossingFrame.h.
void CrossingFrame< T >::setPileupPtr | ( | boost::shared_ptr< edm::Wrapper< PCrossingFrame< T > > const > | shPtr | ) |
Definition at line 281 of file CrossingFrame.h.
|
inline |
Definition at line 131 of file CrossingFrame.h.
|
inline |
Definition at line 82 of file CrossingFrame.h.
|
inline |
Definition at line 134 of file CrossingFrame.h.
void CrossingFrame< T >::setTof | ( | ) |
Definition at line 316 of file CrossingFrame.h.
|
inline |
Definition at line 195 of file CrossingFrame.h.
References CrossingFrame< T >::bunchSpace_, CrossingFrame< T >::firstCrossing_, 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 swap().
|
private |
Definition at line 147 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getBunchSpace(), CrossingFrame< PCaloHit >::setBunchSpace(), and CrossingFrame< T >::swap().
|
private |
Definition at line 145 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< PCaloHit >::getBunchRange(), CrossingFrame< PCaloHit >::getNrPileups(), CrossingFrame< PCaloHit >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 149 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getEventID(), CrossingFrame< PCaloHit >::setEventID(), and CrossingFrame< T >::swap().
|
private |
Definition at line 152 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getIdFirstPileup(), CrossingFrame< PCaloHit >::setIdFirstPileup(), and CrossingFrame< T >::swap().
|
private |
Definition at line 146 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< PCaloHit >::getBunchRange(), CrossingFrame< PCaloHit >::getNrPileups(), CrossingFrame< PCaloHit >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 155 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< PCaloHit >::getMaxNbSources(), CrossingFrame< PCaloHit >::setMaxNbSources(), and CrossingFrame< T >::swap().
|
private |
Definition at line 153 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getPileupFileNr(), CrossingFrame< PCaloHit >::setPileupFileNr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 171 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< PCaloHit >::getNrPileups(), CrossingFrame< PCaloHit >::getPileupOffsetsBcr(), CrossingFrame< PCaloHit >::setBcrOffset(), CrossingFrame< PCaloHit >::setPileupOffsetsBcr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 172 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< PCaloHit >::getPileupOffsetsSource(), CrossingFrame< PCaloHit >::setPileupOffsetsSource(), CrossingFrame< PCaloHit >::setSourceOffset(), and CrossingFrame< T >::swap().
|
private |
Definition at line 161 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getNrPileups(), CrossingFrame< PCaloHit >::getObject(), CrossingFrame< PCaloHit >::getPileups(), CrossingFrame< PCaloHit >::setBcrOffset(), CrossingFrame< PCaloHit >::setPileups(), CrossingFrame< PCaloHit >::setSourceOffset(), and CrossingFrame< T >::swap().
|
private |
Definition at line 163 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::setPileupPtr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 162 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::setPileupPtr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 166 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::swap().
|
private |
Definition at line 158 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getNrSignals(), CrossingFrame< PCaloHit >::getObject(), CrossingFrame< PCaloHit >::getSignal(), and CrossingFrame< T >::swap().
|
private |
Definition at line 148 of file CrossingFrame.h.
Referenced by CrossingFrame< PCaloHit >::getSubDet(), CrossingFrame< PCaloHit >::setSubDet(), and CrossingFrame< T >::swap().