Belle II Software development
|
Functor which which decides which of two tracks to declare as best match. More...
#include <CDCMCCloneLookUp.h>
Public Member Functions | |
operator FunctorTag () | |
marker function for the isFunctor test | |
CompareCDCTracks (const CDCMCTrackLookUp &cdcMCTrackLookUp, const CDCMCHitLookUp &cdcMCHitLookUp) | |
Constructor of the CDC track comparer to get the better match, taking references to MC lookup singletons. | |
bool | operator() (const CDCTrack *ptrCDCTrack1, const CDCTrack *ptrCDCTrack2) const |
Compare both CDC tracks to get the better matched one. | |
Private Member Functions | |
unsigned int | getNumberOfCorrectHits (const CDCTrack *ptrCDCTrack) const |
Get number of hits in track that are correctly matched. | |
Private Attributes | |
const CDCMCTrackLookUp & | m_CDCMCTrackLookUp |
Reference to a CDCMCTrackLookUp instance, assigned in the constructor of this functor. | |
const CDCMCHitLookUp & | m_CDCMCHitLookUp |
Reference to a CDCMCHitLookUp instance, assigned in the constructor of this functor. | |
Functor which which decides which of two tracks to declare as best match.
Definition at line 76 of file CDCMCCloneLookUp.h.
|
inline |
Constructor of the CDC track comparer to get the better match, taking references to MC lookup singletons.
Definition at line 82 of file CDCMCCloneLookUp.h.
|
private |
Get number of hits in track that are correctly matched.
Definition at line 45 of file CDCMCCloneLookUp.cc.
Compare both CDC tracks to get the better matched one.
Functor definition of comparison function for findBestMatchedTrack.
Returns true if track1 has a lower loop number at the first hit than track1. If both tracks have the same loop number, return true if track1 has larger number of matched hits.
Definition at line 55 of file CDCMCCloneLookUp.cc.
|
private |
Reference to a CDCMCHitLookUp instance, assigned in the constructor of this functor.
Definition at line 102 of file CDCMCCloneLookUp.h.
|
private |
Reference to a CDCMCTrackLookUp instance, assigned in the constructor of this functor.
Definition at line 100 of file CDCMCCloneLookUp.h.