CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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__
 
def dxyPull
 
def dzPull
 
def phiPull
 
def ptPull
 
def seed
 
def thetaPull
 
def vertex
 
- Public Member Functions inherited from ntupleDataFormat._Object
def __getattr__
 
def __init__
 
def index
 
def isValid
 
- Public Member Functions inherited from ntupleDataFormat._RecoHitAdaptor
def __init__
 
def gluedHits
 
def hits
 
def invalidHits
 
def phase2OTHits
 
def pixelHits
 
def stripHits
 
- Public Member Functions inherited from ntupleDataFormat._TrackingParticleMatchAdaptor
def __init__
 
def bestMatchingTrackingParticle
 
def bestMatchingTrackingParticleFromFirstHit
 
def bestMatchingTrackingParticleFromFirstHitNormalizedChi2
 
def bestMatchingTrackingParticleFromFirstHitShareFrac
 
def bestMatchingTrackingParticleFromFirstHitShareFracSimClusterDenom
 
def bestMatchingTrackingParticleFromFirstHitShareFracSimDenom
 
def bestMatchingTrackingParticleNormalizedChi2
 
def bestMatchingTrackingParticleShareFrac
 
def bestMatchingTrackingParticleShareFracSimClusterDenom
 
def bestMatchingTrackingParticleShareFracSimDenom
 
def matchedTrackingParticleInfos
 
def nMatchedTrackingParticles
 

Detailed Description

Class presenting a track.

Definition at line 668 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

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.

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")

Member Function Documentation

def ntupleDataFormat.Track.dxyPull (   self)

Definition at line 707 of file ntupleDataFormat.py.

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), btagbtvdeep::TrackPairFeatures.dxy, btagbtvdeep::SeedingTrackFeatures.dxy, tauImpactParameter::TrackParticle.dxy, btagbtvdeep::SecondaryVertexFeatures.dxy, hi::TrackStructure.dxy, btagbtvdeep::ChargedCandidateFeatures.dxy, btagbtvdeep::SeedingTrackInfoBuilder.dxy(), trklet::L1SimTrack.dxy(), dnn_inputs_2017v1.dxy, L1MuKBMTrack.dxy(), Tau.Tau.dxy(), reco::PFTauTransverseImpactParameter.dxy(), Muon.Muon.dxy(), PrimaryVertexMonitor.dxy, TopMonitor::PVcut.dxy, Run3ScoutingParticle.dxy(), PFDisplacedVertexHelper::TracksSelector.dxy(), pat::IsolatedTrack.dxy(), ScoutingMuon.dxy(), reco::Conversion.dxy(), TrackingParticle.dxy(), reco::TrackBase.dxy(), l1t::EMTFTrack.dxy, pat::Tau.dxy(), pat::PackedGenParticle.dxy(), Electron.Electron.dxy(), pat::PackedCandidate.dxy(), and PrimaryVertexMonitor.dxyErr.

708  def dxyPull(self):
709  tp = self.bestMatchingTrackingParticle()
710  if tp is None:
711  return None
712  return (self.dxy() - tp.pca_dxy())/self.dxyErr()
def ntupleDataFormat.Track.dzPull (   self)

Definition at line 713 of file ntupleDataFormat.py.

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(), IdealZPrism.dz(), Tau.Tau.dz(), IdealCastorTrapezoid.dz(), FlatHexagon.dz(), pat::VertexAssociation.dz(), DTMuonMillepede.dz, PrimaryVertexMonitor.dz, ScoutingElectron.dz(), Run3ScoutingParticle.dz(), Muon.Muon.dz(), FlatTrd.dz(), TopMonitor::PVcut.dz, EcalTrapezoidParameters.dz(), Run3ScoutingElectron.dz(), TrackerValidationVariables::AVTrackStruct.dz, pat::IsolatedTrack.dz(), ScoutingMuon.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(), PrimaryVertexMonitor.dzErr, and TrackStruct::TrackParameterStruct.dzErr.

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()
def ntupleDataFormat.Track.phiPull (   self)

Definition at line 701 of file ntupleDataFormat.py.

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

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()
def ntupleDataFormat.Track.ptPull (   self)

Definition at line 689 of file ntupleDataFormat.py.

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), hi::TrackStructure.pt, res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), l1t::Vertex.pt(), PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), L1TkMuMantraDF::muon_df.pt, ScoutingPhoton.pt(), MatchStruct.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), RecoObj.pt, dnn_inputs_2017v1.pt, trklet::L1SimTrack.pt(), ALILine.pt(), PtEtaPhiMass.pt(), L2TauPixelTrackMatch::TinyTrack.pt, reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, mkfit::IdxChi2List.pt, l1thgcfirmware::HGCalCluster.pt(), antiElecIDMVA6_blocks::TauVars.pt, l1thgcfirmware::HGCalTriggerCell.pt(), L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), PhysicsObjectsMonitor.pt, trklet::Track.pt(), jpt::Map.pt(), l1tVertexFinder::RecoVertex< T >.pt(), RecoVertex<>.pt(), RecoVertex< L1Track >.pt(), reco::CaloMuon.pt(), TtFullHadSignalSel.pt(), BSTrkParameters.pt(), trklet::L1TStub.pt(), MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), SiStripLAProfileBooker.pt, reco::ForwardProton.pt(), Run3ScoutingCaloJet.pt(), Run3ScoutingPhoton.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, Run3ScoutingParticle.pt(), TauL1TPair.pt(), SimpleL1MuGMTCand.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, TrackSoAHeterogeneousT< S >.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, TrajectoryStateClosestToPoint.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingElectron.pt(), L1TPhase2CorrelatorOffline::SimpleObject.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.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(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, Primary4DVertexValidation::recoPrimaryVertex.pt, TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), SimCluster.pt(), reco::ParticleState.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), HGCalClusterT< C >.pt(), CandidateWithRef< Ref >.pt(), reco::LeafCandidate.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), L1TPhase2CorrelatorOffline::McVars.pt, pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, L1TPhase2CorrelatorOffline::RecoVars.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1CaloJetProducer::simpleL1obj.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().

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

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

Definition at line 695 of file ntupleDataFormat.py.

References ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle().

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

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])