]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/dNdetaConfig.C
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / dNdetaConfig.C
1 /**
2  * @file   ForwarddNdetaConfig.C
3  * @author Christian Holm Christensen <cholm@nbi.dk>
4  * @date   Thu May 15 20:33:03 2014
5  * 
6  * @brief  Configuration file for Forward dN/deta task 
7  * 
8  * 
9  */
10 void dNdetaConfig(AliBasedNdetaTask* task)
11 {
12   // - Whether to cut edges when re-binning 
13   task->SetCutEdges(false);
14   // - Whether to correct for empty bins when projecting 
15   // task->SetCorrEmpty(true);
16   task->SetCorrEmpty(task->IsA()->InheritsFrom(AliCentraldNdetaTask::Class()));
17   // - Whether to use TH2::ProjectionX 
18   task->SetUseROOTProjectX(false);
19
20   // --- Special for Hans' analysis ----------------------------------
21   // - Set the filename of the corresponding MC analysis
22   // const char* mcanalysisfilename = 
23   //    "/home/hehi/alex/work/dispVtxDNdeta/mcCorrectionPos.root"
24   // task->SetMCFinalCorrFilename(mcanalysisfilename);
25
26   // --- Other things we may overwrite -------------------------------
27   // - Set the vertex range to use 
28   // task->SetIpZRange(vzMin, vzMax);
29
30   // - Set the trigger mask to use (INEL,INEL>0,NSD)
31   // task->SetTriggerMask(trig);
32
33   // - Set the trigger efficiency 
34   // task->SetTriggerEff(trigEff); // 0.997535);
35   // task->SetTriggerEff0(trigEff0); 
36
37   // - Set how to normalize. Bit mask of
38   // 
39   //    kNone           Normalise to accepted events 
40   //    kEventLevel     Normalise to all events in selected range 
41   //    kAltEventLevel  Normalise to all events in selected range 
42   //    kBackground     Also correct for background triggers 
43   //    kShape          Correct shape 
44   // 
45   //   kNone, kEventLevel, and kAltEventLevel are mutually exclusive.
46   //   If neither kEventLevel, nor kAltEventLevel is specified, then
47   //   kNone is assumed.  kBackground (when implemented) only makes
48   //   sense with kEventLevel and kAltEventLevel.  Furthermore, there
49   //   are some constants that encode the common cases
50   //     
51   //    kFull    = kEventLevel |  kBackground | kShape 
52   //    kAltFull = kAltEventLevel |  kBackground | kShape 
53   // 
54   //   Default is kFull
55   // task->SetNormalizationScheme(scheme);
56
57   // - Set the centrality estimator to use 
58   // task->SetCentralityMethod(cent);
59
60   // - Set the centrality bins to use.  These are mutually exclusive.
61   //   Note, that a bin specified as a-b, covers the interval from a,
62   //   inclusive to b exclusive.  An upper bound of 100 is treated
63   //   especially, and the upper bound is inclusive in that case .
64   // Short_t bins[] = { 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 100 };
65   // task->SetCentralityAxis(10, bins);
66   
67   // - Set satellite vertex flag
68   // task->SetSatelliteVertices(satVtx);
69 }
70 // EOF
71