The C++ Path
Congratulations on choosing to work with C++. It’s obviously better than the The Python Path. 1
There are a lot of topics listed below. Don’t let that discourage you. Many of the sections below are quite short. 2 Again, the important thing is for you to learn something from doing what exercises you can in the time we have.
- Differences between C++ and Python
- C++ Walkthrough: Simple analysis using the Draw command (10 minutes)
- Pointers: A too-short explanation (for those who don’t know C++ or C) (5 minutes)
- C++ Walkthrough: Simple analysis using the Draw command, part 2 (10 minutes)
- Walkthrough: Using C++ to analyze a Tree (10 minutes)
- C++ Walkthrough: Running the Analyze macro (10 minutes)
- C++ Walkthrough: Making a histogram with Analyze (15 minutes)
- C++ Exercise 2: Adding error bars to a histogram (5 minutes)
- Exercise 3: Two histograms in the same loop (15 minutes)
- Exercise 4: Displaying fit parameters (10 minutes)
- Exercise 5: Scatterplot (10 minutes)
- Walkthrough: Calculating our own variables (10 minutes)
- Exercise 6: Plotting a derived variable (10 minutes)
- Exercise 7: Trig functions (15 minutes)
- C++ Walkthrough: Applying a cut (10 minutes)
- Exercise 8: Picking a physics cut (15 minutes)
- Exercise 9: A bit more physics (15 minutes)
- Exercise 10: Writing histograms to a file (10 minutes)
- Exercise 11: Stand-alone program (optional) (60 minutes or more if you don’t know C++)
Footnotes