Classes | |
class | _DiffResult |
class | _IndentPrinter |
class | _RecHitPrinter |
class | _TrackAssociation |
class | _TrackingParticleMatchPrinter |
class | _TracksByHitsMatcher |
class | SeedPrinter |
class | TrackingParticlePrinter |
class | TrackPrinter |
Functions | |
def | _areSameTracks (trk1, trk2) |
def | _associateTracksByTrackingParticlesAndHits (lst1, lst2) |
def | _commonHits (trk1, trk2) |
def | _difflist (list1, list2) |
def | _formatHitDiffForTwiki (diffHits, prefix) |
def | _hitPatternSummary (hits) |
def | _makediff (list1, list2, equalPrefix=" ") |
def | _mapdiff (func, obj1, obj2) |
def | _matchTracksByHits (reftrk, trklist) |
def | diffTrackListsFromSameTrackingParticle (trackPrinter, lst1, lst2, lst1extra=[], lst2extra=[], diffByHitsOnly=False) |
def | diffTrackListsGeneric (trackPrinter, lst1, lst2, ignoreAdditionalLst2=False) |
|
private |
Definition at line 179 of file ntuplePrintersDiff.py.
References _commonHits().
Referenced by diffTrackListsFromSameTrackingParticle(), and diffTrackListsGeneric().
|
private |
Definition at line 372 of file ntuplePrintersDiff.py.
Referenced by diffTrackListsGeneric().
|
private |
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.
Definition at line 15 of file ntuplePrintersDiff.py.
Referenced by _areSameTracks(), and diffTrackListsGeneric().
|
private |
Definition at line 160 of file ntuplePrintersDiff.py.
References list().
Referenced by _makediff().
|
private |
Definition at line 620 of file ntuplePrintersDiff.py.
References join().
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), and ntuplePrintersDiff.TrackPrinter.diff().
|
private |
Definition at line 703 of file ntuplePrintersDiff.py.
References str.
Referenced by ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), and ntuplePrintersDiff.TrackingParticlePrinter.printHits().
|
private |
Definition at line 167 of file ntuplePrintersDiff.py.
References _difflist().
Referenced by _mapdiff(), ntuplePrintersDiff.SeedPrinter.diff(), ntuplePrintersDiff.TrackPrinter.diff(), ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds(), ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks(), and diffTrackListsFromSameTrackingParticle().
|
private |
Definition at line 174 of file ntuplePrintersDiff.py.
References _makediff(), and jets_cff.func.
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), ntuplePrintersDiff.TrackPrinter.diff(), ntuplePrintersDiff.TrackingParticlePrinter.diff(), and diffTrackListsFromSameTrackingParticle().
|
private |
Definition at line 34 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds(), and diffTrackListsFromSameTrackingParticle().
def ntuplePrintersDiff.diffTrackListsFromSameTrackingParticle | ( | trackPrinter, | |
lst1, | |||
lst2, | |||
lst1extra = [] , |
|||
lst2extra = [] , |
|||
diffByHitsOnly = False |
|||
) |
lst1 and lst2 are the main lists to make the diff from. lst1extra and lst2extra are optional to provide suplementary tracks. Use case: lst1 and lst2 are subset of full tracks, lst1extra and lst2extra contain tracks matched to the same TrackingParticle but are outside of the selection of lst1/lst2.
Definition at line 202 of file ntuplePrintersDiff.py.
References _areSameTracks(), _makediff(), _mapdiff(), _matchTracksByHits(), list(), and GetRecoTauVFromDQM_MC_cff.next.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks(), and diffTrackListsGeneric().
def ntuplePrintersDiff.diffTrackListsGeneric | ( | trackPrinter, | |
lst1, | |||
lst2, | |||
ignoreAdditionalLst2 = False |
|||
) |
Definition at line 552 of file ntuplePrintersDiff.py.
References _areSameTracks(), _associateTracksByTrackingParticlesAndHits(), _commonHits(), diffTrackListsFromSameTrackingParticle(), list(), GetRecoTauVFromDQM_MC_cff.next, and alignCSCRings.r.