Public Member Functions | |
def | __call__ (self, tp, out=sys.stdout) |
def | __init__ (self, indent=0, parentage=True, hits=True, tracks=True, trackPrinter=None, bestMatchingTrack=True, seedPrinter=SeedPrinter()) |
def | diff (self, tp1, tp2) |
def | diffMatchedSeeds (self, tp1, tp2) |
def | diffMatchedTracks (self, tp1, tp2) |
def | printHits (self, tp) |
def | printMatchedSeeds (self, tp) |
def | printMatchedTracks (self, tp, useTrackPrinter=True) |
def | printTrackingParticle (self, tp) |
Public Member Functions inherited from ntuplePrintersDiff._IndentPrinter | |
def | __init__ (self, indent=0) |
def | indent (self, num) |
def | restoreIndent (self) |
def | setIndentFrom (self, printer, adjust=0) |
Private Member Functions | |
def | _parentageChain (self, tp) |
def | _printMatchedSeeds0 (self) |
def | _printMatchedSeedsHeader (self) |
def | _printMatchedTracks (self, tracks, header=None, useTrackPrinter=True) |
def | _printMatchedTracksHeader (self) |
def | _printTP (self, tp) |
Private Attributes | |
_bestMatchingTrack | |
_hits | |
_parentage | |
_seedPrinter | |
_trackPrinter | |
_tracks | |
Definition at line 1055 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff.TrackingParticlePrinter.__init__ | ( | self, | |
indent = 0 , |
|||
parentage = True , |
|||
hits = True , |
|||
tracks = True , |
|||
trackPrinter = None , |
|||
bestMatchingTrack = True , |
|||
seedPrinter = SeedPrinter() |
|||
) |
Definition at line 1056 of file ntuplePrintersDiff.py.
def ntuplePrintersDiff.TrackingParticlePrinter.__call__ | ( | self, | |
tp, | |||
out = sys.stdout |
|||
) |
Definition at line 1230 of file ntuplePrintersDiff.py.
References HGCalEgammaIDHelper.printHits(), TkAccumulatingSensitiveDetector.printHits, hgcal::EGammaPCAHelper.printHits(), MuonSensitiveDetector.printHits, GlobalTrajectoryBuilderBase.printHits(), GlobalMuonRefitter.printHits(), ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), ntuplePrintersDiff.TrackingParticlePrinter.printHits(), ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds(), ntuplePrintersDiff.TrackingParticlePrinter.printMatchedTracks(), and ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().
|
private |
Definition at line 1078 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff.TrackingParticlePrinter._parentageChain(), ntuplePrintersDiff.TrackingParticlePrinter._printTP(), Mixins.PrintOptions.indent(), FWLayoutBuilder.indent(), edm::DocFormatHelper.indent(), Json::StyledWriter.indent(), FWDialogBuilder.indent(), edm::service::ELdestination.indent, Json::StyledStreamWriter.indent(), JsonOutputProducer.indent(), ntuplePrintersDiff._IndentPrinter.indent(), and GetRecoTauVFromDQM_MC_cff.next.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter._parentageChain(), and ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().
|
private |
Definition at line 1181 of file ntuplePrintersDiff.py.
References CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, and ntuplePrintersDiff._IndentPrinter._prefix.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds().
|
private |
Definition at line 1184 of file ntuplePrintersDiff.py.
References CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, and ntuplePrintersDiff._IndentPrinter._prefix.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds(), and ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds().
|
private |
Definition at line 1123 of file ntuplePrintersDiff.py.
References CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, ntuplePrintersDiff.TrackingParticlePrinter._printMatchedTracksHeader(), ntuplePrintersDiff.TrackingParticlePrinter._trackPrinter, join(), and str.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.printMatchedTracks().
|
private |
Definition at line 1120 of file ntuplePrintersDiff.py.
References CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, and ntuplePrintersDiff._IndentPrinter._prefix.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter._printMatchedTracks(), and ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks().
|
private |
Definition at line 1065 of file ntuplePrintersDiff.py.
References CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, join(), and str.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter._parentageChain(), and ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().
def ntuplePrintersDiff.TrackingParticlePrinter.diff | ( | self, | |
tp1, | |||
tp2 | |||
) |
Definition at line 1245 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._mapdiff(), ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds(), ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks(), HGCalEgammaIDHelper.printHits(), TkAccumulatingSensitiveDetector.printHits, hgcal::EGammaPCAHelper.printHits(), MuonSensitiveDetector.printHits, GlobalTrajectoryBuilderBase.printHits(), GlobalMuonRefitter.printHits(), ntuplePrintersDiff.SeedPrinter.printHits(), ntuplePrintersDiff.TrackPrinter.printHits(), ntuplePrintersDiff.TrackingParticlePrinter.printHits(), and ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().
def ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds | ( | self, | |
tp1, | |||
tp2 | |||
) |
Definition at line 1200 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._makediff(), ntuplePrintersDiff._matchTracksByHits(), ntuplePrintersDiff.TrackingParticlePrinter._printMatchedSeedsHeader(), ntuplePrintersDiff.TrackPrinter._seedPrinter, ntuplePrintersDiff.TrackingParticlePrinter._seedPrinter, and ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds().
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diff().
def ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks | ( | self, | |
tp1, | |||
tp2 | |||
) |
Definition at line 1152 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._makediff(), ntuplePrintersDiff.TrackingParticlePrinter._printMatchedTracksHeader(), ntuplePrintersDiff.TrackingParticlePrinter._trackPrinter, ntuplePrintersDiff.diffTrackListsFromSameTrackingParticle(), and ntuplePrintersDiff.TrackingParticlePrinter.printMatchedTracks().
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diff().
def ntuplePrintersDiff.TrackingParticlePrinter.printHits | ( | self, | |
tp | |||
) |
Definition at line 1104 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff._hitPatternSummary(), FP420HitsObject._hits, TrackerHitsObject._hits, DTBtiChip._hits, ntuplePrintersDiff.SeedPrinter._hits, ntuplePrintersDiff.TrackPrinter._hits, ntuplePrintersDiff.TrackingParticlePrinter._hits, CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, join(), and str.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.__call__(), and ntuplePrintersDiff.TrackingParticlePrinter.diff().
def ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds | ( | self, | |
tp | |||
) |
Definition at line 1187 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff.TrackingParticlePrinter._printMatchedSeeds0(), ntuplePrintersDiff.TrackingParticlePrinter._printMatchedSeedsHeader(), ntuplePrintersDiff.TrackPrinter._seedPrinter, and ntuplePrintersDiff.TrackingParticlePrinter._seedPrinter.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.__call__(), and ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds().
def ntuplePrintersDiff.TrackingParticlePrinter.printMatchedTracks | ( | self, | |
tp, | |||
useTrackPrinter = True |
|||
) |
Definition at line 1138 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff.TrackingParticlePrinter._bestMatchingTrack, CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, and ntuplePrintersDiff.TrackingParticlePrinter._printMatchedTracks().
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.__call__(), and ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks().
def ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle | ( | self, | |
tp | |||
) |
Definition at line 1093 of file ntuplePrintersDiff.py.
References ntuplePrintersDiff.TrackingParticlePrinter._parentage, ntuplePrintersDiff.TrackingParticlePrinter._parentageChain(), CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, ntuplePrintersDiff.TrackingParticlePrinter._printTP(), Mixins.PrintOptions.indent(), FWLayoutBuilder.indent(), edm::DocFormatHelper.indent(), Json::StyledWriter.indent(), FWDialogBuilder.indent(), edm::service::ELdestination.indent, Json::StyledStreamWriter.indent(), JsonOutputProducer.indent(), and ntuplePrintersDiff._IndentPrinter.indent().
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.__call__(), and ntuplePrintersDiff.TrackingParticlePrinter.diff().
|
private |
Definition at line 1062 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.printMatchedTracks().
|
private |
Definition at line 1059 of file ntuplePrintersDiff.py.
Referenced by ntupleDataFormat._RecoHitAdaptor.gluedHits(), ntupleDataFormat._RecoHitAdaptor.hits(), ntupleDataFormat._RecoHitAdaptor.invalidHits(), ntupleDataFormat._RecoHitAdaptor.phase2OTHits(), ntupleDataFormat._RecoHitAdaptor.pixelHits(), ntuplePrintersDiff.TrackingParticlePrinter.printHits(), and ntupleDataFormat._RecoHitAdaptor.stripHits().
|
private |
Definition at line 1058 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.printTrackingParticle().
|
private |
Definition at line 1063 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedSeeds(), and ntuplePrintersDiff.TrackingParticlePrinter.printMatchedSeeds().
|
private |
Definition at line 1061 of file ntuplePrintersDiff.py.
Referenced by ntuplePrintersDiff.TrackingParticlePrinter._printMatchedTracks(), and ntuplePrintersDiff.TrackingParticlePrinter.diffMatchedTracks().
|
private |
Definition at line 1060 of file ntuplePrintersDiff.py.