Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Usage

Setup

On seaquestgpvm01 ``` source /e906/app/users/yuhw/setup.sh ```

checkout analysis repository

``` git checkout git@g.nosp@m.ithu.nosp@m.b.com:HaiwangYu/seaquest-analysis.git ```

Run simulation macro

``` cd <path-to/seaquest-analysis/Pythia8Demo> root -l -q Fun4Pythia8Demo.C //Pythia only or root -l -q Fun4Sim.C //Geant4 simulation ``` The output DSTRead.root file contanins a tree with TClonesArray branches. TClonesArray may constains:

You could use methods after loading the dinamic library. The ana.C is a simple example looping over PHG4Particle TClonesArray. Other TClonesArray branches can be accessed similarly.

Refer: https://haiwangyu.github.io/seaquest-offline-doc/index.html

Run example analysis macro

``` root -l -q ana.C ```