Skip to content

Building your Own Analysis from Here

aolivier23 edited this page Jun 1, 2021 · 1 revision

Building your Own Analysis from Here

Why write a new event loop from scratch when you have a validated example that does a lot of what your new analysis needs?

Dealing with Version Control

  1. Fork this repository. This records the version of the tutorial your new analysis came from. So, you'll be able to apply bug fixes from the tutorial to your analysis. It also gives the authors of this tutorial some credit for the boilerplate that you turn into an awesome physics result.
  2. You probably only need the main branch.
  3. It may be convenient to record the latest commit hash in your .root files.

Some Improvements Needed

  • Running on the grid
  • Fine-grained control of model. You don't want to recompile runEventLoop to switch between warping studies. You could try a text file with the names of Reweighters to use.
  • An easier way to add new Cuts. Similar to the model, you'll find yourself testing new Cuts very often with your analysis.

Other Tools You May Need

  • "Exclusive Variables" and Event
  • 2D analysis tools
  • The nuclear targets