AliPhysics  cdeda5a (cdeda5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dNdetaConfig.C
Go to the documentation of this file.
1 
11 {
12  // - Whether to correct for empty bins when projecting
13  // task->SetCorrEmpty(true);
14  task->SetCorrEmpty(false);
15  // task->IsA()->InheritsFrom(AliCentraldNdetaTask::Class()));
16  // - Whether to use TH2::ProjectionX
17  task->SetUseROOTProjectX(false);
18 
19  // --- Special for Hans' analysis ----------------------------------
20  // - Set the filename of the corresponding MC analysis
21  // const char* mcanalysisfilename =
22  // "/home/hehi/alex/work/dispVtxDNdeta/mcCorrectionPos.root"
23  // task->SetMCFinalCorrFilename(mcanalysisfilename);
24 
25  // --- Other things we may overwrite -------------------------------
26  // - Set the vertex range to use
27  // task->SetIpZRange(vzMin, vzMax);
28 
29  // - Set the trigger mask to use (INEL,INEL>0,NSD)
30  // task->SetTriggerMask(trig);
31 
32  // - set the rejection mask (PILEUP OUTLIER)
33  // task->SetFilterMask(filter);
34 
35  // - Set the trigger efficiency
36  // task->SetTriggerEff(trigEff); // 0.997535);
37  // task->SetTriggerEff0(trigEff0);
38 
39  // - Set how to normalize. Bit mask of
40  //
41  // kNone Normalise to accepted events
42  // kEventLevel Normalise to all events in selected range
43  // kAltEventLevel Normalise to all events in selected range
44  // kBackground Also correct for background triggers
45  //
46  // kNone, kEventLevel, and kAltEventLevel are mutually exclusive.
47  // If neither kEventLevel, nor kAltEventLevel is specified, then
48  // kNone is assumed. kBackground (when implemented) only makes
49  // sense with kEventLevel and kAltEventLevel. Furthermore, there
50  // are some constants that encode the common cases
51  //
52  // kFull = kEventLevel | kBackground
53  // kAltFull = kAltEventLevel | kBackground
54  //
55  // Default is kFull
56  // task->SetNormalizationScheme(scheme);
57 
58  // - Whether to use util for pile-up filtering
59  // task->SetUseUtilPileup(false);
60  //
61  // If the above is set to true, then one can do
62  // AliAnalysisUtils& au = task->GetAnalysisUtils();
63  //
64  // - Use 'multi-vertex' pile-up selection. If true use track
65  // vertices rather than tracklet vertices
66  // au.SetUseMVPlpSelection(false);
67  // - Use 'out-of-bunch' pile-up selection
68  // au.SetUseOutOfBunchPileUp(false);
69  // - If using track pile-up vertex, check for pile-up from other BC
70  // au.SetCheckPlpFromDifferentBCMV(false);
71  // - Least number of contributors to track pile-up vertex
72  // au.SetMinPlpContribMV(5);
73  // - Largest chi^2/nu of track pile-up vertex
74  // au.SetMaxPlpChi2MV(5);
75  // - Least weighted distance between primary and track pile-up
76  // vertex (cm)
77  // au.SetMinWDistMV(15.);
78  // - Wether to use an adaptive algorithm for the tracklet pile-up
79  // flagging. If this is enabled, the parameters MinPlpContribSPD,
80  // MinPlpZdistSPD, nSigmaPlpZdistSPD, nSigmaPlpDiamXYSPD,
81  // nSigmaPlpDiamZSPD are not used. Instead the parameters are set
82  // according the the number of tracklets (nTrkL):
83  //
84  // - nTrkL < 20 MinPlpContribSPD=3,
85  // - nTrkL < 50 MinPlpContribSPD=4
86  // - else MinPlpContribSPD=5
87  //
88  // and MinPlpZdistSPD=0.8, nSigmaZdistSPD=3, nSigmaDiamXYSPD=2,
89  // nSigmaDiamZSPD=5.
90  // au.SetUseSPDCutInMultBins(false);
91  // - Least number of contributors to tracklet pile-up vertex
92  // au.SetMinPlpContribSPD(5);
93  // - Least distance along Z between primary and tracklet pile-up
94  // vertex (cm)
95  // au.SetMinPlpZdistSPD(0.8);
96  // - Least distance along Z between primary and tracklet pile-up
97  // vertex in terms of the errors on the vertices
98  // au.SetnSigmaPlpZdistSPD(3);
99  // - Only consider tracklet vertices within this number of times the
100  // sigma in the XY-plane of the interaction diamond.
101  // au.SetnSigmaPlpDiamXYSPD(2);
102  // - Only consider tracklet vertices within this number of times the
103  // sigma along Z of the interaction diamond.
104  // au.SetnSigmaPlpDiamZ(5);
105 
106  // - Set the centrality estimator to use
107  // task->SetCentralityMethod(cent);
108 
109  // - Set the centrality bins to use. These are mutually exclusive.
110  // Note, that a bin specified as a-b, covers the interval from a,
111  // inclusive to b exclusive. An upper bound of 100 is treated
112  // especially, and the upper bound is inclusive in that case .
113  // Short_t bins[] = { 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 100 };
114  // task->SetCentralityAxis(10, bins);
115  // task->SetCentralityAxis("pbpb");
116  // task->SetCentralityAxis("ppb");
117  // task->SetCentralityAxis("0-5-10-20-30-40-50-60-80-90");
118 
119  // - Set Re-weighting function based on IPz
120  //
121  // TF1* f = new TF1("reweight",
122  // "TMath::Gaus(x,[0],[1],true)/TMath::Gaus(x,[2],[3],true",
123  // -10,10,4);
124  // f->SetParNames("#mu_{emp},#sigma_{emp},#mu_{this},#sigma_{this}");
125  // f->SetParameters(0.592,6.836,muIpz,sigmaIpz);
126  // f->SetParErrors(0.023,0.029,eMuIpz,eSigmaIpz);
127  // task->SetIpzReweight(f);
128 
129  // - Set satellite vertex flag
130  // task->SetSatelliteVertices(satVtx);
131 }
132 // EOF
133 
void SetCorrEmpty(Bool_t use)
void SetUseROOTProjectX(Bool_t use)
void dNdetaConfig(AliBasedNdetaTask *task)
Definition: dNdetaConfig.C:10