![]() |
![]() |
Private Member Functions | |
def | _nMatchedTrackingParticles (self) |
Adaptor class for objects matched to TrackingParticles.
Definition at line 298 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.__init__ | ( | self | ) |
Definition at line 300 of file ntupleDataFormat.py.
|
private |
Internal method to get the number of matched TrackingParticles.
Definition at line 303 of file ntupleDataFormat.py.
References SeedingNode< DATA >._index, SeedingNode< TrackingLayer >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, ntupleDataFormat.Event._tree, ntupleDataFormat.BeamSpot._tree, and findQualityFiles.size.
Referenced by ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), and ntupleDataFormat._TrackingParticleMatchAdaptor.nMatchedTrackingParticles().
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle | ( | self | ) |
Returns best-matching TrackingParticle, even for fake tracks, or None if there is no best-matching TrackingParticle. Best-matching is defined as the one with largest number of hits matched to the hits of a track (>= 3). If there are many fulfilling the same number of hits, the one inducing the innermost hit of the track is chosen.
Definition at line 322 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, ntupleDataFormat.Event._tree, and ntupleDataFormat.BeamSpot._tree.
Referenced by ntupleDataFormat.Track.dxyPull(), ntupleDataFormat.Track.dzPull(), ntupleDataFormat.Track.phiPull(), ntupleDataFormat.Track.ptPull(), and ntupleDataFormat.Track.thetaPull().
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHit | ( | self | ) |
Returns best-matching TrackingParticle, even for fake tracks, or None if there is no best-matching TrackingParticle. Best-matching is defined as the one with largest number of hits matched to the hits of a track (>= 3) starting from the beginning of the track. If there are many fulfilling the same number of hits, "a first TP" is chosen (a bit arbitrary, but should be rare".
Definition at line 351 of file ntupleDataFormat.py.
References ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, ntupleDataFormat.Event._tree, and ntupleDataFormat.BeamSpot._tree.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHitNormalizedChi2 | ( | self | ) |
Normalized chi2 calculated from track parameters+covariance matrix and TrackingParticle parameters for best-matching TrackingParticle starting from the first hit of a track.
Definition at line 377 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHitShareFrac | ( | self | ) |
Fraction of shared hits with reco hits as denominator for best-matching TrackingParticle starting from the first hit of a track.
Definition at line 365 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHitShareFracSimClusterDenom | ( | self | ) |
Fraction of shared hits with number of reco clusters associated to a TrackingParticle as denominator for best-matching TrackingParticle starting from the first hit of a track.
Definition at line 373 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHitShareFracSimDenom | ( | self | ) |
Fraction of shared hits with TrackingParticle::numberOfTrackerHits() as denominator for best-matching TrackingParticle starting from the first hit of a track.
Definition at line 369 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleNormalizedChi2 | ( | self | ) |
Normalized chi2 calculated from track parameters+covariance matrix and TrackingParticle parameters for best-matching TrackingParticle.
Definition at line 347 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleShareFrac | ( | self | ) |
Fraction of shared hits with reco hits as denominator for best-matching TrackingParticle.
Definition at line 335 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleShareFracSimClusterDenom | ( | self | ) |
Fraction of shared hits with number of reco clusters associated to a TrackingParticle as denominator for best-matching TrackingParticle.
Definition at line 343 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleShareFracSimDenom | ( | self | ) |
Fraction of shared hits with TrackingParticle::numberOfTrackerHits() as denominator for best-matching TrackingParticle.
Definition at line 339 of file ntupleDataFormat.py.
def ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos | ( | self | ) |
Returns a generator for matched TrackingParticles. The generator returns TrackingParticleMatchInfo objects.
Definition at line 312 of file ntupleDataFormat.py.
References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, SeedingNode< TrackingLayer >._index, Vispa.Share.FindAlgorithm.FindAlgorithm._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), CommonAnalyzer._prefix, ntupleDataFormat._Object._prefix, html.PageSet._prefix, ntupleDataFormat.BeamSpot._prefix, ntuplePrintersDiff._IndentPrinter._prefix, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, python.cmstools.EventTree._tree, ntupleDataFormat.TrackingNtuple._tree, ntupleDataFormat.Event._tree, and ntupleDataFormat.BeamSpot._tree.
def ntupleDataFormat._TrackingParticleMatchAdaptor.nMatchedTrackingParticles | ( | self | ) |
Returns the number of matched TrackingParticles.
Definition at line 307 of file ntupleDataFormat.py.
References ntupleDataFormat._Object._checkIsValid(), and ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles().