]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FORWARD/analysis2/Pass2.C
Minor fixes
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / Pass2.C
index 4e756933f1a948ecaf4854b895003a64c5ca6c0b..4b16b62dc3d242b735b1be93872cc1233ccb0203 100644 (file)
@@ -1,3 +1,8 @@
+/**
+ * @file 
+ * 
+ * @ingroup pwg2_forward_scripts
+ */
 /** 
  * Read in AOD and generate @f$ dN/d\eta@f$ for the selected 
  * trigger classes and vertex ranges 
@@ -12,7 +17,7 @@
  * @param hhd      Whether to do HHD comparison
  * @param comp     Whether to do comparisons 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_scripts
  */
 void
 Pass2(const char* file="AliAODs.root", 
@@ -26,7 +31,7 @@ Pass2(const char* file="AliAODs.root",
       bool        comp=true)
 {
   gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/Compile.C"); 
-  Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/DrawRes.C","g"); 
+  Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/AnalyseAOD.C","g"); 
   
   Int_t trgMask; 
   TString     trgs(triggers);
@@ -63,7 +68,7 @@ Pass2(const char* file="AliAODs.root",
         file, vzMin, vzMax, rebin, trgMask, trgs.Data(), energy, tit.Data(),
         hhd ? "yes" : "no", comp ? "yes" : "no");
   
-  DrawRes dr;
+  AnalyseAOD dr;
   TStopwatch t;
   t.Start();
   dr.Run(file, vzMin, vzMax, rebin, trgMask, energy, tit.Data(), hhd, comp);