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 178 of file ntuplePrintersDiff.py.
References _commonHits().
Referenced by diffTrackListsFromSameTrackingParticle(), and diffTrackListsGeneric().
|
private |
Definition at line 371 of file ntuplePrintersDiff.py.
References str.
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 14 of file ntuplePrintersDiff.py.
Referenced by _areSameTracks(), and diffTrackListsGeneric().
|
private |
|
private |
Definition at line 619 of file ntuplePrintersDiff.py.
References join().
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), and ntuplePrintersDiff.TrackPrinter.diff().
|
private |
Definition at line 702 of file ntuplePrintersDiff.py.
References str.
Referenced by ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), and ntuplePrintersDiff.TrackingParticlePrinter.printHits().
|
private |
Definition at line 166 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 173 of file ntuplePrintersDiff.py.
References _makediff(), and EcalMonitorTask_cff.func.
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), ntuplePrintersDiff.TrackPrinter.diff(), ntuplePrintersDiff.TrackingParticlePrinter.diff(), and diffTrackListsFromSameTrackingParticle().
|
private |
Definition at line 33 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 201 of file ntuplePrintersDiff.py.
References _areSameTracks(), _makediff(), _mapdiff(), _matchTracksByHits(), and GetRecoTauVFromDQM_MC_cff.next.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks(), and diffTrackListsGeneric().
def ntuplePrintersDiff.diffTrackListsGeneric | ( | trackPrinter, | |
lst1, | |||
lst2, | |||
ignoreAdditionalLst2 = False |
|||
) |
Definition at line 551 of file ntuplePrintersDiff.py.
References _areSameTracks(), _associateTracksByTrackingParticlesAndHits(), _commonHits(), diffTrackListsFromSameTrackingParticle(), GetRecoTauVFromDQM_MC_cff.next, and alignCSCRings.r.