EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnaTree.C
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file AnaTree.C
1 // this macro compiles and runs AnalyzeTree.cxx, which takes as input the
2 // starlight.root file produced by convertStarlightAsciiToTree.cxx
3 // output histograms are stored in starlight_histos.root
4 //
5 
6 #include "AnalyzeTree.cxx"
7 
8 void AnaTree(){
9  //gROOT->ProcessLine(".L AnalyzeTree.cxx");
10  AnalyzeTree* l = new AnalyzeTree("ntuple_slight.root");
11 l->Loop();
12 }