2 * @file ForwarddNdetaConfig.C
3 * @author Christian Holm Christensen <cholm@nbi.dk>
4 * @date Thu May 15 20:33:03 2014
6 * @brief Configuration file for Forward dN/deta task
10 void dNdetaConfig(AliBasedNdetaTask* task)
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);
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);
26 // --- Other things we may overwrite -------------------------------
27 // - Set the vertex range to use
28 // task->SetIpZRange(vzMin, vzMax);
30 // - Set the trigger mask to use (INEL,INEL>0,NSD)
31 // task->SetTriggerMask(trig);
33 // - Set the trigger efficiency
34 // task->SetTriggerEff(trigEff); // 0.997535);
35 // task->SetTriggerEff0(trigEff0);
37 // - Set how to normalize. Bit mask of
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
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
51 // kFull = kEventLevel | kBackground | kShape
52 // kAltFull = kAltEventLevel | kBackground | kShape
55 // task->SetNormalizationScheme(scheme);
57 // - Set the centrality estimator to use
58 // task->SetCentralityMethod(cent);
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);
67 // - Set satellite vertex flag
68 // task->SetSatelliteVertices(satVtx);