#include <CrossingFrame.h>
Public Member Functions | |
template<> | |
void | addPileups (const int bcr, std::vector< SimTrack > *simtracks, unsigned int evtNr, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< SimVertex > *simvertices, unsigned int evtNr, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< PSimHit > *simhits, unsigned int evtNr, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< PCaloHit > *calohits, unsigned int evtNr, int vertexoffset) |
void | addPileups (const int bcr, std::vector< T > *vec, unsigned int evtId, int vertexoffset=0) |
void | addPileups (const int bcr, T *product, unsigned int evtId, int vertexoffset=0) |
template<> | |
void | addPileups (const int bcr, std::vector< SimTrack > *, unsigned int evtId, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< SimVertex > *, unsigned int evtId, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< PSimHit > *, unsigned int evtId, int vertexoffset) |
template<> | |
void | addPileups (const int bcr, std::vector< PCaloHit > *, unsigned int evtId, int vertexoffset) |
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 (std::vector< unsigned int > pOffsetsBcr) |
void | setPileupOffsetsSource (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 (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< SimTrack >::addPileups | ( | const int | bcr, |
std::vector< SimTrack > * | simtracks, | ||
unsigned int | evtNr, | ||
int | vertexoffset | ||
) |
void CrossingFrame< SimVertex >::addPileups | ( | const int | bcr, |
std::vector< SimVertex > * | simvertices, | ||
unsigned int | evtNr, | ||
int | vertexoffset | ||
) |
Definition at line 20 of file CrossingFrame.cc.
References i, position, and lumiQTWidget::t.
void CrossingFrame< PSimHit >::addPileups | ( | const int | bcr, |
std::vector< PSimHit > * | simhits, | ||
unsigned int | evtNr, | ||
int | vertexoffset | ||
) |
Definition at line 31 of file CrossingFrame.cc.
References i, and spr::timeOfFlight().
void CrossingFrame< PCaloHit >::addPileups | ( | const int | bcr, |
std::vector< PCaloHit > * | calohits, | ||
unsigned int | evtNr, | ||
int | vertexoffset | ||
) |
Definition at line 43 of file CrossingFrame.cc.
References i, and cond::rpcobgas::time.
void CrossingFrame< T >::addPileups | ( | const int | bcr, |
std::vector< T > * | vec, | ||
unsigned int | evtId, | ||
int | vertexoffset = 0 |
||
) |
Definition at line 292 of file CrossingFrame.h.
void CrossingFrame< T >::addPileups | ( | const int | bcr, |
T * | product, | ||
unsigned int | evtId, | ||
int | vertexoffset = 0 |
||
) |
Definition at line 286 of file CrossingFrame.h.
void CrossingFrame< SimTrack >::addPileups | ( | const int | bcr, |
std::vector< SimTrack > * | , | ||
unsigned int | evtId, | ||
int | vertexoffset | ||
) |
void CrossingFrame< SimVertex >::addPileups | ( | const int | bcr, |
std::vector< SimVertex > * | , | ||
unsigned int | evtId, | ||
int | vertexoffset | ||
) |
void CrossingFrame< PSimHit >::addPileups | ( | const int | bcr, |
std::vector< PSimHit > * | , | ||
unsigned int | evtId, | ||
int | vertexoffset | ||
) |
void CrossingFrame< PCaloHit >::addPileups | ( | const int | bcr, |
std::vector< PCaloHit > * | , | ||
unsigned int | evtId, | ||
int | vertexoffset | ||
) |
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 320 of file CrossingFrame.h.
int CrossingFrame< T >::getBunchCrossing | ( | unsigned int | ip | ) | const |
Definition at line 249 of file CrossingFrame.h.
References cuy::ii.
|
inline |
Definition at line 88 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 89 of file CrossingFrame.h.
References CrossingFrame< T >::bunchSpace_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 87 of file CrossingFrame.h.
References CrossingFrame< T >::id_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 93 of file CrossingFrame.h.
References CrossingFrame< T >::idFirstPileup_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 90 of file CrossingFrame.h.
References CrossingFrame< T >::maxNbSources_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 106 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 107 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, CrossingFrame< T >::lastCrossing_, CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 105 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by CrossingFrame< T >::getObject().
|
inline |
Definition at line 117 of file CrossingFrame.h.
References edm::hlt::Exception, CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getNrSignals(), CrossingFrame< T >::pileups_, and CrossingFrame< T >::signals_.
|
inline |
Definition at line 92 of file CrossingFrame.h.
References CrossingFrame< T >::pileupFileNr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 94 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 95 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
Definition at line 96 of file CrossingFrame.h.
References CrossingFrame< T >::pileups_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
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 |
Definition at line 97 of file CrossingFrame.h.
References CrossingFrame< T >::signals_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
inline |
int CrossingFrame< T >::getSourceType | ( | unsigned int | ip | ) | const |
Definition at line 237 of file CrossingFrame.h.
References i.
|
inline |
Definition at line 91 of file CrossingFrame.h.
References CrossingFrame< T >::subdet_.
Referenced by PCrossingFrame< T >::PCrossingFrame().
|
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.
References CrossingFrame< T >::pileupOffsetsBcr_, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 139 of file CrossingFrame.h.
References CrossingFrame< T >::firstCrossing_, and CrossingFrame< T >::lastCrossing_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 137 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsBcr_.
|
inline |
Definition at line 138 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_.
|
inline |
Definition at line 71 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups_.
|
inline |
Definition at line 72 of file CrossingFrame.h.
References CrossingFrame< T >::shPtrPileups2_.
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.
References AlCaHLTBitMon_ParallelJobs::p, and CrossingFrame< T >::pileups_.
|
inline |
Definition at line 82 of file CrossingFrame.h.
References CrossingFrame< T >::pileupOffsetsSource_, CrossingFrame< T >::pileups_, and alignCSCRings::s.
|
inline |
void CrossingFrame< T >::setTof | ( | ) |
Definition at line 327 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< T >::getBunchSpace(), CrossingFrame< T >::setBunchSpace(), and CrossingFrame< T >::swap().
|
private |
Definition at line 145 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 149 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getEventID(), CrossingFrame< T >::setEventID(), and CrossingFrame< T >::swap().
|
private |
Definition at line 152 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getIdFirstPileup(), CrossingFrame< T >::setIdFirstPileup(), and CrossingFrame< T >::swap().
|
private |
Definition at line 146 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getBunchRange(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::setBunchRange(), and CrossingFrame< T >::swap().
|
private |
Definition at line 155 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getMaxNbSources(), CrossingFrame< T >::setMaxNbSources(), and CrossingFrame< T >::swap().
|
private |
Definition at line 153 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getPileupFileNr(), CrossingFrame< T >::setPileupFileNr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 171 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getNrPileups(), CrossingFrame< T >::getPileupOffsetsBcr(), CrossingFrame< T >::setBcrOffset(), CrossingFrame< T >::setPileupOffsetsBcr(), and CrossingFrame< T >::swap().
|
private |
Definition at line 172 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::CrossingFrame(), CrossingFrame< T >::getPileupOffsetsSource(), CrossingFrame< T >::setPileupOffsetsSource(), CrossingFrame< T >::setSourceOffset(), and CrossingFrame< T >::swap().
|
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(), CrossingFrame< T >::setSourceOffset(), 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 162 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::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< T >::getNrSignals(), CrossingFrame< T >::getObject(), CrossingFrame< T >::getSignal(), and CrossingFrame< T >::swap().
|
private |
Definition at line 148 of file CrossingFrame.h.
Referenced by CrossingFrame< T >::getSubDet(), CrossingFrame< T >::setSubDet(), and CrossingFrame< T >::swap().