Basic ROOT Tutorial Collaboration Meeting Jun2019: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
In this Tutorial you will learn the basics of ROOT. The final aim being to learn how to analyze TTree data produced by the Mu2e Offline software. | In this Tutorial you will learn the basics of ROOT. The final aim being to learn how to analyze TTree data produced by the Mu2e Offline software. | ||
== Session Prerequisites and Advance Preparation == | == Session Prerequisites and Advance Preparation == | ||
As this is a basic introduction, few prerequisites are necessary, however, it would be beneficial if attendees: | |||
* Perform the tutorial on running Mu2e art Framework jobs [[Tutorial_2019_June:Framework_jobs]] | * Perform the tutorial on running Mu2e art Framework jobs [[Tutorial_2019_June:Framework_jobs]] | ||
* Read the [https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#fitting-histograms root documentation on histogram fitting] | * Read the [https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#fitting-histograms root documentation on histogram fitting] | ||
* Download and install [https://root.cern.ch/downloading-root root] (v6.14 or later) on your machine | * Download and install [https://root.cern.ch/downloading-root root] (v6.14 or later) on your machine | ||
* Run the [https://root.cern.ch/doc/master/combinedFit_8C.html root combined fit tutorial] | * Run the [https://root.cern.ch/doc/master/combinedFit_8C.html root combined fit tutorial] | ||
== Exercises == | == Exercises == |
Revision as of 14:46, 25 May 2019
Tutorial Session Goal =
In this Tutorial you will learn the basics of ROOT. The final aim being to learn how to analyze TTree data produced by the Mu2e Offline software.
Session Prerequisites and Advance Preparation
As this is a basic introduction, few prerequisites are necessary, however, it would be beneficial if attendees:
- Perform the tutorial on running Mu2e art Framework jobs Tutorial_2019_June:Framework_jobs
- Read the root documentation on histogram fitting
- Download and install root (v6.14 or later) on your machine
- Run the root combined fit tutorial
Exercises
The majority of the session time should be spent performing exercises, which you link or embed in the session page.
- Each exercise should have a title; ie Create a histogram of the reconstructed Ce momentum
- Exercises may be chained (ie the output of the first is used as input to the next), but in that case make sure the output is also part of the downloads, so people who failed at step 1 can continue with the subsequent steps. Design this so that a failed step 1 does not overwrite the downloaded file that is the input to step 2.
- Some steps may take considerable processing time. In that case, have your attendees perform a short version (ie process 10 events), and provide the full output (ie histograms from 10^5 events) as part of the session download for subsequent steps.
- Each exercise should take between 5 and 15 minutes to complete. Count on your attendees taking twice as much time as would an experienced person.
- Start each exercise by bringing the exercise up on the main screen and going through its intro.
- Perform each step of the exercise on the screen, describing any decisions or issues involved as you do it. Check with your audience to make sure most (preferably all) have finished each step before going on to the next. If someone seems stuck, assign a session helper to help them individually and move on.
- It's OK to provide more exercises than most people will complete during the tutorial; they can be completed as homework.
Session Organization Guideline
- Encourage your attendees to ask questions if they are unsure what to do.
- You may or may not have session helpers, who have already performed the tutorial
- If someone finishes a step or exercise early, have them look around for neighbors that need help.
- If someone is stuck, have them raise their hand to get help.
Reference Materials
- Use this place to add inks to reference materials.