Class to associate reconstrucable TrackingParticles with TTStubs and vice versa. It may associate multiple TPs with a TTStub and can therefore be used to associate TTTracks with TrackingParticles. More...
#include <StubAssociation.h>
Public Member Functions | |
std::vector< TPPtr > | associate (const std::vector< TTStubRef > &ttStubRefs) const |
std::vector< TPPtr > | associateFinal (const std::vector< TTStubRef > &ttStubRefs) const |
std::vector< TPPtr > | findTrackingParticlePtrs (const TTStubRef &ttStubRef) const |
std::vector< TTStubRef > | findTTStubRefs (const TPPtr &tpPtr) const |
const std::map< TPPtr, std::vector< TTStubRef > > & | getTrackingParticleToTTStubsMap () const |
const std::map< TTStubRef, std::vector< TPPtr > > & | getTTStubToTrackingParticlesMap () const |
void | insert (const TPPtr &tpPtr, const std::vector< TTStubRef > &ttSTubRefs) |
int | numStubs () const |
int | numTPs () const |
StubAssociation () | |
StubAssociation (const Setup *setup) | |
~StubAssociation () | |
Private Attributes | |
const std::vector< TPPtr > | emptyTPPtrs_ |
const std::vector< TTStubRef > | emptyTTStubRefs_ |
std::map< TPPtr, std::vector< TTStubRef > > | mapTPPtrsTTStubRefs_ |
std::map< TTStubRef, std::vector< TPPtr > > | mapTTStubRefsTPPtrs_ |
const Setup * | setup_ |
Class to associate reconstrucable TrackingParticles with TTStubs and vice versa. It may associate multiple TPs with a TTStub and can therefore be used to associate TTTracks with TrackingParticles.
Definition at line 19 of file StubAssociation.h.
|
inline |
|
inline |
Definition at line 22 of file StubAssociation.h.
|
inline |
Definition at line 23 of file StubAssociation.h.
Definition at line 33 of file StubAssociation.cc.
References edm::eventsetup::heterocontainer::insert(), createfilelist::int, visualization-live-secondInstance_cfg::m, and AlCaHLTBitMon_ParallelJobs::p.
std::vector< TPPtr > tt::StubAssociation::associateFinal | ( | const std::vector< TTStubRef > & | ttStubRefs | ) | const |
Definition at line 60 of file StubAssociation.cc.
References RPCNoise_example::check, and spr::find().
Definition at line 20 of file StubAssociation.cc.
Definition at line 27 of file StubAssociation.cc.
|
inline |
Definition at line 32 of file StubAssociation.h.
References mapTPPtrsTTStubRefs_.
|
inline |
Definition at line 28 of file StubAssociation.h.
References mapTTStubRefsTPPtrs_.
void tt::StubAssociation::insert | ( | const TPPtr & | tpPtr, |
const std::vector< TTStubRef > & | ttSTubRefs | ||
) |
Definition at line 13 of file StubAssociation.cc.
Referenced by tt::StubAssociator::produce().
|
inline |
Definition at line 40 of file StubAssociation.h.
References mapTTStubRefsTPPtrs_.
|
inline |
Definition at line 42 of file StubAssociation.h.
References mapTPPtrsTTStubRefs_.
|
private |
Definition at line 56 of file StubAssociation.h.
|
private |
Definition at line 58 of file StubAssociation.h.
Definition at line 54 of file StubAssociation.h.
Referenced by getTrackingParticleToTTStubsMap(), and numTPs().
Definition at line 52 of file StubAssociation.h.
Referenced by getTTStubToTrackingParticlesMap(), and numStubs().
|
private |
Definition at line 50 of file StubAssociation.h.
Referenced by upgradeWorkflowComponents.UpgradeWorkflow::setup(), and StubAssociation().