Notes on Tracking

Tracking performance study with Boris

Boris's tasks

Task 1

Task: Learn how to create a root tree with simple track variables.

Status: Complete

  • Screenshot of myTrackVariables:

    myTrackVariables.jpg

Task 2

Task: Learn how to plot the simple variables in the root tree using TBrowser and the mouse. Do simple histogram manipulations as fitting, re-binning and adding labels from the graphical interface.

Status: Complete

  • Using TBrowser and graphical fit options:

    z03.jpg

Task 3

Task: Repeat Task 2 using a root macro

  • Open your root file which contains the root tree.
  • Access the root tree.
  • Plot one simple variable (in this case z_{0}).
  • Fit the histogram.
  • Get the fit parameters back from the histogram object. You should be able to write these to a file if necessary.

Status: Complete

  • Using a macro to plot and fit z_{0}:

    z02fit.jpg

  • Exercise in root fitting.:

    backgroundfit.jpg

Task 4

Task: Add additional variables to the root tree related to the simTracks. Use the same variables as reco::track variable tree.

Status: Incomplete

Task 5

Task: Learn how to associate a reco::Track to a simTrack and vice versa. After you learn that, we can add to root tree some more interesting numbers like the residual of track parameters:

  • deltaTIP: recotrack_transverseImpactParameter - simTrack_transverseImpactParamer
  • ΔpT/pT
  • Δφ
  • Δη
  • fraction of collected rechits with respect to the simulated ones.
  • purity of the collected rechits
  • track reconstruction effeciency and fate rate flag
  • etc.

Status: Incomplete

Task 6

Task: Plot all the values stored in the tree at point 5 versus other simtrack and reco::track parameters

  • efficiency vs η (you can compare with official plot)
  • efficiency vs pT
  • resolution of pT vs purity of the collected hits (another new plot)
  • etc.

Status: Incomplete

Task 7

Task: After we have arranged all the previous machinery for a single track sample, we will move to a real multitrack sample to see what happens to track reconstruction inside a collimated jet or for a very energetic μ.

Status: Incomplete

Plot's for Prof. Sharma

For a sample of 50,000 Z→μμ events:

  • d0 of Tracks with PT > 15 GeV and χ2/d.o.f. < 4:
    d01.jpg

  • d0 of Tracks with PT > 15 GeV and χ2/d.o.f. ≥ 4:
    d02.jpg

  • z0 of Tracks with PT > 15 GeV and χ2/d.o.f. < 4:
    z01.jpg

  • z0 of Tracks with PT > 15 GeV and χ2/d.o.f. ≥ 4:
    z02.jpg

Plot for Boris

  • This is from 50k Z→μμ events with PT > 15 GeV and χ2/d.o.f. < 4 and number of valid hits > 8:

    z0plot.png

Track Quality Study

Various kinematical variables of reconstructed tracks Tracks.

No Cuts (RecoTrack)

I loop over all reconstructed tracks in an event and plot the following kinematical variables and detector information: PT, η, φ, d0, z0, and the number of valid hits in the tracker.

Matched vs Unmatched.

In each event I have two loops:

  • The first loop is over the RecoTracks in each event. Next I define a match as a RecoTrack that has a corresponding SimTrack associated by hits using CMSSW_1_3_1 TrackAssociatorByHits that Boris showed me. Unmatched is defined as NOT Matched.

  • The Second loop is over the SimTracks in each event. Next I define a match as a SimTrack that has a corresponding RecoTrack associated by hits again using CMSSW_1_3_1 TrackAssociatorByHits. Unmatched is defined as NOT Matched.

With Cuts

  • The following cuts were applied:
    • |η| < 2.5
    • # valid hits > 7
    • |d0| < 1 mm
    • |z0| < 30 cm
    • χ2/d.o.f. < 10

Δ = Reco - Sim.

  • Calculated the difference between RecoTrack and SimTrack variables.

Pull = ΔVariable / VariableError. Note PT error has not been implemented yet and I'm not sure that Δφ has been calculated correctly.

  • Pull of Various Kinematical Variables: Pull.png

-- RyanKelley - 01 Aug 2007

Topic attachments
I Attachment Action Size Date Who Comment
pdfpdf Delta.pdf manage 26.2 K 2007/08/01 - 20:01 RyanKelley  
pngpng Delta.png manage 31.5 K 2007/08/01 - 20:02 RyanKelley  
pdfpdf MatchedReco.pdf manage 35.1 K 2007/07/31 - 18:57 RyanKelley  
pngpng MatchedReco.png manage 44.1 K 2007/07/31 - 19:21 RyanKelley test 2
pdfpdf MatchedSim.pdf manage 36.9 K 2007/07/31 - 22:14 RyanKelley  
pngpng MatchedSim.png manage 52.9 K 2007/07/31 - 22:14 RyanKelley  
pngpng MatchedVariables.png manage 52.0 K 2007/07/31 - 16:58 RyanKelley  
pngpng Pull.png manage 32.8 K 2007/07/27 - 00:58 RyanKelley  
pdfpdf RawVariables.pdf manage 26.6 K 2007/07/31 - 21:13 RyanKelley Various kinematical variables or reco Tracks (no Cuts).
pngpng RawVariables.png manage 41.0 K 2007/07/31 - 16:46 RyanKelley  
pdfpdf RawVariablesQCD50to80.pdf manage 27.4 K 2007/08/01 - 18:13 RyanKelley  
pdfpdf TrackParametersFromBasePrinciples.pdf manage 784.8 K 2007/11/08 - 00:27 RyanKelley  
jpgjpg backgroundfit.jpg manage 25.9 K 2007/06/27 - 20:35 RyanKelley Exercise in root fitting.
pdfpdf cutsMatchedReco.pdf manage 36.3 K 2007/08/01 - 15:55 RyanKelley cuts
pngpng cutsMatchedReco.png manage 50.3 K 2007/08/01 - 15:55 RyanKelley cuts
pdfpdf cutsNotMatchedReco.pdf manage 33.7 K 2007/08/01 - 16:19 RyanKelley cuts not matched
pngpng cutsNotMatchedReco.png manage 49.6 K 2007/08/01 - 16:23 RyanKelley cuts not matched
jpgjpg d01.jpg manage 65.3 K 2007/06/26 - 21:41 RyanKelley d0 of Tracks with PT > 15 GeV and χ2/d.o.f. < 4
jpgjpg d02.jpg manage 55.9 K 2007/06/26 - 21:42 RyanKelley d0 of Tracks with PT > 15 GeV and χ2/d.o.f. ≥ 4
jpgjpg myTrackVariables.jpg manage 55.6 K 2007/06/27 - 17:30 RyanKelley Screenshot of myTrackVariables
pngpng normMatchedVariables.png manage 53.4 K 2007/07/27 - 00:04 RyanKelley Normalized plots of various kinematical variables or reco Tracks (Matched vs Unmatched).
pngpng normMatchedVariables2.png manage 43.9 K 2007/07/27 - 17:13 RyanKelley Normalized plots of various kinematical variables or reco Tracks (Matched vs Unmatched) 2.
jpgjpg z01.jpg manage 52.1 K 2007/06/26 - 21:43 RyanKelley z0 of Tracks with PT > 15 GeV and χ2/d.o.f. < 4
jpgjpg z02.jpg manage 56.5 K 2007/06/26 - 21:44 RyanKelley z0 of Tracks with PT > 15 GeV and χ2/d.o.f. ≥ 4
jpgjpg z02fit.jpg manage 32.0 K 2007/06/27 - 19:12 RyanKelley Using a macro to plot and fit z_{0}
jpgjpg z03.jpg manage 29.0 K 2007/06/27 - 18:14 RyanKelley Using TBrowser and graphical fit options
pngpng z0plot.png manage 31.3 K 2007/06/29 - 22:52 RyanKelley z0 of Tracks with PT > 15 GeV? and χ2/d.o.f. ≥ 4 and numHits ≥ 8
Topic revision: r14 - 2007/11/08 - 00:28:09 - RyanKelley
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback