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, egammaisolation::EgammaTrackSelector.dz, RigidBodyAlignmentParameters.dz, btagbtvdeep::SeedingTrackInfoBuilder.dz(), BowedSurfaceAlignmentDerivatives.dz, BowedSurfaceAlignmentParameters.dz, DTMuonSLToSL.dz, dnn_inputs_2017v1.dz, DDHCalXtalAlgo.dz, PreshowerStrip.dz(), IdealZDCTrapezoid.dz(), HGCalParameters::hgtrap.dz, DDHCalTestBeamAlgo.dz, IdealObliquePrism.dz(), IdealZPrism.dz(), Tau.Tau.dz(), IdealCastorTrapezoid.dz(), FlatHexagon.dz(), pat::VertexAssociation.dz(), DTMuonMillepede.dz, DTSegmentResult.dz, PrimaryVertexMonitor.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, TrackingRecHitGlobalState.phi, btagbtvdeep::SeedingTrackFeatures.phi, omtf::DtDataWord64.phi(), GEMVfatStatusDigi.phi(), res::HelperElectron.phi(), res::HelperMuon.phi(), omtf::MuonDataWord64.phi(), res::HelperJet.phi(), tauImpactParameter::TrackParticle.phi, HcalCellType::HcalCell.phi, TwoBodyDecayParameters.phi, L1TkMuMantraDF::track_df.phi, AnnealingSchedule.phi(), res::HelperMET.phi(), TwoBodyDecayDerivatives.phi, CommonMETData.phi, Run3ScoutingParticle.phi(), ScoutingParticle.phi(), ThirdHitPredictionFromCircle.phi(), SimG4HcalHitCluster.phi(), ConfigurableAnnealing.phi(), Geom::Polar2Cartesian< T >.phi(), jetData.phi, HcalNumberingFromDDD::HcalID.phi, CaloHit.phi(), GeometricAnnealing.phi(), Residual1DHit.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, RotationType.phi(), GloballyPositioned< U >.phi(), DDHCalTestBeamAlgo.phi, GloballyPositioned< float >.phi(), GloballyPositioned< align::Scalar >.phi(), GloballyPositioned< T >.phi(), l1t::HGCalTowerCoord.phi, DDCutTubsFromPoints::Section.phi, DDTrackerLinear.phi, Geom::Cylindrical2Cartesian< T >.phi(), L1Analysis::L1AnalysisL1CaloTowerDataFormat.phi, L1Analysis::L1AnalysisRecoTauDataFormat.phi, ResonanceBuilder.Resonance.phi(), BeamProfileVtxGenerator.phi(), PatTrackAnalyzer::Plots.phi, HcalTestHistoClass::Hit.phi, L1MuDTChambPhDigi.phi(), L1Analysis::L1AnalysisRecoElectronDataFormat.phi, trackerDTC::SensorModule.phi(), PHcalTB04Info.phi(), L1Phase2MuDTPhDigi.phi(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters.phi, PV2DBase< T, PVType, FrameType >.phi(), Point2DBase< Scalar, LocalTag >.phi(), Point2DBase< U, FrameTag >.phi(), Vector2DBase< U, FrameTag >.phi(), Vector2DBase< U, Frame >.phi(), Vector2DBase< T, Frame >.phi(), Point2DBase< U, Frame >.phi(), LASCoordinateSet.phi, Point2DBase< T, FrameTag >.phi(), PV2DBase< T, PV, F >.phi(), Vector2DBase< T, FrameTag >.phi(), L1Analysis::L1AnalysisRecoMuon2DataFormat.phi, PHcalTB06Info::Hit.phi, Point2DBase< T, Frame >.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(), CSCSP_MBblock.phi(), HGCalRecHitValidation::HitsInfo.phi, trigger::TriggerObject.phi(), RhoEtaPhi.phi(), L1TkMuonProducer::PropState.phi, FWPFCandidateDetailView.phi(), l1t::emtf::RPC.phi, HLTJetsCleanedFromLeadingLeptons< JetType >::EtaPhiE.phi(), PFECALSuperClusterAlgo::CalibratedPFCluster.phi(), reco::CastorCell.phi(), TrackerValidationVariables::AVHitStruct.phi, MuonPath.phi(), PGlobalSimHit::CalHit.phi, HCalEndcapModuleAlgo::HcalEndcapPar.phi, HGCalSimHitStudy::hitsinfo.phi, HLLHCEvtVtxGenerator.phi, cms::MinBias.phi, MaterialBudgetHcalHistos.phi, SimpleL1MuGMTCand.phi(), metsig::SigInputObj.phi, QcdLowPtDQM::Pixel.phi(), IsolatedPixelTrackCandidateProducer::seedAtEC.phi, XMLProcessor::_LMapRowHBEF.phi, MuScleFitMuon.phi(), Run3ScoutingPhoton.phi(), L1TPFCaloProducer::SimpleHGCTC.phi, TrajSeedMatcher::SCHitMatch.phi, CSCSP_SPblock.phi(), trklet::L1TStub.phi(), L1GctEtMiss.phi(), PerigeeTrajectoryParameters.phi(), LMapDetId.phi, IsolatedPixelTrackCandidateL1TProducer::seedAtEC.phi, reco::CaloMuon.phi(), PGlobalSimHit::FwdHit.phi, PHcalTB06Info.phi(), L1GctHtMiss.phi(), Run3ScoutingCaloJet.phi(), ScoutingCaloJet.phi(), ScoutingElectron.phi(), ValidationMisalignedTracker.phi, TauL1TPair.phi(), PV3DBase< T, PointTag, GlobalTag >.phi(), Point3DBase< U, LocalTag >.phi(), PV3DBase< T, PVType, FrameType >.phi(), Vector3DBase< U, GlobalTag >.phi(), Vector3DBase< U, FrameTag >.phi(), Vector3DBase< U, Frame >.phi(), Vector3DBase< T, Frame >.phi(), Point3DBase< U, Frame >.phi(), Vector3DBase< float, GlobalTag >.phi(), PV3DBase< long double, PointTag, GlobalTag >.phi(), Point3DBase< U, GlobalTag >.phi(), Vector3DBase< T, FrameTag >.phi(), Vector3DBase< double, LocalTag >.phi(), Vector3DBase< U, LocalTag >.phi(), PV3DBase< Scalar, PointTag, GlobalTag >.phi(), Point3DBase< T, Frame >.phi(), Point3DBase< U, FrameTag >.phi(), HTrackVariables.phi(), PV3DBase< T, PV, F >.phi(), PV3DBase< float, PointTag, GlobalTag >.phi(), PV3DBase< float, VectorTag, LocalTag >.phi(), PV3DBase< float, PointTag, LocalTag >.phi(), PV3DBase< Scalar, VectorTag, GlobalTag >.phi(), PV3DBase< T, VectorTag, FrameTag >.phi(), PV3DBase< T, PointTag, FrameTag >.phi(), PV3DBase< align::Scalar, PointTag, GlobalTag >.phi(), reco::PattRecoPeak< float >.phi(), reco::PattRecoPeak< Real >.phi(), Geom::Spherical2Cartesian< T >.phi(), Thrust::ThetaPhi.phi, PattRecoPeak< Real >.phi(), PixelUnpackingRegions::Module.phi, PatPhotonSimpleAnalyzer::struct_recPhoton.phi, PhotonFix.phi(), HGCalSimHitValidation::hitsinfo.phi, CurvilinearTrajectoryParameters.phi(), L1MuKBMTCombinedStub.phi(), L1MuDTTrack.phi(), PGlobalSimHit::BrlHit.phi, gem::VFATdata.phi(), L1MuBMTrack.phi(), reco::IsoDeposit.phi(), reco::CastorJet.phi(), reco::CastorEgamma.phi(), PdtPdgMini.phi, Phi< double, Geom::MinusPiToPi >.phi(), Phi< double >.phi(), Phi< double > deltaphi double.phi(), Phi< T1, Range >.phi(), MuonDTLocalMillepedeAlgorithm.phi, Phi< float, Geom::MinusPiToPi >.phi(), Phi< T >.phi(), BPhysicsValidation::ParticleMonitor.phi, Phi< U >.phi(), Geom::Phi< T1, Range >.phi(), Geom::Phi< float >.phi(), HcalFlexiHardcodeGeometryLoader::HECellParameters.phi, EgammaTowerIsolationNew< NC >.phi, L1TDEMON.phi, L1GctMet::etmiss_internal.phi, Run3ScoutingElectron.phi(), EcalTrapezoidParameters.phi(), Lepton.phi, Basic2DVector< T >.phi(), Basic2DVector< Scalar >.phi(), Basic2DVector< U >.phi(), Basic2DVector< float >.phi(), HcalTB02HistoClass.phi(), Basic2DVector< double > thc.phi(), Basic2DVector< double >.phi(), Run3ScoutingPFJet.phi(), L1Analysis::L1AnalysisRecoJetDataFormat.phi, ScoutingPFJet.phi(), DDTrap.phi(), RecHitsSortedInPhi.phi(), cms::dd::DDTrap.phi(), L1TdeGCT.phi, HcalTB02Analysis.phi, L1MuDTTrackSegPhi.phi(), L1GctInternJetData.phi(), TrackerValidationVariables::AVTrackStruct.phi, cms::Analyzer_minbias.phi, L1MuBMTrackSegPhi.phi(), reco::Candidate.phi(), GeometricTimingDet.phi(), TTTrack< Ref_Phase2TrackerDigi_ >.phi(), TTTrack< T >.phi(), TTTrack< Ref_Phase2TrackerDigi_ > aTrack unsigned int.phi(), AnalyzerMinbias.phi, DTChambPhSegm.phi(), tmtt::Stub.phi(), egHLT::OffPho.phi(), Basic3DVector< long double >.phi(), l1tpf_calo::GridData< float >.phi(), l1tpf_calo::GridData< PreCluster >.phi(), GridData< T >.phi(), l1tpf_calo::GridData< T >.phi(), PhotonIDSimpleAnalyzer::struct_recPhoton.phi, l1tpf_calo::GridData< int >.phi(), ScoutingMuon.phi(), DTSectCollPhSegm.phi(), reco::CastorCluster.phi(), EcalTestPulseAnalyzer.phi, DTRecSegment4D.phi, EcalABAnalyzer.phi, GeometricDet.phi(), reco::Particle.phi(), cmsdt::metaPrimitive.phi, EcalPerEvtLaserAnalyzer.phi, SingleParticleEvent.phi(), egHLT::OffEle.phi(), TrackStruct::TrackParameterStruct.phi, MuonGeometryArrange::MGACollection.phi, pair< bool, reco::TrackBase::ParameterVector >.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double >.phi(), Basic3DVector< float > mom GlobalVector.phi(), Basic3DVector< float > seedCentre float.phi(), Basic3DVector< double > momAtVtx Basic3DVector< double > vert.phi(), Basic3DVector< double >.phi(), Basic3DVector< float >.phi(), Basic3DVector< align::Scalar >.phi(), Basic3DVector< float > seedCentre.phi(), Basic3DVector< T >.phi(), Basic3DVector< float > tcCentre float.phi(), Basic3DVector< float > pos GlobalPoint.phi(), Basic3DVector< U >.phi(), Basic3DVector< float > constituentCentre Basic3DVector< float >.phi(), Basic3DVector< Scalar >.phi(), CaloParticle.phi(), AlignmentMonitorMuonSystemMap1D::MyResidual.phi, reco::ParticleState.phi(), SimCluster.phi(), JetAnalyzer_HeavyIons_matching::MyJet.phi, TrackingParticle.phi(), CosmicRateAnalyzer.phi, HGCalClusterT< C >.phi(), reco::LeafCandidate.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::TrackPairFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::JetFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.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, dnn_inputs_2017v1.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.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, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), jpt::Map.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), SiStripLAProfileBooker.pt, TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), ValidationMisalignedTracker.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), reco::ForwardProton.pt(), L1MuBMTrack.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(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), reco::PFCluster.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::MET::Vector2.pt(), RawParticle.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, 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, 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().

bphysicsOniaDQM_cfi.vertex
vertex
Definition: bphysicsOniaDQM_cfi.py:7
HltBtagValidation_cff.Vertex
Vertex
Definition: HltBtagValidation_cff.py:32
SurveyInfoScenario_cff.seed
seed
Definition: SurveyInfoScenario_cff.py:295