NOTE: this is needed even if it seems not. More...
#include <TTStubAssociationMap.h>
Private Attributes | |
std::map< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > >, edm::Ptr< TrackingParticle > > | stubToTrackingParticleMap |
Data members. More... | |
edm::RefProd< TTClusterAssociationMap< T > > | theClusterAssociationMap |
std::map< edm::Ptr< TrackingParticle >, std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > > | trackingParticleToStubVectorMap |
NOTE: this is needed even if it seems not.
Class to store the MC truth of L1 Track Trigger stubs.
After moving from SimDataFormats to DataFormats, the template structure of the class was maintained in order to accomodate any types other than PixelDigis in case there is such a need in the future.
Definition at line 36 of file TTStubAssociationMap.h.
TTStubAssociationMap< T >::TTStubAssociationMap | ( | ) |
Constructors.
Close class.
Implementation of methods
Here, in the header file, the methods which do not depend on the specific type <T> that can fit the template. Other methods, with type-specific features, are implemented in the source file. Default Constructor NOTE: to be used with setSomething(...) methods
Set default data members
Definition at line 99 of file TTStubAssociationMap.h.
TTStubAssociationMap< T >::~TTStubAssociationMap | ( | ) |
edm::Ptr< TrackingParticle > TTStubAssociationMap< T >::findTrackingParticlePtr | ( | edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > | aStub | ) | const |
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > TTStubAssociationMap< T >::findTTStubRefs | ( | edm::Ptr< TrackingParticle > | aTrackingParticle | ) | const |
Definition at line 125 of file TTStubAssociationMap.h.
|
inline |
Definition at line 53 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::trackingParticleToStubVectorMap.
|
inline |
Maps.
Data members: getABC( ... ) Helper methods: findABC( ... )
Definition at line 49 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::stubToTrackingParticleMap.
bool TTStubAssociationMap< T >::isCombinatoric | ( | edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > | aStub | ) | const |
Defined by exclusion
Definition at line 147 of file TTStubAssociationMap.h.
bool TTStubAssociationMap< T >::isGenuine | ( | edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > | aStub | ) | const |
MC Truth methods.
MC truth.
Check if there is a SimTrack
Definition at line 138 of file TTStubAssociationMap.h.
bool TTStubAssociationMap< T >::isUnknown | ( | edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > | aStub | ) | const |
UNKNOWN means that both clusters are unknown
Sanity check
Definition at line 159 of file TTStubAssociationMap.h.
|
inline |
Definition at line 61 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::trackingParticleToStubVectorMap.
|
inline |
Definition at line 65 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::theClusterAssociationMap.
|
inline |
Definition at line 57 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::stubToTrackingParticleMap.
|
private |
Data members.
Definition at line 82 of file TTStubAssociationMap.h.
Referenced by TTStubAssociationMap< T >::getTTStubToTrackingParticleMap(), and TTStubAssociationMap< T >::setTTStubToTrackingParticleMap().
|
private |
Definition at line 85 of file TTStubAssociationMap.h.
Referenced by TTStubAssociationMap< T >::setTTClusterAssociationMap().
|
private |
Definition at line 84 of file TTStubAssociationMap.h.
Referenced by TTStubAssociationMap< T >::getTrackingParticleToTTStubsMap(), and TTStubAssociationMap< T >::setTrackingParticleToTTStubsMap().