]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Documentation fixes for doxygen
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jul 2011 09:10:30 +0000 (09:10 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jul 2011 09:10:30 +0000 (09:10 +0000)
30 files changed:
PWG2/FORWARD/analysis2/SPDComparison.C
PWG2/FORWARD/analysis2/qa/DrawBeforeAfter.C
PWG2/FORWARD/analysis2/qa/DrawCuts.C
PWG2/FORWARD/analysis2/qa/DrawELossPoisson.C
PWG2/FORWARD/analysis2/qa/DrawMCResult.C
PWG2/FORWARD/analysis2/qa/DrawNeighbors.C
PWG2/FORWARD/analysis2/qa/DrawRecAnaEloss.C
PWG2/FORWARD/analysis2/qa/DrawSteps.C
PWG2/FORWARD/analysis2/scripts/DrawFlowPDF.C
PWG2/FORWARD/analysis2/scripts/DrawRubensCorr.C
PWG2/FORWARD/analysis2/scripts/DrawUA5Ratios.C
PWG2/FORWARD/analysis2/scripts/LoadLibs.C
PWG2/FORWARD/analysis2/scripts/LoadPars.C
PWG2/FORWARD/analysis2/scripts/MakeChain.C
PWG2/FORWARD/analysis2/scripts/RunViaPlugin.C [deleted file]
PWG2/FORWARD/analysis2/scripts/SimpledNdeta.C
PWG2/FORWARD/analysis2/scripts/dndeta_final.C
PWG2/FORWARD/analysis2/tests/TestAcc.C
PWG2/FORWARD/analysis2/tests/TestELossDist.C
PWG2/FORWARD/analysis2/tests/TestFitELoss.C
PWG2/FORWARD/analysis2/tests/TestMakeELossFits.C
PWG2/FORWARD/analysis2/tests/TestMarkers.C
PWG2/FORWARD/analysis2/tests/TestPoisson.C
PWG2/FORWARD/analysis2/tests/TestRunMakeELossFit.C
PWG2/FORWARD/analysis2/trains/BuildTrain.C
PWG2/FORWARD/analysis2/trains/MakeAODTrain.C
PWG2/FORWARD/analysis2/trains/MakeFMDELossTrain.C
PWG2/FORWARD/analysis2/trains/MakeMCCorrTrain.C
PWG2/FORWARD/analysis2/trains/MakedNdetaTrain.C
PWG2/FORWARD/analysis2/trains/TrainSetup.C

index 06f4975393717bb5bd6a6da8695f2696889eb38f..2e742437e443d73878128faa92fa2d47e4431afe 100644 (file)
@@ -1,61 +1,7 @@
 /**
- * @section Forward/Backward Correlations 
+ * A task to do a comparison between tracklets and clusers in the SPD
  * 
- * A script containing a class ForwardBackwardTask and a
- * function to run the analysis.
- *
- * The class ForwardBackwardTask is an AliAnalysisTaskSE.  That means
- * that it have facilities for analysing ESD, AOD, and MC input.  The
- * process of running the code is handled by an AliAnalysisManager
- * (created in the function).  It uses a TSelector to loop over a
- * TChain of data.  
- * 
- * The flow of the code is 
- * @verbatim 
- *    +-----------------------+
- *    | Create Analysis Train |-> ForwardBackwardTask constructor 
- *    +-----------------------+
- *                |
- *                V
- *    +-----------------------+
- *    | Intialise all tasks   |-> ForwardBackwardTask::Init (not implemented)
- *    +-----------------------+
- *                |
- *                V
- *    +-----------------------+
- *    | Split job on workers  |
- *    +-----------------------+
- *                |
- *                V
- *    +-----------------------+
- *    | Create output objects |-> ForwardBackwardTask::CreateOutputObjects
- *    | on each worker        |
- *    +-----------------------+
- *                |
- *                V 
- *    +-----------------------+
- *    | More events on this   |<-----+   
- *    | worker node?          |--+   |
- *    +-----------------------+  |   |
- *                | no           |   |
- *                |              V   |
- *                |   +-------------------+
- *                |   | Process one event |->ForwardBackwardTask::UserExec
- *                |   +-------------------+
- *                |
- *                V
- *    +-----------------------+
- *    | Merge output of each  |
- *    | worker node           |
- *    +-----------------------+
- *                |
- *                V
- *    +-----------------------+
- *    | End of job processing |-> ForwardBackwardTask::Terminate 
- *    +-----------------------+
- * @endverbatim 
- *
- * Since the class ForwardBackwardTask derives from a compiled class
+ * Since the class SPDComparisonTask derives from a compiled class
  * (AliAnalysisTaskSE) we need to compile that code.  The script will,
  * when executed in the AliROOT prompt load it self again and byte
  * compile it with the preprocessor flag BUILD defined.  \
  * script is loaded using 
  * 
  * @verbatim 
- *   Root> .x ForwardBackward.C 
+ *   Root> .x SPDComparison.C 
  * @endverbatim 
  * 
- * which means that CINT will only see the function ForwardBackward.
+ * which means that CINT will only see the function SPDComparison.
  * In that function, we define the BUILD preprocessor symbol 
  *
  * @code 
  * @f$\eta@f$ range.  One can add (possibly overlapping) @f$\eta@f$
  * ranges by calling the member function AddBin 
  * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 class SPDComparisonTask : public AliAnalysisTaskSE
 {
index 6b6df6ea4ac33f0f695e6593059735b7a4f86259..64f3a0603a5e34d68d166fd76826670f16e1d585 100644 (file)
@@ -1,3 +1,12 @@
+/** 
+ * Draw the before/after merging image for a single ring
+ * 
+ * @param p 
+ * @param d 
+ * @param r 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawRingBeforeAfter(TList* p, UShort_t d, Char_t r)
 {
@@ -26,6 +35,13 @@ DrawRingBeforeAfter(TList* p, UShort_t d, Char_t r)
 }
 
 
+/** 
+ * Draw the before/after sharing image for all rings 
+ * 
+ * @param filename 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawBeforeAfter(const char* filename="forward.root")
 {
@@ -85,3 +101,6 @@ DrawBeforeAfter(const char* filename="forward.root")
   
   
  
+//
+// EOF
+//
index 15fa457e8f8689289cab8c560e97d358a93fe95e..ca5b6a7d179db56267dbca69b41e39c95634c1f7 100644 (file)
@@ -1,3 +1,10 @@
+/** 
+ * Draw cuts used in analysis
+ * 
+ * @param filename 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawCuts(const char* filename="forward.root")
 {
index 27fdbe494781d14048e09bd10d3ad23a1509aae7..61b106137ec74398bafd8f32b8e35495e6e2cf3f 100644 (file)
@@ -5,6 +5,8 @@
  * 
  * @brief  A script to draw the Poisson vs Energy Loss correlation 
  * 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
  * 
  */
 
@@ -19,6 +21,8 @@
  * @param xmax         Maximum
  * 
  * @return The regression coefficient 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
  */
 Double_t
 DrawRingELossPoisson(TList* p, UShort_t d, Char_t r, 
@@ -153,6 +157,8 @@ DrawRingELossPoisson(TList* p, UShort_t d, Char_t r,
  * @param filename File to read
  * @param xmax     Minimum X
  * @param xmin     Maximum X 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
  */
 void
 DrawELossPoisson(const char* filename="forward.root", 
index ae418db558915b9fee7455a44e36196364ad94e0..290606e9833137afc1f858d3c77618cbf246f9d1 100644 (file)
@@ -1,3 +1,24 @@
+/**
+ * @file   DrawMCResult.C
+ * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
+ * @date   Thu Jul  7 10:57:01 2011
+ * 
+ * @brief  Script to draw steps (deprecated version - use DrawSteps.C)
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
+/** 
+ * 
+ * 
+ * @param forward 
+ * @param sub 
+ * @param name 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 THStack*
 GetStack(const TList& forward,  const char* sub, const char* name)
 {
@@ -12,6 +33,16 @@ GetStack(const TList& forward,  const char* sub, const char* name)
   return ret;
 }
 
+/** 
+ * 
+ * 
+ * @param h 
+ * @param rebin 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 TH1* 
 Rebin(TH1* h, Int_t rebin)
 {
@@ -21,6 +52,16 @@ Rebin(TH1* h, Int_t rebin)
   return h;
 }
 
+/** 
+ * 
+ * 
+ * @param h1 
+ * @param h2 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 TH1*
 Ratio(const TH1* h1, const TH1* h2)
 {
@@ -35,7 +76,17 @@ Ratio(const TH1* h1, const TH1* h2)
 
   return copy;
 }
-
+/** 
+ * 
+ * 
+ * @param r 
+ * @param h1 
+ * @param h2 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 Int_t 
 Ratio(THStack* r, const THStack* h1, const THStack* h2)
 {
@@ -55,7 +106,15 @@ Ratio(THStack* r, const THStack* h1, const THStack* h2)
   }
   return nH;
 }
-
+/** 
+ * 
+ * 
+ * @param filename 
+ * @param rebin 
+ * @param ratios 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawMCResult(const char* filename="forward.root", Int_t rebin=1,
             Bool_t ratios=true)
@@ -256,3 +315,6 @@ DrawMCResult(const char* filename="forward.root", Int_t rebin=1,
   
   
  
+//
+// EOF
+//
index 1c2b9207a446c1013116f1b975603ba2f5afd329..e6dcbe9bca7ff850c35e9fbe05dd231efe1a7995 100644 (file)
@@ -1,3 +1,12 @@
+/** 
+ * Draw the correlation of neighboring strips before/after merging 
+ * 
+ * @param p  List
+ * @param d  Detector
+ * @param r  Ring
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawRingNeighbors(TList* p, UShort_t d, Char_t r)
 {
@@ -48,7 +57,13 @@ DrawRingNeighbors(TList* p, UShort_t d, Char_t r)
   gPad->cd();
 }
 
-
+/** 
+ * Draw the correlation of neighboring strips before/after merging 
+ * 
+ * @param filename 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawNeighbors(const char* filename="forward.root")
 {
@@ -100,3 +115,6 @@ DrawNeighbors(const char* filename="forward.root")
   
   
  
+//
+// EOF
+// 
index 96e75d499dd58e265467aa6daa7f335779b81acc..212559e7eb90c31908d88ed04e106cb9535c7339 100644 (file)
@@ -1,3 +1,14 @@
+/**
+ * @file   DrawRecAnaEloss.C
+ * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
+ * @date   Thu Jul  7 10:58:50 2011
+ * 
+ * @brief  Draw energ-loss before/after merging and used in the
+ * density calculations 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
+
 #ifndef __CINT__
 #include <TList.h>
 #include <TH1.h>
 class TLatex;
 #endif
 
+/** 
+ * Draw some text
+ * 
+ * @param l 
+ * @param x 
+ * @param y 
+ * @param c1 
+ * @param c2 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void 
 DrawText(TLatex* l, Double_t x, Double_t& y, const char* c1, const char* c2)
 {
@@ -20,7 +42,17 @@ DrawText(TLatex* l, Double_t x, Double_t& y, const char* c1, const char* c2)
   l->DrawLatex(x,    y, c1);
   l->DrawLatex(x+.4, y, c2);
 }
-
+/** 
+ * Draw the energy loss before/after mergin for a single ring
+ * 
+ * @param p      List 1 
+ * @param p2     List 2
+ * @param lowCut Low cut
+ * @param d      Detector
+ * @param r      Ring 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawRingRecAnaEloss(TList* p, TList* p2, Double_t lowCut, UShort_t d, Char_t r)
 {
@@ -113,7 +145,13 @@ DrawRingRecAnaEloss(TList* p, TList* p2, Double_t lowCut, UShort_t d, Char_t r)
   gPad->cd();
 }
 
-
+/** 
+ * Draw energy loss before/after merging 
+ * 
+ * @param filename 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawRecAnaEloss(const char* filename="forward.root")
 {
@@ -184,3 +222,6 @@ DrawRecAnaEloss(const char* filename="forward.root")
   
   
  
+//
+// EOF
+//
index 0856ea866b24ca2ec43fb85293eecb98c451f29a..5af9af6dea9b52f2f3516c53ecf31345218843d9 100644 (file)
@@ -1,3 +1,23 @@
+/**
+ * 
+ * @defgroup pwg2_forward_analysis_scripts_qa Quality Assurance scripts
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
+ * 
+ */
+
+/** 
+ * Get a stack 
+ * 
+ * @param forward   Input list
+ * @param sub       Sub-list
+ * @param name      Name of stack
+ * 
+ * @return A stack or null
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 THStack*
 GetStack(const TList& forward,  const char* sub, const char* name)
 {
@@ -16,6 +36,16 @@ GetStack(const TList& forward,  const char* sub, const char* name)
   return ret;
 }
 
+/** 
+ * Rebin a histogram
+ * 
+ * @param h      Histogram
+ * @param rebin  Rebinning factor
+ * 
+ * @return Histogram
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 TH1* 
 Rebin(TH1* h, Int_t rebin)
 {
@@ -25,6 +55,16 @@ Rebin(TH1* h, Int_t rebin)
   return h;
 }
 
+/** 
+ * Ratio of two histograms 
+ * 
+ * @param h1 numerator
+ * @param h2 denominator
+ * 
+ * @return Ratio
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 TH1*
 Ratio(const TH1* h1, const TH1* h2)
 {
@@ -40,6 +80,17 @@ Ratio(const TH1* h1, const TH1* h2)
   return copy;
 }
 
+/** 
+ * Ratio all histograms in stacks 
+ * 
+ * @param r  Result
+ * @param h1 Numerators
+ * @param h2 Denominators 
+ * 
+ * @return Number of histograms 
+  * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+*/
 Int_t 
 Ratio(THStack* r, const THStack* h1, const THStack* h2)
 {
@@ -60,6 +111,15 @@ Ratio(THStack* r, const THStack* h1, const THStack* h2)
   return nH;
 }
 
+/** 
+ * Add a histogram to the all stack
+ * 
+ * @param all         Stack
+ * @param h           Histogram
+ * @param singleStep  Showing individual steps?
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+*/
 void
 AddToAll(THStack* all, const TH1* h, Bool_t singleStep)
 {
@@ -72,6 +132,15 @@ AddToAll(THStack* all, const TH1* h, Bool_t singleStep)
   all->Add(copy);
 }
 
+/** 
+ * Dim an entry
+ * 
+ * @param thisId  This step
+ * @param step    Current step
+ * @param e       Entry in legend 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DimEntry(Int_t thisId, Int_t step, TLegendEntry* e)
 {
@@ -82,6 +151,17 @@ DimEntry(Int_t thisId, Int_t step, TLegendEntry* e)
   e->SetTextColor(col);
 }
 
+/** 
+ * Draw a step
+ * 
+ * @param deltas   From energy loss
+ * @param nchs     After 2nd correction
+ * @param prims    Primaries
+ * @param dndeta   Result 
+ * @param step     Step number 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void
 DrawStep(THStack* deltas, THStack* nchs, THStack* prims, 
         TH1*     dndeta, Int_t step)
@@ -208,7 +288,14 @@ DrawStep(THStack* deltas, THStack* nchs, THStack* prims,
   ltx->Draw();
 }
 
-
+/** 
+ * Draw steps
+ * 
+ * @param filename Input file 
+ * @param single   Whether to show individial steps 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_qa
+ */
 void DrawSteps(const char* filename="forward.root", Bool_t single=true)
 {
   gStyle->SetPalette(1);
index f4190d18e1f00c4c5fb077c10becdc92c9130eb8..b5b014734a0ceb92bbeb47990ab3bc7bad103084 100644 (file)
@@ -8,10 +8,24 @@
 #include <TLegend.h>
 #include <TMath.h>
 #include <TLatex.h>
-
+/**
+ * @defgroup pwg2_forward_analysis_scripts_flow Flow scripts
+ * @ingroup pwg2_forward_analysis_scripts
+ * 
+ */
 // Data members
 const char* pdfName = "Flow.pdf";
 
+
+/** 
+ * @todo Document me  
+ * 
+ * @param name 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 TCanvas* SetupCanvas(TString name)
 {
   TCanvas* c = new TCanvas("c","c",640,960);
@@ -121,6 +135,13 @@ TCanvas* SetupCanvas(TString name)
   return c;
 }
 
+/** 
+ * @todo Document me 
+ * 
+ * @param f 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 void MakeFmdAndSpdPlots(TFile* f) 
 {
   TList* qList = static_cast<TList*>(f->Get("FlowResults/QCumulants"));
@@ -245,6 +266,13 @@ void MakeFmdAndSpdPlots(TFile* f)
    } // end of c
 }
 
+/** 
+ * @todo Document me  
+ * 
+ * @param f 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 void Make2ParticlePlots(TFile* f) 
 {
   TList* qList = static_cast<TList*>(f->Get("FlowResults/QCumulants"));
@@ -400,6 +428,13 @@ void Make2ParticlePlots(TFile* f)
    } // end of c
 }
 
+/** 
+ * @todo Document me  
+ * 
+ * @param f 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 void Make4ParticlePlots(TFile* f) 
 {
   TList* qList = static_cast<TList*>(f->Get("FlowResults/QCumulants"));
@@ -560,6 +595,13 @@ void Make4ParticlePlots(TFile* f)
   } // end of c
 }
 
+/** 
+ * @todo Document me  
+ * 
+ * @param f 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 void MakeMonitoringPlots(TFile* f) 
 {
   TList* qList = static_cast<TList*>(f->Get("FlowResults/QCumulants"));
@@ -590,6 +632,13 @@ void MakeMonitoringPlots(TFile* f)
 }
 
 
+/** 
+ * Document me  
+ * 
+ * @param file 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_flow
+ */
 void DrawFlowPDF(char* file = "AnalysisResults.root") 
 {
   gStyle->SetOptStat(0);
@@ -605,3 +654,6 @@ void DrawFlowPDF(char* file = "AnalysisResults.root")
   MakeMonitoringPlots(f);
   c0->Print(Form("%s]", pdfName));
 }
+//
+// EOF
+//
index 27de9dc661b8a0b2a9f1f304427e0bfd409d8888..94c8a30212e0ba123269273353578aaac1bc32a5 100644 (file)
@@ -1,3 +1,11 @@
+/** 
+ * Draw Rubens corrections 
+ * 
+ * @param fname 
+ * @param hname 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 void
 DrawRubensCorr(const char* fname="rubensRatio.root",
               const char* hname = "dNdEtaCor1D_cls")
@@ -62,3 +70,6 @@ DrawRubensCorr(const char* fname="rubensRatio.root",
   c->SaveAs("rubens_corr.png");
 }
 
+//
+// EOF
+//
index e1e413fbe326fac6df088c2cc080f567872a56d9..b5121e44011abcd1da712c8d6384a20900e3b2bc 100644 (file)
@@ -6,6 +6,8 @@
  * @param name Name of object to retrieve 
  * 
  * @return Object, or null 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TObject*
 GetObject(const TObject* l, const char* name)
@@ -33,6 +35,8 @@ GetObject(const TObject* l, const char* name)
  * @param hname  Name of histogram 
  * 
  * @return Pointer to histogram or null
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TH1D*
 GetHist(TDirectory* dir, 
@@ -68,6 +72,8 @@ GetHist(TDirectory* dir,
  * @param sub    Sub-list name
  * 
  * @return Histogram pointer or null
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TH1D* 
 GetHist(TDirectory* dir, 
@@ -90,6 +96,8 @@ GetHist(TDirectory* dir,
  * @param xhigh  On return, upper eta bound
  * 
  * @return Newly allocated histogram or null
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TH1* 
 Merge(const TH1* cen, const TH1* fwd, Double_t& xlow, Double_t& xhigh)
@@ -137,6 +145,8 @@ Merge(const TH1* cen, const TH1* fwd, Double_t& xlow, Double_t& xhigh)
  * @param pp Pointer to parameter array 
  * 
  * @return @f$g(x;A_1,A_2,\sigma_1,\sigma_2)@f$
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 Double_t myFunc(Double_t* xp, Double_t* pp)
 {
@@ -159,6 +169,8 @@ Double_t myFunc(Double_t* xp, Double_t* pp)
  * @param pp Pointer to parameter array (8 entries)
  * 
  * @return @f$r(x)@f$ 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 Double_t myRatio(Double_t* xp, Double_t* pp) 
 {
@@ -176,6 +188,8 @@ Double_t myRatio(Double_t* xp, Double_t* pp)
  * @param xhigh  Upper x bound 
  *
  * @return Fitted function 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TF1* 
 FitMerged(TH1* tmp, Double_t xlow, Double_t xhigh)
@@ -202,6 +216,8 @@ FitMerged(TH1* tmp, Double_t xlow, Double_t xhigh)
  * 
  * @param tmp Histogram
  * @param fit Fit 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 void
 MakeSysError(TH1* tmp, TF1* fit)
@@ -224,7 +240,9 @@ MakeSysError(TH1* tmp, TF1* fit)
  * @param g 
  * 
  * @return 
-   */
+ *
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 TH1* 
 Graph2Hist(const TGraphAsymmErrors* g)
 {
@@ -283,6 +301,8 @@ Graph2Hist(const TGraphAsymmErrors* g)
  * @param title (Optional) title 
  * 
  * @return Ratio in a histogram 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TH1*
 Ratio(TH1* h, TF1* f, const char* title)
@@ -324,6 +344,8 @@ Ratio(TH1* h, TF1* f, const char* title)
  * @param xhigh  On return, upper X bound
  * 
  * @return Merged histogram or null 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TH1D* 
 GetUA5Data(UShort_t type, TH1*& p, TH1*& n,
@@ -362,8 +384,10 @@ GetUA5Data(UShort_t type, TH1*& p, TH1*& n,
 
 //____________________________________________________________________
 /** 
+ * Draw ratios to UA5 data 
  * 
- * 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 void
 DrawUA5Ratios(const char* fname="forward_dndeta.root", UShort_t rebin=5)
index 6353954607ab8bd3a77759dbc1f6dea467ad0524..a92f65fecb726cd835e148bf5085a147216d0131 100644 (file)
@@ -12,24 +12,6 @@ LoadLibs()
   gROOT->LoadClass("AliAnalysisManager",   "libANALYSIS");
   gROOT->LoadClass("AliAnalysisTaskSE",    "libANALYSISalice");
   gROOT->LoadClass("AliAODForwardMult",    "libPWG2forward2");
-
-#if 0
-  const char* test = gSystem->GetLibraries("PWG2forward2","D",false);
-  if (test && test[0] != '\0') { 
-    // TInterpreter* inter = gROOT->GetInterpreter();
-    // inter->ClearFileBusy();
-    // inter->UnloadFile(inter->GetCurrentMacroName());
-    return;
-  }
-  gSystem->Load("libVMC");
-  // gSystem->Load("libTree");
-  gSystem->Load("libSTEERBase");
-  gSystem->Load("libESD");
-  gSystem->Load("libANALYSIS");
-  gSystem->Load("libANALYSISalice");
-  gSystem->Load("libPWG0base");
-  gSystem->Load("libPWG2forward2");
-#endif
 }
 //
 // EOF
index 7d05ea65a156eae01148d1155fa3fe3634a98096..a4d109f0da330ccfb6d67f45bb132a5074227f29 100644 (file)
@@ -1,6 +1,7 @@
 /** 
  * Set-up for a PROOF analysis job.   Make TProof object and load pars. 
  * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 Bool_t
 LoadPars(Int_t nWorkers=4)
index ecbaa0bcb326b4520819c2cfe8c246529de41fd1..bcd6a9e2514828eba95a9cb7d6e134449396c5ff 100644 (file)
@@ -7,8 +7,9 @@
  * @param chain      Chain to add data to 
  * @param pattern    Pattern that the file name must contain
  * @param recursive  Whether to scan recursively 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
-
 void
 ScanDirectory(TSystemDirectory* dir, TChain* chain, 
              const char* pattern, bool recursive)
@@ -68,6 +69,8 @@ ScanDirectory(TSystemDirectory* dir, TChain* chain,
  * @param recursive  Whether to recurse into sub-directories 
  * 
  * @return Pointer to newly create chain, or null
+ *
+ * @ingroup pwg2_forward_analysis_scripts
  */
 TChain*
 MakeChain(const char* what, const char* datadir, bool recursive=false)
@@ -95,3 +98,6 @@ MakeChain(const char* what, const char* datadir, bool recursive=false)
 
   return chain;
 }
+//
+// EOF
+//
diff --git a/PWG2/FORWARD/analysis2/scripts/RunViaPlugin.C b/PWG2/FORWARD/analysis2/scripts/RunViaPlugin.C
deleted file mode 100644 (file)
index 1bd8d0b..0000000
+++ /dev/null
@@ -1,310 +0,0 @@
-class AliAnalysisAlien;
-
-//____________________________________________________________________
-// Forward declarations 
-AliAnalysisAlien*
-CreateAlienHandler(const TString& runMode,
-                  const TString& dataDir,
-                  const TArrayI& runs,
-                  const TString& anaSource,
-                  const TString& addLibs,
-                  const TString& anaName,
-                  Bool_t         uPar,
-                  const TString& aliceTag, 
-                  const TString& rootTag, 
-                  const TString& apiTag);
-
-//____________________________________________________________________
-/** 
- * 
- * 
- * @param runMode 
- * @param dataDir 
- * @param what 
- * @param nEvents 
- * @param mc 
- */
-void
-RunViaPlugin(const Char_t* runMode="", 
-            const Char_t* dataDir=".", 
-            const Char_t* what="aod",
-            Long64_t      nEvents=-1, 
-            Bool_t        mc=false)
-{
-  gSystem->Load("libANALYSIS");
-  gSystem->Load("libANALYSISalice");
-
-  TString mode(runMode); 
-  mode.ToLower();
-  Bool_t proof = mode.Contains("proof");
-  if (proof) { 
-    gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/LoadPars.C");
-    LoadPars(0);
-  }
-    
-  
-  // --- Creating the manager and handlers ---------------------------
-  AliAnalysisManager *mgr  = new AliAnalysisManager("Analysis Train", 
-                                                   "FMD analysis train");
-
-  // --- ESD input handler -------------------------------------------
-  AliESDInputHandler *esdHandler = new AliESDInputHandler();
-  esdHandler->SetInactiveBranches("AliESDACORDE "
-                                 "AliRawDataErrorLogs "
-                                 "CaloClusters "
-                                 "Cascades "
-                                 "EMCALCells "
-                                 "EMCALTrigger "
-                                 "Kinks "
-                                 "Cascades "
-                                 "MuonTracks "
-                                 "TrdTracks "
-                                 "HLTGlobalTrigger");
-  mgr->SetInputEventHandler(esdHandler);      
-       
-  // --- Monte Carlo handler -----------------------------------------
-  if (mc) {
-    AliMCEventHandler* mcHandler = new AliMCEventHandler();
-    mgr->SetMCtruthEventHandler(mcHandler);
-    mcHandler->SetReadTR(true);    
-  }
-
-  // --- AOD output handler ------------------------------------------
-  AliAODHandler* aodHandler   = new AliAODHandler();
-  mgr->SetOutputEventHandler(aodHandler);
-  aodHandler->SetOutputFileName("AliAODs.root");
-
-  // --- What to do --------------------------------------------------
-  TString anaName("FMD");
-  TString swhat(what);
-  swhat.ToLower();
-  if (swhat.Contains("aod")) { 
-    // --- Add tasks ---------------------------------------------------
-    // Physics selection 
-    gROOT->LoadMacro("$ALICE_ROOT/ANALYSIS/macros/AddTaskPhysicsSelection.C");
-    AddTaskPhysicsSelection(mc, kTRUE, kTRUE);
-    
-    
-    // FMD 
-    gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/AddTaskForwardMult.C");
-    AddTaskForwardMult(mc);
-    anaName = "FMD_AOD";
-  }
-  else if (swhat.Contains("eloss")) { 
-    // FMD Eloss fitter
-    gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/AddTaskFMDELoss.C");
-    AddTaskFMDELoss(mc);
-
-    anaName = "FMD_ELoss";
-  }
-  else if (swhat.Contains("corr")) { 
-    gROOT->LoadMacro("$ALICE_ROOT/PWG2/FORWARD/analysis2/AddTaskFMDCorr.C");
-    AddTaskFMDCorr();
-
-    anaName = "FMD_Corr";
-  }
-    
-
-  // --- Create the plug-in object -----------------------------------
-  TString mode(runMode); mode.ToLower();
-  TString dir(dataDir);
-  TString anaSource("");
-  TString addLibs("");
-  TString aliceTag("v4-21-04-AN");
-  TString rootTag("v5-27-06b");
-  TString apiTag("V1.1x");
-  TArrayI runs; // <-- Add run numbers to this array 
-  /* For example 
-   * 
-   * runs.Resize(118560-118506+1);
-   * for (Int_t r = 118506; r <= 118560; r++) 
-   *  runs.AddAt(r-118506,r);
-   */
-  AliAnalysisAlien* alienHandler = CreateAlienHandler(mode,
-                                                     dir,
-                                                     runs,
-                                                     anaSource,
-                                                     addLibs,
-                                                     anaName,
-                                                     proof,
-                                                     aliceTag, 
-                                                     rootTag, 
-                                                     apiTag);
-  if (!alienHandler) { 
-    Error("RunViaPlugin.C", "Failed to make plugin");
-    return;
-  }
-  mgr->SetGridHandler(alienHandler);
-
-  // --- final job setup and execution -------------------------------
-  // Enable debug printouts
-  // mgr->SetDebugLevel(2);
-  if (!mgr->InitAnalysis()) {
-    Error("RunViaPlugin.C", "Failed to initialise the train");
-    return;
-  }
-  if (nEvents <= 0) nEvents = 1234567890;
-  TString amode("grid");
-  mode.ToLower();
-  if (mode.Contains("test")) amode = local;
-
-  mgr->PrintStatus();
-  mgr->StartAnalysis(amode.Data(), nEvents);  
-}
-
-//____________________________________________________________________
-/** 
- * Create an AliAnalysisGrid parameter object 
- * 
- * @param runMode     Running mode (full, test, terminate, submit, offline)
- * @param dataDir     Input data directory 
- * @param anaSource   Possible source to compile on worker node 
- *                    (must also be compiled and addet to train on 
- *                    submitter machine)
- * @param addLibs     Extra libraries to add 
- * @param anaName     Analysis name (i.e., script created)
- * @param aliceTag    Tag on AliROOT
- * @param rootTag     Tag on ROOT
- * @param apiTag      AliEN tag
- * 
- * @return Valid object or null
- */
-AliAnalysisAlien*
-CreateAlienHandler(const TString& runMode,
-                  const TString& dataDir,
-                  const TArrayI& runs,
-                  const TString& anaSource,
-                  const TString& addLibs,
-                  const TString& anaName,
-                  Bool_t         usePars,
-                  const TString& aliceTag, 
-                  const TString& rootTag, 
-                  const TString& apiTag) 
-{
-  AliAnalysisAlien *plugin = new AliAnalysisAlien();
-
-  // Overwrite all generated files, datasets and output 
-  // results from a previous session
-  plugin->SetOverwriteMode();
-
-  // Set tag on job 
-  TString tag(anaName);
-  tag.Append(" job");
-  plugin->SetJobTag(tag);
-
-  // Set the running mode 
-  plugin->SetRunMode(runMode.Data());
-
-  // Add path to our headers 
-  plugin->AddIncludePath("-I$ALICE_ROOT/PWG2/FORWARD/analysis2");
-
-  // Set versions of used packages
-  plugin->SetAPIVersion(apiTag);
-  plugin->SetROOTVersion(rootTag);
-  plugin->SetAliROOTVersion(aliceTag);
-
-  // Define production directory LFN
-  plugin->SetGridDataDir(dataDir.Data());
-
-  // Set data search pattern
-  plugin->SetDataPattern("*ESDs*.root");
-  
-  // Use ESD tags (same applies for AOD's)
-  //plugin->SetDataPattern("*tag.root");  
-
-  // File used in test mode 
-  plugin->SetFileForTestMode("testFiles");
-
-  // ...then add run numbers to be considered
-  // If not set all runs proccessed
-  for (Int_t i = 0; i < runs.fN; i++) 
-    plugin->AddRunNumber(runs.fArray[i]); 
-
-  // Set events to run over for each file !!!
-  //plugin->SetRunRange(0, 10); 
-  
-  // Define alien work directory where all files will be copied. 
-  // Relative to alien $HOME.
-  TString work(anaName);
-  work.Append("_work");
-  plugin->SetGridWorkingDir(work.Data());
-  
-  // Declare alien output directory. Relative to working directory.
-  TString outputDir(anaName);
-  outputDir.Append("_out");
-  plugin->SetGridOutputDir(outputDir.Data());
-
-  // Write to a single folder
-  plugin->SetOutputSingleFolder(outputDir.Data());
-  plugin->SetOutputToRunNo();
-  
-  // Declare the analysis source files names separated by blancs. 
-  // To be compiled runtime using ACLiC on the worker nodes.
-  if (!anaSource.IsNull())
-    plugin->SetAnalysisSource(anaSource.Data());
-  
-  // Declare all libraries (other than the default ones for the framework. 
-  // These will be loaded by the generated analysis macro. 
-  // Add all extra files (task .cxx/.h) here.
-  if (!addLibs.IsNull()) 
-    plugin->SetAdditionalLibs(addLibs.Data());
-
-  // Load PAR files 
-  if (usePars) { 
-    plugin->EnablePackage("STEERBase");
-    plugin->EnablePackage("ESD");
-    plugin->EnablePackage("AOD");
-    plugin->EnablePackage("ANALYSIS");
-    plugin->EnablePackage("ANALYSISalice");
-    plugin->EnablePackage("PWG2forward2");
-  }
-
-  // No need for output file names. Procedure is automatic.
-  // It's works better this way
-  plugin->SetDefaultOutputs(kTRUE);
-
-  // Set a name for the generated analysis macro (default MyAnalysis.C).
-  // Make this unique !!!
-  TString macroName(anaName);
-  macroName += "Task.C";
-  plugin->SetAnalysisMacro(macroName.Data());
-  
-  // Optionally set maximum number of input files/subjob (default 100,
-  // put 0 to ignore)
-  plugin->SetSplitMaxInputFileNumber(100);
-
-  // Optionally set number of failed jobs that will trigger killing
-  // waiting sub-jobs.
-  plugin->SetMaxInitFailed(5);
-
-  // Optionally resubmit threshold.
-  plugin->SetMasterResubmitThreshold(90);
-
-  // Optionally set time to live (default 30000 sec)
-  plugin->SetTTL(20000);
-
-  // Optionally set input format (default xml-single)
-  plugin->SetInputFormat("xml-single");
-
-  // Optionally modify the name of the generated JDL (default analysis.jdl)
-  TString jdlName(anaName);
-  jdlName.Append(".jdl");
-  plugin->SetJDLName(jdlName.Data());
-  
-  // Optionally modify job price (default 1)
-  plugin->SetPrice(1); 
-  
-  // Optionally modify split mode (default 'se')    
-  plugin->SetSplitMode("se"); 
-  
-  // connect to manager 
-  // AliAnalysisManager* mgr = AliAnalysisManager::Instance();
-  // mgr->SetGridHandler(plugin);
-  
-  return plugin;
-}
-     
-//____________________________________________________________________
-//
-// EOF
-//
index 232aaf98039f821a367ddc6b6c021518b72b16d3..5ac572f798a28ce3b5b6307d6fa5f3e4756670ee 100644 (file)
@@ -20,6 +20,7 @@ class TAxis;
 /**
  * A simple script to draw results from MakedNdeta.C (or similar)
  * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 /** 
  * Get a stack from the passed list 
@@ -29,6 +30,8 @@ class TAxis;
  * @param rebin  Optional rebinning - must exists in list 
  * 
  * @return Stack or null
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 THStack*
 GetStack(const TList* list, const char* name, Int_t rebin)
@@ -48,6 +51,17 @@ GetStack(const TList* list, const char* name, Int_t rebin)
   return static_cast<THStack*>(o);
 }
 
+/** 
+ * Get a histogram from a list 
+ * 
+ * @param list   List 
+ * @param name   Name of histogram
+ * @param rebin  Rebinning factor
+ * 
+ * @return Histogram or null
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 TH1*
 GetHist(const TList* list, const char* name, Int_t rebin)
 {
@@ -80,6 +94,8 @@ GetHist(const TList* list, const char* name, Int_t rebin)
  * @param rebin  Optional rebinning - must exists in list 
  * 
  * @return Added stack or null
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 THStack*
 AddStack(THStack* p, const TList* list, const char* name, Int_t rebin)
@@ -98,6 +114,8 @@ AddStack(THStack* p, const TList* list, const char* name, Int_t rebin)
  * Build up a centrality legend 
  * 
  * @param c Centrality axis 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 void
 BuildCentLegend(const TAxis* c)
@@ -132,6 +150,8 @@ BuildCentLegend(const TAxis* c)
  * 
  * @param stack Stack of histograms 
  * @param c     Centrality axis.  If present, markers are black 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 void
 BuildLegend(const THStack* stack, const TAxis* c)
@@ -207,6 +227,12 @@ BuildLegend(const THStack* stack, const TAxis* c)
   l2->Draw();
 }
 
+/** 
+ * Add additional information
+ *  
+ * @param forward  List of info
+ * @param prelim   Preliminary mark 
+ */
 void
 AddInformation(TList* forward, bool prelim=true)
 {
@@ -261,6 +287,16 @@ AddInformation(TList* forward, bool prelim=true)
   ltx->DrawLatex(x, y, sch->GetTitle());
 }  
 
+/** 
+ * A function (double Gaussian)
+ * 
+ * @param xp Independent variables
+ * @param pp Parameters 
+ * 
+ * @return Value of function
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 Double_t myFunc(Double_t* xp, Double_t* pp)
 {
   Double_t x  = xp[0];
@@ -271,6 +307,17 @@ Double_t myFunc(Double_t* xp, Double_t* pp)
   return a1*(TMath::Gaus(x, 0, s1) - a2 * TMath::Gaus(x, 0, s2));
 }
 
+/** 
+ * Make systematic error band 
+ * 
+ * @param cen     Central result
+ * @param fwd     Forward result
+ * @param sysErr  Systematic error (fractional)
+ * 
+ * @return 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 TH1* 
 MakeSysError(const TH1* cen, const TH1* fwd, Double_t sysErr=0.7)
 {
@@ -328,6 +375,8 @@ MakeSysError(const TH1* cen, const TH1* fwd, Double_t sysErr=0.7)
  * 
  * @param rebin    Rebinnig.  Note, the data must be present in the file
  * @param filename File to open and draw stuff from >
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
  */
 void
 SimpledNdeta(Int_t what=0x5, 
index 1d77e62b6e6f25a55fe1b426c4bc6f4a3c57bf69..d77ae095c1805da98ff6aa0052830904c56d254c 100644 (file)
@@ -1,3 +1,10 @@
+/** 
+ * Draw final plot for QM2011
+ * 
+ * @param max 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 void
 dndeta_final(Double_t max=6)
 {
@@ -115,3 +122,6 @@ dndeta_final(Double_t max=6)
 }
 
   
+//
+// EOF
+// 
index b012f93701dda1ee6a6b2d6a740a42b1afcadb44..5c29327eb3826bfadb477e428274f5461a584f49 100644 (file)
@@ -7,7 +7,25 @@
 #include <TCanvas.h>
 #include <TH2F.h>
 #include <THStack.h>
+/**
+ * @defgroup pwg2_forward_analysis_scripts_tests Test scripts
+ * 
+ * 
+ *
+ * @ingroup pwg2_forward_analysis_scripts
+ */
 
+
+/** 
+ * 
+ * 
+ * @param r 
+ * @param t 
+ * @param oldm 
+ * @param newm 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 //_____________________________________________________________________
 void AcceptanceCorrection(Char_t r, UShort_t t, Float_t& oldm, Float_t& newm)
 {
@@ -98,6 +116,14 @@ void AcceptanceCorrection(Char_t r, UShort_t t, Float_t& oldm, Float_t& newm)
   oldm = area/basearea;
 }
 
+/** 
+ * 
+ * 
+ * @param r 
+ * @param dt 
+ * @param offT 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 void DrawSolution(Char_t r, UShort_t dt=16, UShort_t offT=128)
 {
   TCanvas* c = new TCanvas(Form("c%c", r), r == 'I' ? 
@@ -168,7 +194,11 @@ void DrawSolution(Char_t r, UShort_t dt=16, UShort_t offT=128)
   c->cd();
 }
     
-  
+/** 
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */  
 void TestAcc()
 {
   TCanvas* c =  new TCanvas("c", "C");
@@ -242,3 +272,6 @@ void TestAcc()
 
   c2->cd();
 }
+//
+// EOF
+//
index d48c5384dd9da17e61368417771a575247d4690b..69d8ee545805f090fd9fea0cb0df67956eaccd3f 100644 (file)
@@ -32,6 +32,11 @@ static Double_t landauGausN(Double_t* xp, Double_t* pp);
 static Double_t landauGausI(Double_t* xp, Double_t* pp);
 
 //====================================================================
+/**
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 struct Function
 {
   /**
@@ -721,6 +726,12 @@ const Double_t Function::fgkConvNSteps = 100;
 #endif
   
 //====================================================================
+/**
+ * 
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 struct Fitter
 {
   // --- Object code ------------------------------------------------
@@ -806,6 +817,8 @@ struct Fitter
  * @param pp Pointer to parameters 
  * 
  * @return Function evaluated at xp[0]
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */  
 static Double_t landauGaus1(Double_t* xp, Double_t* pp)
 {
@@ -824,6 +837,8 @@ static Double_t landauGaus1(Double_t* xp, Double_t* pp)
  * @param pp Pointer to parameters 
  * 
  * @return Function evaluated at xp[0]
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 static Double_t landauGausN(Double_t* xp, Double_t* pp)
 {
@@ -844,6 +859,8 @@ static Double_t landauGausN(Double_t* xp, Double_t* pp)
  * @param pp Pointer to parameters 
  * 
  * @return Function evaluated at xp[0]
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 static Double_t landauGausI(Double_t* xp, Double_t* pp)
 {
@@ -861,6 +878,8 @@ static Double_t landauGausI(Double_t* xp, Double_t* pp)
 /**
  * 
  * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 struct Generator
 {
@@ -1407,7 +1426,13 @@ struct Generator
   }
 };
 
-
+/** 
+ * Test the energy loss fits
+ * 
+ * @param type Output graphics type 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 void
 TestELossDist(const char* type="png")
 {
index ae5a975f69dd8957a61cd74f1b82076d8d578eaf..a1328e60f625d1a72a482f23d8a71afaa09c57e8 100644 (file)
@@ -4,7 +4,7 @@
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 #ifndef __CINT__
 # include "AliForwardUtil.h"
@@ -39,7 +39,7 @@ class TF1;
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 TH1* GetEDist(TList* ef, UShort_t d, Char_t r, UShort_t etabin)
 {
@@ -88,7 +88,7 @@ TH1* GetEDist(TList* ef, UShort_t d, Char_t r, UShort_t etabin)
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
 */
 TH1* GetEDist(TList* ef, UShort_t d, Char_t r, Float_t eta)
 {
@@ -123,7 +123,7 @@ TH1* GetEDist(TList* ef, UShort_t d, Char_t r, Float_t eta)
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 TList* GetEF(TFile* file) 
 {
@@ -154,7 +154,7 @@ TList* ef = 0;
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 TList*  CheckEF()
 {
@@ -181,7 +181,7 @@ TCanvas* c = 0;
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 TCanvas* CheckC()
 {
@@ -221,7 +221,7 @@ TCanvas* CheckC()
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 void PrintFit(TF1* f)
 {
@@ -251,7 +251,7 @@ void PrintFit(TF1* f)
  * @deprecated
  * This is a simple test script 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 void TestFitELoss(Int_t n, UShort_t d, Char_t r, Float_t eta)
 {
index 16f47f52d0233c800feada6d8723078fb6c50b49..4428311bde7dec6201b57f7b9126d2ade2f84c16 100644 (file)
@@ -49,7 +49,7 @@ class TH1;
  * The class AliFMDELossFitter automatically generates the
  * AliFMDCorrELossFit object.
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  */
 
 class MakeELossFit 
index 69158fb67be249c3a51afe35548eaafec81b2cc9..ebb08727d504e8654e0f9b00099dcdd571dda815 100644 (file)
@@ -1,3 +1,8 @@
+/** 
+ * 
+ * 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 namespace {
   enum { 
     kSolid        = 0x000, 
@@ -10,6 +15,14 @@ namespace {
     kCross        = 0x00c,
     kStar         = 0x00e
   };
+  /** 
+   * 
+   * 
+   * @param bits 
+   * 
+   * @return 
+   * @ingroup pwg2_forward_analysis_scripts_tests
+   */
   Int_t MarkerStyle(UInt_t bits)
   {
     Int_t  base   = bits & (0xFE);
@@ -25,6 +38,14 @@ namespace {
     }
     return 1;
   }
+  /** 
+   * 
+   * 
+   * @param style 
+   * 
+   * @return 
+   * @ingroup pwg2_forward_analysis_scripts_tests
+   */
   UShort_t MarkerBits(Int_t style) 
   { 
     UShort_t bits = 0;
@@ -43,6 +64,14 @@ namespace {
     }
     return bits;
   }
+  /** 
+   * 
+   * 
+   * @param style 
+   * 
+   * @return 
+   * @ingroup pwg2_forward_analysis_scripts_tests
+   */
   Int_t FlipHollow(Int_t style) 
   {
     UShort_t bits = MarkerBits(style);
@@ -53,6 +82,14 @@ namespace {
   }
 }
 
+/** 
+ * 
+ * 
+ * @param what 
+ * @param base 
+ * @param y 
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 void DrawOne(const char* what, UShort_t base, Double_t y)
 {
   TLatex* l = new TLatex(.07, y, what);
@@ -80,3 +117,6 @@ void DrawOne(const char* what, UShort_t base, Double_t y)
     
 }
 
+//
+// EOF
+//
index 1ff19e4d6d203ff419f79aeeb6d6bbd61d35a299..5124482482ad7bda5a3d1670da383a723ee73def 100644 (file)
@@ -1,3 +1,12 @@
+/** 
+ * 
+ * 
+ * @param nBins 
+ * @param min 
+ * @param max 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 void
 MakeIntegerAxis(Int_t& nBins, Double_t& min, Double_t& max)
 {
@@ -10,6 +19,14 @@ MakeIntegerAxis(Int_t& nBins, Double_t& min, Double_t& max)
   nBins = nBins + 1;
 }
 
+/** 
+ * 
+ * 
+ * @param o 
+ * @param useWeights 
+ *
+ * @ingroup pwg2_forward_analysis_scripts_tests
+ */
 void
 TestPoisson(Double_t o=.3, bool useWeights=false)
 {
index d32dce32d23fa16a37770dac5af3c133e2f17954..2c4b068c0d2646aaaa2c65fc52ab9a813ab6cddc 100644 (file)
@@ -7,7 +7,7 @@
  * @param mc        Whether this is for Monte-Carlo data
  * @param filename  Input file name 
  *
- * @ingroup pwg2_forward_analysis_scripts
+ * @ingroup pwg2_forward_analysis_scripts_tests
  *
  * @depcrecated 
  * The class AliFMDELossFitter automatically generates the
index 6e79ff30c6d28c378ef9dd4c23baa2febb8d4216..ade1ecaac20bc6e29049a9e5abfa14bd99a7cb6e 100644 (file)
@@ -1,3 +1,14 @@
+/** 
+ * Build (compile) a train script 
+ * 
+ * @param script Script to compile 
+ * @param extra  Extra stuff for AcLic ("", "+", or "+g")
+ * @param useTmp Use a temporary file 
+ * 
+ * @return 
+ *
+ * @ingroup pwg2_forward_trains
+ */
 Bool_t
 BuildTrain(const char* script, const char* extra="", Bool_t useTmp=false)
 {
index 87f20dfc9bbda2d08609f369b786cdeacf0ab0d2..ccfc98ea4b0908834f3fcf947ebdddd2bf0575ab 100644 (file)
@@ -14,8 +14,8 @@
  * t.Run("LOCAL", "FULL", -1, false, false);
  * @endcode 
  *
- * @ingroup pwg2_forward_scripts_makers
  * @ingroup pwg2_forward_aod
+ * @ingroup pwg2_forward_trains
  */
 class MakeAODTrain : public TrainSetup
 {
index c191439f89116191caee921169f5920665836424..c8e6203b49e77eb2d17a7e2576b0d088ca23b8ea 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * Analysis train to do energy loss fits
  * 
- * @ingroup pwg2_forward_scripts_makers
+ * @ingroup pwg2_forward_trains
  */
 class MakeFMDELossTrain : public TrainSetup
 {
index 768b3631a13b83a971b847f10f466f9c8105c1a4..298a54247c1f1dbbac9ab8a48cfa246684a718e1 100644 (file)
@@ -16,8 +16,8 @@
  * t.Run("LOCAL", "FULL", -1, false, false);
  * @endcode 
  *
- * @ingroup pwg2_forward_scripts_makers
  * @ingroup pwg2_forward_mc
+ * @ingroup pwg2_forward_trains
  */
 class MakeMCCorrTrain : public TrainSetup
 {
index 8c527ed5dcdc97065e35832d29dca838389d1dae..c01a7245af44c849a651a0609019f44abe0545e2 100644 (file)
@@ -16,8 +16,8 @@
  * t.Run("LOCAL", "FULL", -1, false, false);
  * @endcode 
  *
- * @ingroup pwg2_forward_scripts_makers
  * @ingroup pwg2_forward_dndeta
+ * @ingroup pwg2_forward_trains
  */
 class MakedNdetaTrain : public TrainSetup
 {
index 86af4dfd232072a69dcafbaf3f2c782398640771..a6a8af165856de0adf1e5c581137638f9ffde226 100644 (file)
@@ -1,3 +1,8 @@
+/**
+ * @ingroup pwg2_forward_trains Trains
+ * 
+ * @ingroup pwg2_forward
+ */
 /**
  * @file   TrainSetup.C
  * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
@@ -5,7 +10,7 @@
  * 
  * @brief  
  * 
- * @ingroup pwg2_forward_scripts_makers
+ * @ingroup pwg2_forward_trains
  * 
  */
 
@@ -122,7 +127,8 @@ class AliAnalysisManager;
  * Root> gROOT->LoadMacro("TrainSetup.C+");
  * @endverbatim 
  * 
- * @ingroup pwg2_forward_scripts_makers
+ * 
+ * @ingroup pwg2_forward_trains
  * 
  */
 struct TrainSetup