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 668 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 670 of file ntupleDataFormat.py.

670  def __init__(self, tree, index):
671  """Constructor.
672 
673  Arguments:
674  tree -- TTree object
675  index -- Index of the track
676  """
677  super(Track, self).__init__(tree, index, "trk")
678 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ dxyPull()

def ntupleDataFormat.Track.dxyPull (   self)

◆ dzPull()

def ntupleDataFormat.Track.dzPull (   self)

Definition at line 713 of file ntupleDataFormat.py.

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), btagbtvdeep::TrackPairFeatures.dz, btagbtvdeep::SeedingTrackFeatures.dz, hi::TrackStructure.dz, egammaisolation::EgammaTrackSelector.dz, RigidBodyAlignmentParameters.dz, DetGeometry::DirectionData.dz, btagbtvdeep::SeedingTrackInfoBuilder.dz(), BowedSurfaceAlignmentDerivatives.dz, btagbtvdeep::ChargedCandidateFeatures.dz, BowedSurfaceAlignmentParameters.dz, HGCalTBParameters::hgtrap.dz, DTMuonSLToSL.dz, DDHCalXtalAlgo.dz, PreshowerStrip.dz(), IdealZDCTrapezoid.dz(), DDHCalTestBeamAlgo.dz, HGCalParameters::hgtrap.dz, IdealObliquePrism.dz(), IdealZPrism.dz(), Tau.Tau.dz(), IdealCastorTrapezoid.dz(), FlatHexagon.dz(), pat::VertexAssociation.dz(), DTMuonMillepede.dz, ScoutingElectron.dz(), Run3ScoutingParticle.dz(), Muon.Muon.dz(), FlatTrd.dz(), TopMonitor::PVcut.dz, BTagAndProbe::PVcut.dz, EcalTrapezoidParameters.dz(), CellCutsT< TrackerTraits >.dz, gpuPixelDoublets::CellCutsT< TrackerTraits >.dz, TrackerValidationVariables::AVTrackStruct.dz, pat::IsolatedTrack.dz(), ScoutingMuon.dz(), GeneralPurposeVertexAnalyzer.dz, TrackStruct::TrackParameterStruct.dz, reco::Conversion.dz(), MuonGeometryArrange::MGACollection.dz, trklet::IMATH_TrackletCalculatorDisk.dz, trklet::IMATH_TrackletCalculatorOverlap.dz, trklet::IMATH_TrackletCalculator.dz, CosmicRateAnalyzer.dz, TrackingParticle.dz(), reco::TrackBase.dz(), pat::PackedGenParticle.dz(), Electron.Electron.dz(), pat::PackedCandidate.dz(), GeneralPurposeVertexAnalyzer.dzErr, and TrackStruct::TrackParameterStruct.dzErr.

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

◆ phiPull()

def ntupleDataFormat.Track.phiPull (   self)

Definition at line 701 of file ntupleDataFormat.py.

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(), res::HelperElectron.phi(), res::HelperMuon.phi(), omtf::MuonDataWord64.phi(), res::HelperJet.phi(), CalibratedPFCluster.phi(), TwoBodyDecayParameters.phi, HcalCellType::HcalCell.phi, res::HelperMET.phi(), TwoBodyDecayDerivatives.phi, AnnealingSchedule.phi(), SimG4HcalHitCluster.phi(), CommonMETData.phi, ScoutingParticle.phi(), ThirdHitPredictionFromCircle.phi(), Geom::Polar2Cartesian< T >.phi(), GoldenPatternResult.phi, l1thgcfirmware::HGCalTower.phi(), ConfigurableAnnealing.phi(), jetData.phi, HcalNumberingFromDDD::HcalID.phi, CaloHit.phi(), GeometricAnnealing.phi(), DeterministicAnnealing.phi(), HcalChannelId.phi, RecoObj.phi, SuperClusterHelper.phi(), MatchStruct.phi, ScoutingPhoton.phi(), btagbtvdeep::SeedingTrackInfoBuilder.phi(), RecHitsSortedInPhi::HitWithPhi.phi(), trklet::L1SimTrack.phi(), L1Analysis::L1AnalysisRecoClusterDataFormat.phi, L2TauPixelTrackMatch::TinyTrack.phi, l1tpf_calo::Grid.phi(), HcalDDDRecConstants::HcalID.phi, L1GctMet::etmiss_vec.phi, btagbtvdeep::NeutralCandidateFeatures.phi, reco::MuonRecHitCluster.phi(), btagbtvdeep::SecondaryVertexFeatures.phi, EcalClusterEnergyDeposition.phi, ImpactPoint.phi, PtEtaPhiMass.phi(), scouting::masks.phi, reco::isodeposit::Direction.phi(), ticl::PatternRecognitionbyCLUE3D< TILES >::ClustersOnLayer.phi, correctionValue_class.phi, MTDTrackQualityMVA.phi, DDHCalEndcapModuleAlgo::HcalEndcapPar.phi, EleRelPoint.phi(), DDTrackerPhiAlgo.phi, HLTGenValObject.phi(), egHLT::BinData.phi, LMapRow.phi, L1Analysis::L1AnalysisL1CaloClusterDataFormat.phi, DTMuonLocalAlignment.phi, HEChannel.phi, l1thgcfirmware::HGCalCluster.phi(), DDHCalTestBeamAlgo.phi, GloballyPositioned< float >.phi(), GloballyPositioned< align::Scalar >.phi(), GloballyPositioned< T >.phi(), RotationType.phi(), GloballyPositioned< U >.phi(), Phase2L1GMT::ConvertedTTTrack.phi(), DDCutTubsFromPoints::Section.phi, DDTrackerLinear.phi, l1thgcfirmware::HGCalTriggerCell.phi(), Geom::Cylindrical2Cartesian< T >.phi(), l1thgcfirmware::HGCalTowerCoord.phi, VectorHitBuilderAlgorithm::CurvatureAndPhi.phi, antiElecIDMVA6_blocks::TauVars.phi, L1Analysis::L1AnalysisL1CaloTowerDataFormat.phi, L1Analysis::L1AnalysisRecoTauDataFormat.phi, ResonanceBuilder.Resonance.phi(), HcalGeomCheck::hitsinfo.phi, HGCalRecHitValidation::HitsInfo.phi, HcalTestHistoClass::Hit.phi, HGCalSimHitStudy::hitsinfo.phi, PatTrackAnalyzer::Plots.phi, PHcalTB04Info.phi(), btagbtvdeep::ChargedCandidateFeatures.phi, L1MuDTChambPhDigi.phi(), L1Analysis::L1AnalysisRecoElectronDataFormat.phi, l1t::HGCalTowerCoord.phi, tt::SensorModule.phi(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters.phi, mtd::MTDGeomUtil.phi(), Phase2L1GMT::PreTrackMatchedMuon.phi(), PV2DBase< T, PointTag, FrameTag >.phi(), LASCoordinateSet.phi, PV2DBase< float, PointTag, LocalTag >.phi(), PV2DBase< T, VectorTag, FrameTag >.phi(), PV2DBase< float, VectorTag, GlobalTag >.phi(), PV2DBase< double, PointTag, LocalTag >.phi(), PV2DBase< T, PVType, FrameType >.phi(), Point2DBase< Scalar, LocalTag >.phi(), Point2DBase< U, FrameTag >.phi(), Vector2DBase< U, FrameTag >.phi(), Point2DBase< T, Frame >.phi(), Vector2DBase< T, Frame >.phi(), Point2DBase< U, Frame >.phi(), Point2DBase< T, FrameTag >.phi(), Vector2DBase< T, FrameTag >.phi(), L1Analysis::L1AnalysisRecoMuon2DataFormat.phi, Vector2DBase< U, Frame >.phi(), BeamProfileVtxGenerator.phi(), PHcalTB06Info::Hit.phi, cms::MinBias.phi, L1Phase2MuDTPhDigi.phi(), HGCalSimHitValidation::hitsinfo.phi, l1gt::ThreeVector.phi, l1ttrackjet::EtaPhiBin.phi, scouting::shifts.phi, reco::GhostTrackPrediction.phi(), CSCSP_MBblock.phi(), FWPFCandidateDetailView.phi(), trigger::TriggerObject.phi(), RhoEtaPhi.phi(), reco::CastorCell.phi(), l1t::emtf::RPC.phi, HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE.phi(), HLLHCEvtVtxGenerator.phi, PGlobalSimHit::CalHit.phi, TrackerValidationVariables::AVHitStruct.phi, reco::PFRecTrack.phi(), HCalEndcapModuleAlgo::HcalEndcapPar.phi, l1tVertexFinder::Stub.phi(), SimBeamSpotObjects.phi(), MuonPath.phi(), SimpleL1MuGMTCand.phi(), metsig::SigInputObj.phi, XMLProcessor::_LMapRowHBEF.phi, L1TPFCaloProducer::SimpleHGCTC.phi, MuScleFitMuon.phi(), TracksUtilities< TrackerTraits >.phi(), PerigeeTrajectoryParameters.phi(), L1GctEtMiss.phi(), copyToDense.phi(), nHits.phi(), CSCSP_SPblock.phi(), LMapDetId.phi, trklet::Stub.phi(), QcdLowPtDQM::Pixel.phi(), PHcalTB06Info.phi(), reco::CaloMuon.phi(), TauL1TPair.phi(), TrajSeedMatcher::SCHitMatch.phi, PGlobalSimHit::FwdHit.phi, Run3ScoutingCaloJet.phi(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.phi, ScoutingCaloJet.phi(), ScoutingElectron.phi(), EtaPhiTower.phi, TrackBranch.phi, L1GctHtMiss.phi(), trklet::L1TStub.phi(), HTrackVariables.phi(), Vector3DBase< U, Frame >.phi(), PV3DBase< Scalar, VectorTag, GlobalTag >.phi(), PV3DBase< float, VectorTag, LocalTag >.phi(), PV3DBase< float, PointTag, LocalTag >.phi(), Vector3DBase< U, FrameTag >.phi(), PV3DBase< T, PointTag, GlobalTag >.phi(), PV3DBase< Scalar, PointTag, GlobalTag >.phi(), PV3DBase< float, PointTag, GlobalTag >.phi(), PV3DBase< align::Scalar, PointTag, GlobalTag >.phi(), PV3DBase< long double, PointTag, GlobalTag >.phi(), Point3DBase< U, LocalTag >.phi(), PV3DBase< T, PVType, FrameType >.phi(), Point3DBase< U, FrameTag >.phi(), Point3DBase< T, Frame >.phi(), Point3DBase< U, Frame >.phi(), Vector3DBase< T, Frame >.phi(), Vector3DBase< T, FrameTag >.phi(), Vector3DBase< float, GlobalTag >.phi(), Vector3DBase< double, LocalTag >.phi(), Vector3DBase< U, GlobalTag >.phi(), Point3DBase< U, GlobalTag >.phi(), Vector3DBase< U, LocalTag >.phi(), PV3DBase< T, VectorTag, FrameTag >.phi(), PV3DBase< T, PointTag, FrameTag >.phi(), Geom::Spherical2Cartesian< T >.phi(), reco::PattRecoPeak< float >.phi(), Run3ScoutingParticle.phi(), Thrust::ThetaPhi.phi, reco::PattRecoPeak< Real >.phi(), PattRecoPeak< Real >.phi(), Run3ScoutingPhoton.phi(), L1MuDTTrack.phi(), CurvilinearTrajectoryParameters.phi(), l1ttrackjet::TrackJetEmulationEtaPhiBin.phi, EopElecVariables.phi, L1MuKBMTCombinedStub.phi(), PGlobalSimHit::BrlHit.phi, L1MuBMTrack.phi(), GEMVFAT.phi(), PixelUnpackingRegions::Module.phi, HGCalTriggerModuleDetId.phi(), antiElecIDMVA6_blocks::ElecVars.phi, reco::CastorEgamma.phi(), reco::CastorJet.phi(), reco::IsoDeposit.phi(), PdtPdgMini.phi, Basic2DVector< double > thc.phi(), Phi< U >.phi(), Geom::Phi< float >.phi(), Basic2DVector< Scalar >.phi(), Basic2DVector< float >.phi(), Basic2DVector< T >.phi(), Phi< double, Geom::MinusPiToPi >.phi(), Phi< float, Geom::MinusPiToPi >.phi(), Phi< double >.phi(), Phi< double > deltaphi double.phi(), BPhysicsValidation::ParticleMonitor.phi, Basic2DVector< U >.phi(), Phi< T >.phi(), Phi< T1, Range >.phi(), Geom::Phi< T1, Range >.phi(), Basic2DVector< double >.phi(), l1tVertexFinder::VertexNTupler::GenParticlesBranchData.phi, L1TDEMON.phi, L1TPhase2CorrelatorOffline::SimpleObject.phi, HcalFlexiHardcodeGeometryLoader::HECellParameters.phi, L1GctMet::etmiss_internal.phi, IsolatedPixelTrackCandidateProducer::seedAtEC.phi, EcalTrapezoidParameters.phi(), Lepton.phi, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.phi, EgammaTowerIsolationNew< NC >.phi, HcalTB02HistoClass.phi(), l1tp2::DigitizedClusterGT.phi(), Run3ScoutingPFJet.phi(), VectorHit.phi(), ScoutingPFJet.phi(), ValidationMisalignedTracker.phi, RecHitsSortedInPhi.phi(), L1TdeGCT.phi, L1MuDTTrackSegPhi.phi(), HcalTB02Analysis.phi, L1GctInternJetData.phi(), TrackerValidationVariables::AVTrackStruct.phi, reco::Candidate.phi(), DDTrap.phi(), Run3ScoutingElectron.phi(), GeometricTimingDet.phi(), L1MuBMTrackSegPhi.phi(), cms::Analyzer_minbias.phi, AnalyzerMinbias.phi, l1tpf_calo::GridData< float >.phi(), GridData< T >.phi(), GeometricDet.phi(), l1tpf_calo::GridData< int >.phi(), l1tpf_calo::GridData< T >.phi(), l1tpf_calo::GridData< PreCluster >.phi(), TTTrack< Ref_Phase2TrackerDigi_ >.phi(), TTTrack< T >.phi(), TTTrack< Ref_Phase2TrackerDigi_ > aTrack unsigned int.phi(), TTTrack< Ref_Phase2TrackerDigi_ > ttTrack.phi(), DTChambPhSegm.phi(), l1tVertexFinder::VertexNTupler::RecoTracksBranchData.phi, tmtt::Stub.phi(), egHLT::OffPho.phi(), PhotonIDSimpleAnalyzer::struct_recPhoton.phi, Basic3DVector< long double >.phi(), ScoutingMuon.phi(), DTSectCollPhSegm.phi(), reco::CastorCluster.phi(), DTRecSegment4D.phi, L1Analysis::L1AnalysisRecoJetDataFormat.phi, trklet::TrackletConfigBuilder.phi(), reco::Particle.phi(), SingleParticleEvent.phi(), cmsdt::metaPrimitive.phi, egHLT::OffEle.phi(), EcalTestPulseAnalyzer.phi, TrackStruct::TrackParameterStruct.phi, EcalABAnalyzer.phi, l1tp2::DigitizedClusterCorrelator.phi(), MuonGeometryArrange::MGACollection.phi, Basic3DVector< T >.phi(), Basic3DVector< float > tcCentre float.phi(), Basic3DVector< float >.phi(), Basic3DVector< Scalar >.phi(), Basic3DVector< float > seedCentre.phi(), Basic3DVector< float > constituentCentre Basic3DVector< float >.phi(), Basic3DVector< double >.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double > vert.phi(), Basic3DVector< float > pos GlobalPoint.phi(), pair< bool, reco::TrackBase::ParameterVector >.phi(), Basic3DVector< align::Scalar >.phi(), Basic3DVector< float > mom GlobalVector.phi(), Basic3DVector< U >.phi(), Basic3DVector< float > seedCentre float.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double >.phi(), RegionalOutput< T >.phi(), l1t::RegionalOutput< T >.phi(), CaloParticle.phi(), EcalPerEvtLaserAnalyzer.phi, l1tVertexFinder::VertexNTupler::TrueTracksBranchData.phi, reco::ParticleState.phi(), SimCluster.phi(), JetAnalyzer_HeavyIons_matching::MyJet.phi, GenMuonGMTPair.phi(), HGCalClusterT< C >.phi(), TrackingParticle.phi(), reco::LeafCandidate.phi(), CandidateWithRef< Ref >.phi(), AlignmentMonitorMuonSystemMap1D::MyResidual.phi, reco::IsoDeposit::const_iterator.phi(), HitDoublets.phi(), mkfit::LayerOfHits::HitInfo.phi, L1Analysis::L1AnalysisRecoMuonDataFormat.phi, HcalLogicalMapGenerator.phi, l1tpf_calo::Cluster.phi, mkfit::Hit.phi(), reco::CaloCluster.phi(), Run3ScoutingMuon.phi(), EcalLaserAnalyzer.phi, CosmicRateAnalyzer.phi, EcalLaserAnalyzer2.phi, MuonGmtPair.phi(), SiPixelErrorEstimation.phi, L1TPhase2CorrelatorOffline::McVars.phi, pat::MET::Vector2.phi(), RawParticle.phi(), reco::TrackBase.phi(), pat::PackedGenParticle.phi(), L1CaloJetProducer::simpleL1obj.phi(), EcalClusterToolsT< noZS >::EcalClusterEnergyDeposition.phi, l1ct::OutputBoard.phi, EcalSelectiveReadoutValidation::energiesEb_t.phi, DDParallelepiped.phi(), EcalSelectiveReadoutValidation::energiesEe_t.phi, SiPixelTrackingRecHitsValid.phi, pat::PackedCandidate.phi(), trackerTFP::StubPP.phi(), p2eg::ecaltp_t.phi, trackerTFP::StubGP.phi(), trackerTFP::StubHT.phi(), trackerTFP::StubMHT.phi(), trackerTFP::StubZHT.phi(), trackerTFP::StubKFin.phi(), trackerTFP::StubKF.phi(), CellIndex.phi, PMuonSimHit::Trk.phi, PTrackerSimHit::Trk.phi, CMTRawAnalyzer.phi, and TrackStruct::TrackParameterStruct.phiErr.

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

◆ ptPull()

def ntupleDataFormat.Track.ptPull (   self)

Definition at line 689 of file ntupleDataFormat.py.

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(), reco::VoronoiBackground.pt(), ScoutingParticle.pt(), L1MuCSCPtLut.pt(), l1t::Vertex.pt(), Phase2L1GMT::MuonROI.pt(), scouting::masks.pt, PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), MatchStruct.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), btagbtvdeep::NeutralCandidateFeatures.pt, RecoObj.pt, ALILine.pt(), trklet::L1SimTrack.pt(), PtEtaPhiMass.pt(), L2TauPixelTrackMatch::TinyTrack.pt, reco::MuonMETCorrectionData.pt(), P2L1HTMHTEmu::PtPxPy.pt, HLTGenValObject.pt(), ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, Phase2L1GMT::ConvertedTTTrack.pt(), DTMuonLocalAlignment.pt, l1thgcfirmware::HGCalCluster.pt(), PipeEntry< T >.pt(), antiElecIDMVA6_blocks::TauVars.pt, l1ct::tdr_regionizer::PipeEntry< T >.pt(), btagbtvdeep::ChargedCandidateFeatures.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, mkfit::IdxChi2List.pt, l1thgcfirmware::HGCalTriggerCell.pt(), L1Analysis::L1AnalysisRecoElectronDataFormat.pt, scouting::shifts.pt, Phase2L1GMT::PreTrackMatchedMuon.pt(), L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PatTrackAnalyzer::Plots.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), mtd::MTDGeomUtil.pt(), l1gt::ThreeVector.pt, trigger::TriggerObject.pt(), jpt::Map.pt(), PhysicsObjectsMonitor.pt, trklet::Track.pt(), RecoVertex< L1Track >.pt(), RecoVertex<>.pt(), l1tVertexFinder::RecoVertex< T >.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), trklet::L1TStub.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, reco::ForwardProton.pt(), Run3ScoutingCaloJet.pt(), SiStripLAProfileBooker.pt, ScoutingCaloJet.pt(), ScoutingElectron.pt(), Run3ScoutingParticle.pt(), TrackBranch.pt, TauL1TPair.pt(), SimpleL1MuGMTCand.pt(), Run3ScoutingPhoton.pt(), L1MuDTTrack.pt(), EopElecVariables.pt, HTrackVariables.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, L1TPhase2CorrelatorOffline::SimpleObject.pt, reco::PreId.pt(), Lepton.pt, l1tp2::DigitizedClusterGT.pt(), Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), ValidationMisalignedTracker.pt, TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), Run3ScoutingElectron.pt(), l1tVertexFinder::VertexNTupler::RecoTracksBranchData.pt, egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), l1tp2::DigitizedClusterCorrelator.pt(), CaloParticle.pt(), TrackStruct::TrackParameterStruct.pt, Primary4DVertexValidation::recoPrimaryVertex.pt, l1ct::tdr_regionizer::BufferEntry< T >.pt(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, SimCluster.pt(), reco::ParticleState.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, GenMuonGMTPair.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, TrackingParticle.pt(), HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), CandidateWithRef< Ref >.pt(), l1t::TkJetWord.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, l1t::VertexWord.pt(), PtHatRapReweightUserHook.pt, l1ct::tdr_regionizer::Buffer< T >.pt(), Run3ScoutingMuon.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), pixelTrack::QualityCutsT< TrackerTraits, pixelTopology::isPhase1Topology< TrackerTraits > >.pt, L1TPhase2CorrelatorOffline::McVars.pt, RawParticle.pt(), pat::MET::Vector2.pt(), l1t::EMTFTrack.pt, L1TPhase2CorrelatorOffline::RecoVars.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1CaloJetProducer::simpleL1obj.pt(), p2eg::SimpleCaloHit.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().

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

◆ seed()

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

Definition at line 679 of file ntupleDataFormat.py.

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.

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

◆ thetaPull()

def ntupleDataFormat.Track.thetaPull (   self)

Definition at line 695 of file ntupleDataFormat.py.

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle().

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

◆ vertex()

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

Definition at line 684 of file ntupleDataFormat.py.

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().

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