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 88 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::stubToTrackingParticleMap, TTStubAssociationMap< T >::theClusterAssociationMap, and TTStubAssociationMap< T >::trackingParticleToStubVectorMap.
TTStubAssociationMap< T >::~TTStubAssociationMap | ( | ) |
edm::Ptr< TrackingParticle > TTStubAssociationMap< T >::findTrackingParticlePtr | ( | edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > | aStub | ) | const |
Operations.
Default: return NULL
Definition at line 103 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::stubToTrackingParticleMap, and groupFilesInBlocks::temp.
Referenced by TTStubAssociationMap< T >::isGenuine(), and TTStubAssociationMap< T >::setTTClusterAssociationMap().
std::vector< edm::Ref< edmNew::DetSetVector< TTStub< T > >, TTStub< T > > > TTStubAssociationMap< T >::findTTStubRefs | ( | edm::Ptr< TrackingParticle > | aTrackingParticle | ) | const |
Definition at line 116 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::trackingParticleToStubVectorMap.
Referenced by TTStubAssociationMap< T >::setTTClusterAssociationMap().
|
inline |
Definition at line 51 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 141 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::isGenuine(), and TTStubAssociationMap< T >::isUnknown().
Referenced by TTStubAssociationMap< T >::setTTClusterAssociationMap().
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 131 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::findTrackingParticlePtr().
Referenced by TTStubAssociationMap< T >::isCombinatoric(), and TTStubAssociationMap< T >::setTTClusterAssociationMap().
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 154 of file TTStubAssociationMap.h.
References edm::RefProd< C >::isNull(), TTClusterAssociationMap< T >::isUnknown(), and TTStubAssociationMap< T >::theClusterAssociationMap.
Referenced by TTStubAssociationMap< T >::isCombinatoric(), and TTStubAssociationMap< T >::setTTClusterAssociationMap().
|
inline |
Definition at line 56 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::trackingParticleToStubVectorMap.
|
inline |
Definition at line 58 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::findTrackingParticlePtr(), TTStubAssociationMap< T >::findTTStubRefs(), TTStubAssociationMap< T >::isCombinatoric(), TTStubAssociationMap< T >::isGenuine(), TTStubAssociationMap< T >::isUnknown(), and TTStubAssociationMap< T >::theClusterAssociationMap.
|
inline |
Definition at line 54 of file TTStubAssociationMap.h.
References TTStubAssociationMap< T >::stubToTrackingParticleMap.
|
private |
Data members.
Definition at line 72 of file TTStubAssociationMap.h.
Referenced by TTStubAssociationMap< T >::findTrackingParticlePtr(), TTStubAssociationMap< T >::getTTStubToTrackingParticleMap(), TTStubAssociationMap< T >::setTTStubToTrackingParticleMap(), and TTStubAssociationMap< T >::TTStubAssociationMap().
|
private |
Definition at line 74 of file TTStubAssociationMap.h.
Referenced by TTStubAssociationMap< T >::isUnknown(), TTStubAssociationMap< T >::setTTClusterAssociationMap(), and TTStubAssociationMap< T >::TTStubAssociationMap().
|
private |