MCPcopy Create free account
hub / github.com/cms-sw/cmssw / _commonHits

Function _commonHits

Validation/RecoTrack/python/plotting/ntuplePrintersDiff.py:14–31  ·  view source on GitHub ↗

Returns the number of common hits in trk1 and trk2. Matching is done via the hit type and index, so effectively the matching is done by clusters. Invalid hits are ignored.

(trk1, trk2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_areSameTracksFunction · 0.85
diffTrackListsGenericFunction · 0.85

Calls 6

setFunction · 0.50
typeFunction · 0.50
hitsMethod · 0.45
isValidHitMethod · 0.45
addMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected