CMS 3D CMS Logo

List of all members | Public Member Functions
ntupleDataFormat.Track Class Reference
Inheritance diagram for ntupleDataFormat.Track:
ntupleDataFormat._Object ntupleDataFormat._RecoHitAdaptor ntupleDataFormat._TrackingParticleMatchAdaptor

Public Member Functions

def __init__ (self, tree, index)
 
def dxyPull (self)
 
def dzPull (self)
 
def phiPull (self)
 
def ptPull (self)
 
def seed (self)
 
def thetaPull (self)
 
def vertex (self)
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__ (self, attr)
 
def __init__ (self, tree, index, prefix)
 
def index (self)
 
def isValid (self)
 
- Public Member Functions inherited from ntupleDataFormat._RecoHitAdaptor
def __init__ (self)
 
def gluedHits (self)
 
def hits (self)
 
def invalidHits (self)
 
def phase2OTHits (self)
 
def pixelHits (self)
 
def stripHits (self)
 
- Public Member Functions inherited from ntupleDataFormat._TrackingParticleMatchAdaptor
def __init__ (self)
 
def bestMatchingTrackingParticle (self)
 
def bestMatchingTrackingParticleFromFirstHit (self)
 
def bestMatchingTrackingParticleFromFirstHitNormalizedChi2 (self)
 
def bestMatchingTrackingParticleFromFirstHitShareFrac (self)
 
def bestMatchingTrackingParticleFromFirstHitShareFracSimClusterDenom (self)
 
def bestMatchingTrackingParticleFromFirstHitShareFracSimDenom (self)
 
def bestMatchingTrackingParticleNormalizedChi2 (self)
 
def bestMatchingTrackingParticleShareFrac (self)
 
def bestMatchingTrackingParticleShareFracSimClusterDenom (self)
 
def bestMatchingTrackingParticleShareFracSimDenom (self)
 
def matchedTrackingParticleInfos (self)
 
def nMatchedTrackingParticles (self)
 

Detailed Description

Class presenting a track.

Definition at line 669 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

def ntupleDataFormat.Track.__init__ (   self,
  tree,
  index 
)
Constructor.

Arguments:
tree  -- TTree object
index -- Index of the track

Definition at line 671 of file ntupleDataFormat.py.

671  def __init__(self, tree, index):
672  """Constructor.
673 
674  Arguments:
675  tree -- TTree object
676  index -- Index of the track
677  """
678  super(Track, self).__init__(tree, index, "trk")
679 

Member Function Documentation

◆ dxyPull()

def ntupleDataFormat.Track.dxyPull (   self)

◆ dzPull()

def ntupleDataFormat.Track.dzPull (   self)

Definition at line 714 of file ntupleDataFormat.py.

714  def dzPull(self):
715  tp = self.bestMatchingTrackingParticle()
716  if tp is None:
717  return None
718  return (self.dz() - tp.pca_dz())/self.dzErr()
719 

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), btagbtvdeep::TrackPairFeatures.dz, btagbtvdeep::SeedingTrackFeatures.dz, tauImpactParameter::TrackParticle.dz, hi::TrackStructure.dz, egammaisolation::EgammaTrackSelector.dz, RigidBodyAlignmentParameters.dz, DetGeometry::DirectionData.dz, btagbtvdeep::SeedingTrackInfoBuilder.dz(), BowedSurfaceAlignmentDerivatives.dz, btagbtvdeep::ChargedCandidateFeatures.dz, BowedSurfaceAlignmentParameters.dz, DTMuonSLToSL.dz, dnn_inputs_2017v1.dz, DDHCalXtalAlgo.dz, PreshowerStrip.dz(), IdealZDCTrapezoid.dz(), DDHCalTestBeamAlgo.dz, HGCalParameters::hgtrap.dz, IdealObliquePrism.dz(), Tau.Tau.dz(), IdealZPrism.dz(), IdealCastorTrapezoid.dz(), FlatHexagon.dz(), pat::VertexAssociation.dz(), DTMuonMillepede.dz, PrimaryVertexMonitor.dz, DTSegmentResult.dz, ScoutingElectron.dz(), Muon.Muon.dz(), FlatTrd.dz(), TopMonitor::PVcut.dz, EcalTrapezoidParameters.dz(), DTHitResult.dz, Run3ScoutingElectron.dz(), TrackerValidationVariables::AVTrackStruct.dz, pat::IsolatedTrack.dz(), ScoutingMuon.dz(), TrackStruct::TrackParameterStruct.dz, reco::Conversion.dz(), MuonGeometryArrange::MGACollection.dz, CosmicRateAnalyzer.dz, trklet::IMATH_TrackletCalculatorDisk.dz, trklet::IMATH_TrackletCalculatorOverlap.dz, trklet::IMATH_TrackletCalculator.dz, reco::TrackBase.dz(), pat::PackedGenParticle.dz(), Electron.Electron.dz(), pat::PackedCandidate.dz(), PrimaryVertexMonitor.dzErr, and TrackStruct::TrackParameterStruct.dzErr.

◆ phiPull()

def ntupleDataFormat.Track.phiPull (   self)

Definition at line 702 of file ntupleDataFormat.py.

702  def phiPull(self):
703  tp = self.bestMatchingTrackingParticle()
704  if tp is None:
705  return None
706  return (self.phi() - tp.pca_phi())/self.phiErr()
707 

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), PuppiCandidate.phi, eetest::CandForTest.phi(), btagbtvdeep::JetFeatures.phi, btagbtvdeep::TrackPairFeatures.phi, hi::TrackStructure.phi, TrackingRecHitGlobalState.phi, btagbtvdeep::SeedingTrackFeatures.phi, omtf::DtDataWord64.phi(), GEMVfatStatusDigi.phi(), res::HelperElectron.phi(), res::HelperMuon.phi(), omtf::MuonDataWord64.phi(), res::HelperJet.phi(), HcalCellType::HcalCell.phi, tauImpactParameter::TrackParticle.phi, TwoBodyDecayParameters.phi, L1TkMuMantraDF::track_df.phi, AnnealingSchedule.phi(), res::HelperMET.phi(), TwoBodyDecayDerivatives.phi, CommonMETData.phi, Run3ScoutingParticle.phi(), ScoutingParticle.phi(), ThirdHitPredictionFromCircle.phi(), SimG4HcalHitCluster.phi(), Geom::Polar2Cartesian< T >.phi(), ConfigurableAnnealing.phi(), jetData.phi, HcalNumberingFromDDD::HcalID.phi, CaloHit.phi(), Residual1DHit.phi, GeometricAnnealing.phi(), HcalChannelId.phi, DeterministicAnnealing.phi(), RecoObj.phi, SuperClusterHelper.phi(), ScoutingPhoton.phi(), btagbtvdeep::SeedingTrackInfoBuilder.phi(), RecHitsSortedInPhi::HitWithPhi.phi(), MatchStruct.phi, L1TkMuMantraDF::muon_df.phi, L1Analysis::L1AnalysisRecoClusterDataFormat.phi, L2TauPixelTrackMatch::TinyTrack.phi, l1tpf_calo::Grid.phi(), HcalDDDRecConstants::HcalID.phi, L1GctMet::etmiss_vec.phi, HGCal_helpers::Coordinates.phi, trklet::L1SimTrack.phi(), EcalClusterEnergyDeposition.phi, ImpactPoint.phi, PtEtaPhiMass.phi(), reco::isodeposit::Direction.phi(), correctionValue_class.phi, DDHCalEndcapModuleAlgo::HcalEndcapPar.phi, EleRelPoint.phi(), MTDTrackQualityMVA.phi, HEChannel.phi, egHLT::BinData.phi, LMapRow.phi, DDTrackerPhiAlgo.phi, L1Analysis::L1AnalysisL1CaloClusterDataFormat.phi, DTMuonLocalAlignment.phi, GloballyPositioned< T >.phi(), RotationType.phi(), GloballyPositioned< U >.phi(), DDHCalTestBeamAlgo.phi, GloballyPositioned< float >.phi(), GloballyPositioned< align::Scalar >.phi(), l1t::HGCalTowerCoord.phi, antiElecIDMVA6_blocks::TauVars.phi, DDCutTubsFromPoints::Section.phi, DDTrackerLinear.phi, Geom::Cylindrical2Cartesian< T >.phi(), VectorHitBuilderAlgorithm::CurvatureAndPhi.phi, L1Analysis::L1AnalysisL1CaloTowerDataFormat.phi, L1Analysis::L1AnalysisRecoTauDataFormat.phi, ResonanceBuilder.Resonance.phi(), TrackSoAHeterogeneousT< S >.phi(), BeamProfileVtxGenerator.phi(), HcalTestHistoClass::Hit.phi, PatTrackAnalyzer::Plots.phi, L1MuDTChambPhDigi.phi(), L1Analysis::L1AnalysisRecoElectronDataFormat.phi, trackerDTC::SensorModule.phi(), PHcalTB04Info.phi(), L1Phase2MuDTPhDigi.phi(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters.phi, Point2DBase< Scalar, LocalTag >.phi(), PV2DBase< T, PVType, FrameType >.phi(), Point2DBase< U, FrameTag >.phi(), Vector2DBase< U, FrameTag >.phi(), LASCoordinateSet.phi, Vector2DBase< U, Frame >.phi(), Point2DBase< U, Frame >.phi(), Point2DBase< T, FrameTag >.phi(), PV2DBase< T, PV, F >.phi(), Vector2DBase< T, FrameTag >.phi(), L1Analysis::L1AnalysisRecoMuon2DataFormat.phi, Vector2DBase< T, Frame >.phi(), Point2DBase< T, Frame >.phi(), PHcalTB06Info::Hit.phi, PV2DBase< float, PointTag, LocalTag >.phi(), PV2DBase< T, VectorTag, FrameTag >.phi(), PV2DBase< float, VectorTag, GlobalTag >.phi(), PV2DBase< T, PointTag, FrameTag >.phi(), PV2DBase< double, PointTag, LocalTag >.phi(), trklet::Stub.phi(), reco::GhostTrackPrediction.phi(), HGCalRecHitValidation::HitsInfo.phi, CSCSP_MBblock.phi(), trigger::TriggerObject.phi(), RhoEtaPhi.phi(), L1TkMuonProducer::PropState.phi, FWPFCandidateDetailView.phi(), l1t::emtf::RPC.phi, HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE.phi(), HGCalSimHitStudy::hitsinfo.phi, reco::CastorCell.phi(), TrackerValidationVariables::AVHitStruct.phi, HLLHCEvtVtxGenerator.phi, MuonPath.phi(), PGlobalSimHit::CalHit.phi, cms::MinBias.phi, reco::PFRecTrack.phi(), HCalEndcapModuleAlgo::HcalEndcapPar.phi, SimpleL1MuGMTCand.phi(), metsig::SigInputObj.phi, QcdLowPtDQM::Pixel.phi(), XMLProcessor::_LMapRowHBEF.phi, MuScleFitMuon.phi(), L1GctEtMiss.phi(), L1TPFCaloProducer::SimpleHGCTC.phi, Run3ScoutingPhoton.phi(), CSCSP_SPblock.phi(), trklet::L1TStub.phi(), PerigeeTrajectoryParameters.phi(), LMapDetId.phi, reco::CaloMuon.phi(), TrajSeedMatcher::SCHitMatch.phi, PGlobalSimHit::FwdHit.phi, PFECALSuperClusterAlgo::CalibratedPFCluster.phi(), PHcalTB06Info.phi(), L1GctHtMiss.phi(), Run3ScoutingCaloJet.phi(), ScoutingCaloJet.phi(), ScoutingElectron.phi(), TauL1TPair.phi(), EtaPhiTower.phi, IsolatedPixelTrackCandidateProducer::seedAtEC.phi, PV3DBase< align::Scalar, PointTag, GlobalTag >.phi(), PV3DBase< Scalar, PointTag, GlobalTag >.phi(), PV3DBase< float, PointTag, GlobalTag >.phi(), PV3DBase< long double, PointTag, GlobalTag >.phi(), Point3DBase< U, LocalTag >.phi(), Vector3DBase< U, LocalTag >.phi(), Vector3DBase< U, GlobalTag >.phi(), Vector3DBase< U, Frame >.phi(), Point3DBase< U, Frame >.phi(), PV3DBase< T, PV, F >.phi(), Vector3DBase< T, Frame >.phi(), Vector3DBase< float, GlobalTag >.phi(), PV3DBase< Scalar, VectorTag, GlobalTag >.phi(), Vector3DBase< double, LocalTag >.phi(), Point3DBase< U, GlobalTag >.phi(), Vector3DBase< T, FrameTag >.phi(), PV3DBase< T, VectorTag, FrameTag >.phi(), Point3DBase< U, FrameTag >.phi(), Point3DBase< T, Frame >.phi(), Vector3DBase< U, FrameTag >.phi(), PV3DBase< float, VectorTag, LocalTag >.phi(), PV3DBase< T, PVType, FrameType >.phi(), HTrackVariables.phi(), PV3DBase< T, PointTag, FrameTag >.phi(), PV3DBase< float, PointTag, LocalTag >.phi(), PV3DBase< T, PointTag, GlobalTag >.phi(), reco::PattRecoPeak< float >.phi(), Geom::Spherical2Cartesian< T >.phi(), PattRecoPeak< Real >.phi(), reco::PattRecoPeak< Real >.phi(), Thrust::ThetaPhi.phi, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.phi, PatPhotonSimpleAnalyzer::struct_recPhoton.phi, CurvilinearTrajectoryParameters.phi(), L1MuKBMTCombinedStub.phi(), ValidationMisalignedTracker.phi, L1MuDTTrack.phi(), HGCalSimHitValidation::hitsinfo.phi, antiElecIDMVA6_blocks::ElecVars.phi, PGlobalSimHit::BrlHit.phi, PixelUnpackingRegions::Module.phi, L1MuBMTrack.phi(), gem::VFATdata.phi(), reco::CastorEgamma.phi(), reco::CastorJet.phi(), reco::IsoDeposit.phi(), PdtPdgMini.phi, Phi< double >.phi(), BPhysicsValidation::ParticleMonitor.phi, Phi< double, Geom::MinusPiToPi >.phi(), Phi< float, Geom::MinusPiToPi >.phi(), Geom::Phi< T1, Range >.phi(), Phi< U >.phi(), Phi< T1, Range >.phi(), Phi< T >.phi(), MuonDTLocalMillepedeAlgorithm.phi, Phi< double > deltaphi double.phi(), Geom::Phi< float >.phi(), HcalFlexiHardcodeGeometryLoader::HECellParameters.phi, L1GctMet::etmiss_internal.phi, EgammaTowerIsolationNew< NC >.phi, L1TDEMON.phi, Run3ScoutingElectron.phi(), EcalTrapezoidParameters.phi(), Lepton.phi, HcalTB02HistoClass.phi(), Basic2DVector< T >.phi(), Basic2DVector< double > thc.phi(), Basic2DVector< float >.phi(), Basic2DVector< U >.phi(), Basic2DVector< Scalar >.phi(), Basic2DVector< double >.phi(), Run3ScoutingPFJet.phi(), VectorHit.phi(), L1Analysis::L1AnalysisRecoJetDataFormat.phi, ScoutingPFJet.phi(), RecHitsSortedInPhi.phi(), DDTrap.phi(), L1TdeGCT.phi, HcalTB02Analysis.phi, L1MuDTTrackSegPhi.phi(), TrackerValidationVariables::AVTrackStruct.phi, L1GctInternJetData.phi(), L1MuBMTrackSegPhi.phi(), reco::Candidate.phi(), GeometricTimingDet.phi(), cms::Analyzer_minbias.phi, AnalyzerMinbias.phi, GeometricDet.phi(), TTTrack< Ref_Phase2TrackerDigi_ > aTrack unsigned int.phi(), TTTrack< T >.phi(), DTChambPhSegm.phi(), TTTrack< Ref_Phase2TrackerDigi_ >.phi(), tmtt::Stub.phi(), egHLT::OffPho.phi(), l1tpf_calo::GridData< float >.phi(), GridData< T >.phi(), l1tpf_calo::GridData< int >.phi(), PhotonIDSimpleAnalyzer::struct_recPhoton.phi, Basic3DVector< long double >.phi(), l1tpf_calo::GridData< T >.phi(), l1tpf_calo::GridData< PreCluster >.phi(), ScoutingMuon.phi(), reco::CastorCluster.phi(), DTSectCollPhSegm.phi(), EcalTestPulseAnalyzer.phi, DTRecSegment4D.phi, EcalABAnalyzer.phi, reco::Particle.phi(), cmsdt::metaPrimitive.phi, SingleParticleEvent.phi(), EcalPerEvtLaserAnalyzer.phi, egHLT::OffEle.phi(), TrackStruct::TrackParameterStruct.phi, MuonGeometryArrange::MGACollection.phi, Basic3DVector< double >.phi(), pair< bool, reco::TrackBase::ParameterVector >.phi(), Basic3DVector< float > constituentCentre Basic3DVector< float >.phi(), Basic3DVector< T >.phi(), Basic3DVector< Scalar >.phi(), Basic3DVector< float > seedCentre float.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double >.phi(), Basic3DVector< float > seedCentre.phi(), Basic3DVector< float > pos GlobalPoint.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double > vert.phi(), Basic3DVector< float >.phi(), Basic3DVector< U >.phi(), Basic3DVector< float > tcCentre float.phi(), Basic3DVector< float > mom GlobalVector.phi(), Basic3DVector< align::Scalar >.phi(), CaloParticle.phi(), AlignmentMonitorMuonSystemMap1D::MyResidual.phi, reco::ParticleState.phi(), SimCluster.phi(), JetAnalyzer_HeavyIons_matching::MyJet.phi, TrackingParticle.phi(), CosmicRateAnalyzer.phi, reco::LeafCandidate.phi(), HGCalClusterT< C >.phi(), reco::IsoDeposit::const_iterator.phi(), HitDoublets.phi(), L1Analysis::L1AnalysisRecoMuonDataFormat.phi, l1tpf_calo::Cluster.phi, HcalLogicalMapGenerator.phi, HGCalCLUEAlgoT< TILE >::CellsOnLayer.phi, EcalLaserAnalyzer.phi, EcalLaserAnalyzer2.phi, reco::CaloCluster.phi(), Run3ScoutingMuon.phi(), MuonGmtPair.phi(), SiPixelErrorEstimation.phi, pat::MET::Vector2.phi(), RawParticle.phi(), reco::TrackBase.phi(), pat::PackedGenParticle.phi(), EcalClusterToolsT< noZS >::EcalClusterEnergyDeposition.phi, EcalSelectiveReadoutValidation::energiesEb_t.phi, DDParallelepiped.phi(), EcalSelectiveReadoutValidation::energiesEe_t.phi, SiPixelTrackingRecHitsValid.phi, pat::PackedCandidate.phi(), CellIndex.phi, PMuonSimHit::Trk.phi, PTrackerSimHit::Trk.phi, CMTRawAnalyzer.phi, and TrackStruct::TrackParameterStruct.phiErr.

◆ ptPull()

def ntupleDataFormat.Track.ptPull (   self)

Definition at line 690 of file ntupleDataFormat.py.

690  def ptPull(self):
691  tp = self.bestMatchingTrackingParticle()
692  if tp is None:
693  return None
694  return (self.pt() - tp.pca_pt())/self.ptErr()
695 

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), hi::TrackStructure.pt, res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, Run3ScoutingParticle.pt(), ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), Residual1DHit.pt, PtHatReweightUserHook.pt, L1TkMuMantraDF::muon_df.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, dnn_inputs_2017v1.pt, ALILine.pt(), RecoObj.pt, trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, TrackSoAHeterogeneousT< S >.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), jpt::Map.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), PTrajectoryStateOnDet.pt(), SiStripLAProfileBooker.pt, Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, PTrackerSimHit::Trk.pt, PatTrackAnalyzer::Plots.ptErr, TrackStruct::TrackParameterStruct.ptErr, Muon.Muon.ptErr(), and Electron.Electron.ptErr().

◆ seed()

def ntupleDataFormat.Track.seed (   self)
Returns Seed of the track.

Definition at line 680 of file ntupleDataFormat.py.

680  def seed(self):
681  """Returns Seed of the track."""
682  self._checkIsValid()
683  return Seed(self._tree, self._tree.trk_seedIdx[self._index])
684 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, lhef::H5Handler._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, and python.cmstools.EventTree._tree.

◆ thetaPull()

def ntupleDataFormat.Track.thetaPull (   self)

Definition at line 696 of file ntupleDataFormat.py.

696  def thetaPull(self):
697  tp = self.bestMatchingTrackingParticle()
698  if tp is None:
699  return None
700  return (getattr(self, "lambda")() - tp.pca_lambda())/self.lambdaErr() # as in MTV
701 

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle().

◆ vertex()

def ntupleDataFormat.Track.vertex (   self)
Returns Vertex that used this track in its fit.

Definition at line 685 of file ntupleDataFormat.py.

685  def vertex(self):
686  """Returns Vertex that used this track in its fit."""
687  self._checkIsValid()
688  return Vertex(self._tree, self._tree.trk_vtxIdx[self._index])
689 

References ntupleDataFormat._Object._checkIsValid(), SeedingNode< DATA >._index, lhef::H5Handler._index, RPCMuonExtraStruct._index, ntupleDataFormat._Object._index, python.cmstools.EventTree._index, python.cmstools.EventBranch._index, html.HtmlReport._index, ntupleDataFormat._Collection._tree, ntupleDataFormat._Object._tree, and python.cmstools.EventTree._tree.

Referenced by Tau.Tau.dxy().

fileCollector.seed
seed
Definition: fileCollector.py:127
bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
HltBtagValidation_cff.Vertex
Vertex
Definition: HltBtagValidation_cff.py:32