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 177 of file ntuplePrintersDiff.py.
References _commonHits(), and diffTreeTool.index.
Referenced by diffTrackListsFromSameTrackingParticle(), and diffTrackListsGeneric().
|
private |
Definition at line 370 of file ntuplePrintersDiff.py.
References list(), and harvestTrackValidationPlots.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 13 of file ntuplePrintersDiff.py.
Referenced by _areSameTracks(), and diffTrackListsGeneric().
|
private |
Definition at line 158 of file ntuplePrintersDiff.py.
References list().
Referenced by _makediff().
|
private |
Definition at line 618 of file ntuplePrintersDiff.py.
References join().
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), and ntuplePrintersDiff.TrackPrinter.diff().
|
private |
Definition at line 701 of file ntuplePrintersDiff.py.
References harvestTrackValidationPlots.str.
Referenced by ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), and ntuplePrintersDiff.TrackingParticlePrinter.printHits().
|
private |
Definition at line 165 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 172 of file ntuplePrintersDiff.py.
References _makediff(), and RecoEcal_EventContent_cff.func.
Referenced by ntuplePrintersDiff.SeedPrinter.diff(), ntuplePrintersDiff.TrackPrinter.diff(), ntuplePrintersDiff.TrackingParticlePrinter.diff(), and diffTrackListsFromSameTrackingParticle().
|
private |
Definition at line 32 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 200 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 550 of file ntuplePrintersDiff.py.
References _areSameTracks(), _associateTracksByTrackingParticlesAndHits(), _commonHits(), diffTrackListsFromSameTrackingParticle(), list(), GetRecoTauVFromDQM_MC_cff.next, and alignCSCRings.r.