EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
analysis.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file analysis.C
1 
2 TTree *htc;// = ff->Get("htc");
3 
5 {
6  // Load FairRoot & EicRoot basic libraries;
7  gROOT->Macro("$VMCWORKDIR/gconfig/rootlogon.C");
8 
9  // Open ROOT file and find "htc" tree;
10  TFile *ff = new TFile("reconstruction.root");
11  htc = (TTree*)ff->Get("htc");
12 
13  htc->Draw("track.ChiSquareCCDF()");
14 } // analysis()