Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This little tutorial will help you build your own analysis code step-by-step. After finishing this section you should be able to write a complete analysis inside the JAS3 framework.
You will learn what components are necessary to make an analysis Driver. The Driver presented here will load an existing Driver that puts an object in the event, read that object back from the event and plot a property of that object.
Let's get started: Create a new file with File->New->Java File. Save it as MyExampleClass.java.
At first we need to create a class that inherits from the Driver class:

...

Save the file.
Open the file !MyJetFindingDriver.java! and compile it.
Open the Analysis101 example and compile it.
Compile and load the MyExampleClass example.