NOTE: this is needed even if it seems not. More...
#include <TTTrackAssociationMap.h>
Private Attributes | |
bool | AllowOneFalse2SStub |
edm::RefProd< TTStubAssociationMap< T > > | theStubAssociationMap |
std::map< edm::Ptr< TrackingParticle >, std::vector< edm::Ptr< TTTrack< T > > > > | trackingParticleToTrackVectorMap |
std::map< edm::Ptr< TTTrack< T > >, edm::Ptr< TrackingParticle > > | trackToTrackingParticleMap |
Data members. More... | |
NOTE: this is needed even if it seems not.
Class to store the MC truth of L1 Track Trigger tracks.
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 34 of file TTTrackAssociationMap.h.
TTTrackAssociationMap< T >::TTTrackAssociationMap | ( | ) |
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 97 of file TTTrackAssociationMap.h.
TTTrackAssociationMap< T >::~TTTrackAssociationMap | ( | ) |
edm::Ptr< TrackingParticle > TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::findTrackingParticlePtr | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
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. Operations
Default: return NULL
Definition at line 12 of file TTTrackAssociationMap.cc.
References groupFilesInBlocks::temp.
edm::Ptr< TrackingParticle > TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::findTrackingParticlePtr | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
Operations.
edm::Ptr<TrackingParticle> TTTrackAssociationMap< T >::findTrackingParticlePtr | ( | edm::Ptr< TTTrack< T > > | aTrack | ) | const |
Operations.
std::vector< edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > > TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::findTTTrackPtrs | ( | edm::Ptr< TrackingParticle > | aTrackingParticle | ) | const |
Default: return empty vector
Definition at line 24 of file TTTrackAssociationMap.cc.
std::vector<edm::Ptr<TTTrack<T> > > TTTrackAssociationMap< T >::findTTTrackPtrs | ( | edm::Ptr< TrackingParticle > | aTrackingParticle | ) | const |
std::vector< edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > > TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::findTTTrackPtrs | ( | edm::Ptr< TrackingParticle > | aTrackingParticle | ) | const |
bool TTTrackAssociationMap< T >::getAllowOneFalse2SStub | ( | ) |
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::getAllowOneFalse2SStub | ( | ) |
Definition at line 117 of file TTTrackAssociationMap.cc.
|
inline |
Definition at line 49 of file TTTrackAssociationMap.h.
References TTTrackAssociationMap< T >::trackingParticleToTrackVectorMap.
|
inline |
Maps.
Data members: getABC( ... ) Helper methods: findABC( ... )
Definition at line 46 of file TTTrackAssociationMap.h.
References TTTrackAssociationMap< T >::trackToTrackingParticleMap.
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isCombinatoric | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isCombinatoric | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
bool TTTrackAssociationMap< T >::isCombinatoric | ( | edm::Ptr< TTTrack< T > > | aTrack | ) | const |
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isGenuine | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
MC truth.
Check if there is a TrackingParticle
Get all the stubs from this TrackingParticle
We want that all the stubs of the track are included in the container of all the stubs produced by this particular TrackingParticle which we already know is one of the TrackingParticles that released hits in this track we are evaluating right now Now modifying to allow one and only one false 2S stub in the track idr 06/19
Definition at line 49 of file TTTrackAssociationMap.cc.
References spr::find().
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isGenuine | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
MC truth.
bool TTTrackAssociationMap< T >::isGenuine | ( | edm::Ptr< TTTrack< T > > | aTrack | ) | const |
MC Truth methods.
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isLooselyGenuine | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
MC truth.
Check if there is a TrackingParticle
Definition at line 38 of file TTTrackAssociationMap.cc.
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isLooselyGenuine | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
MC truth.
bool TTTrackAssociationMap< T >::isLooselyGenuine | ( | edm::Ptr< TTTrack< T > > | aTrack | ) | const |
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isUnknown | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
UNKNOWN means that more than 2 stubs are unknown
Definition at line 94 of file TTTrackAssociationMap.cc.
References mps_fire::i.
bool TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::isUnknown | ( | edm::Ptr< TTTrack< Ref_Phase2TrackerDigi_ > > | aTrack | ) | const |
bool TTTrackAssociationMap< T >::isUnknown | ( | edm::Ptr< TTTrack< T > > | aTrack | ) | const |
void TTTrackAssociationMap< T >::setAllowOneFalse2SStub | ( | bool | allowFalse2SStub | ) |
void TTTrackAssociationMap< Ref_Phase2TrackerDigi_ >::setAllowOneFalse2SStub | ( | bool | allowFalse2SStub | ) |
Definition at line 112 of file TTTrackAssociationMap.cc.
|
inline |
Definition at line 56 of file TTTrackAssociationMap.h.
References TTTrackAssociationMap< T >::trackingParticleToTrackVectorMap.
|
inline |
Definition at line 60 of file TTTrackAssociationMap.h.
References TTTrackAssociationMap< T >::theStubAssociationMap.
|
inline |
Definition at line 53 of file TTTrackAssociationMap.h.
References TTTrackAssociationMap< T >::trackToTrackingParticleMap.
|
private |
Definition at line 83 of file TTTrackAssociationMap.h.
|
private |
Definition at line 81 of file TTTrackAssociationMap.h.
Referenced by TTTrackAssociationMap< T >::setTTStubAssociationMap().
|
private |
Definition at line 80 of file TTTrackAssociationMap.h.
Referenced by TTTrackAssociationMap< T >::getTrackingParticleToTTTracksMap(), and TTTrackAssociationMap< T >::setTrackingParticleToTTTracksMap().
|
private |
Data members.
Definition at line 79 of file TTTrackAssociationMap.h.
Referenced by TTTrackAssociationMap< T >::getTTTrackToTrackingParticleMap(), and TTTrackAssociationMap< T >::setTTTrackToTrackingParticleMap().