ROOT logo
/**
 * @file   ForwarddNdetaConfig.C
 * @author Christian Holm Christensen <cholm@nbi.dk>
 * @date   Thu May 15 20:33:03 2014
 * 
 * @brief  Configuration file for Forward dN/deta task 
 * 
 * 
 */
void dNdetaConfig(AliBasedNdetaTask* task)
{
  // - Whether to correct for empty bins when projecting 
  // task->SetCorrEmpty(true);
  task->SetCorrEmpty(false); 
  // task->IsA()->InheritsFrom(AliCentraldNdetaTask::Class()));
  // - Whether to use TH2::ProjectionX 
  task->SetUseROOTProjectX(false);

  // --- Special for Hans' analysis ----------------------------------
  // - Set the filename of the corresponding MC analysis
  // const char* mcanalysisfilename = 
  //    "/home/hehi/alex/work/dispVtxDNdeta/mcCorrectionPos.root"
  // task->SetMCFinalCorrFilename(mcanalysisfilename);

  // --- Other things we may overwrite -------------------------------
  // - Set the vertex range to use 
  // task->SetIpZRange(vzMin, vzMax);

  // - Set the trigger mask to use (INEL,INEL>0,NSD)
  // task->SetTriggerMask(trig);

  // - Set the trigger efficiency 
  // task->SetTriggerEff(trigEff); // 0.997535);
  // task->SetTriggerEff0(trigEff0); 

  // - Set how to normalize. Bit mask of
  // 
  //    kNone           Normalise to accepted events 
  //    kEventLevel     Normalise to all events in selected range 
  //    kAltEventLevel  Normalise to all events in selected range 
  //    kBackground     Also correct for background triggers 
  // 
  //   kNone, kEventLevel, and kAltEventLevel are mutually exclusive.
  //   If neither kEventLevel, nor kAltEventLevel is specified, then
  //   kNone is assumed.  kBackground (when implemented) only makes
  //   sense with kEventLevel and kAltEventLevel.  Furthermore, there
  //   are some constants that encode the common cases
  //     
  //    kFull    = kEventLevel |  kBackground  
  //    kAltFull = kAltEventLevel |  kBackground  
  // 
  //   Default is kFull
  // task->SetNormalizationScheme(scheme);

  // - Set which pile-up flags to mask out. Bit mask of 
  // 
  //    kPileupNormal	Use the flag from AOD (default)
  //    kPileupSPD	Check the pile-up flag from SPD 
  //    kPileupTrk	Check the pileup flag from tracks 
  //    kPileupBC	Check the out-of-bunch pileup flag 
  //    kPileupFull	Use the flag from AOD 
  //    kPileupIgnore	Also accept pileup 
  //    kPileupUtil     Use AliAnalysisUtils 
  // 
  // task->SetPileupMask(AliBasedNdetaTask::kPileupNormal);
  // 
  // If the pile-up mask is set to kPileupUtil above, one can do 
  // AliAnalysisUtils& au = task->GetAnalysisUtils();
  // - Use 'multi-vertex' pile-up selection.  If true use track
  //   vertices rather than tracklet vertices
  // au.SetUseMVPlpSelection(false);
  // - Use 'out-of-bunch' pile-up selection
  // au.SetUseOutOfBunchPileUp(false);
  // - If using track pile-up vertex, check for pile-up from other BC
  // au.SetCheckPlpFromDifferentBCMV(false);
  // - Least number of contributors to track pile-up vertex
  // au.SetMinPlpContribMV(5);
  // - Largest chi^2/nu of track pile-up vertex
  // au.SetMaxPlpChi2MV(5);
  // - Least weighted distance between primary and track pile-up
  //   vertex (cm)
  // au.SetMinWDistMV(15.);
  // - Wether to use an adaptive algorithm for the tracklet pile-up
  //   flagging. If this is enabled, the parameters MinPlpContribSPD,
  //   MinPlpZdistSPD, nSigmaPlpZdistSPD, nSigmaPlpDiamXYSPD,
  //   nSigmaPlpDiamZSPD are not used.  Instead the parameters are set
  //   according the the number of tracklets (nTrkL):
  // 
  //   - nTrkL < 20 MinPlpContribSPD=3, 
  //   - nTrkL < 50 MinPlpContribSPD=4
  //   - else       MinPlpContribSPD=5
  // 
  //   and MinPlpZdistSPD=0.8, nSigmaZdistSPD=3, nSigmaDiamXYSPD=2,
  //   nSigmaDiamZSPD=5.
  // au.SetUseSPDCutInMultBins(false);
  // - Least number of contributors to tracklet pile-up vertex
  // au.SetMinPlpContribSPD(5);
  // - Least distance along Z between primary and tracklet pile-up
  //   vertex (cm)
  // au.SetMinPlpZdistSPD(0.8);
  // - Least distance along Z between primary and tracklet pile-up
  //   vertex in terms of the errors on the vertices
  // au.SetnSigmaPlpZdistSPD(3);
  // - Only consider tracklet vertices within this number of times the
  //   sigma in the XY-plane of the interaction diamond.
  // au.SetnSigmaPlpDiamXYSPD(2);
  // - Only consider tracklet vertices within this number of times the
  //   sigma along Z of the interaction diamond.
  // au.SetnSigmaPlpDiamZ(5);

  // - Set whether to check for SPD outliers 
  // task->SetCheckSPDOutlier(false);

  // - Set the centrality estimator to use 
  // task->SetCentralityMethod(cent);

  // - Set the centrality bins to use.  These are mutually exclusive.
  //   Note, that a bin specified as a-b, covers the interval from a,
  //   inclusive to b exclusive.  An upper bound of 100 is treated
  //   especially, and the upper bound is inclusive in that case .
  // Short_t bins[] = { 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 100 };
  // task->SetCentralityAxis(10, bins);
  
  // - Set satellite vertex flag
  // task->SetSatelliteVertices(satVtx);
}
// EOF

 dNdetaConfig.C:1
 dNdetaConfig.C:2
 dNdetaConfig.C:3
 dNdetaConfig.C:4
 dNdetaConfig.C:5
 dNdetaConfig.C:6
 dNdetaConfig.C:7
 dNdetaConfig.C:8
 dNdetaConfig.C:9
 dNdetaConfig.C:10
 dNdetaConfig.C:11
 dNdetaConfig.C:12
 dNdetaConfig.C:13
 dNdetaConfig.C:14
 dNdetaConfig.C:15
 dNdetaConfig.C:16
 dNdetaConfig.C:17
 dNdetaConfig.C:18
 dNdetaConfig.C:19
 dNdetaConfig.C:20
 dNdetaConfig.C:21
 dNdetaConfig.C:22
 dNdetaConfig.C:23
 dNdetaConfig.C:24
 dNdetaConfig.C:25
 dNdetaConfig.C:26
 dNdetaConfig.C:27
 dNdetaConfig.C:28
 dNdetaConfig.C:29
 dNdetaConfig.C:30
 dNdetaConfig.C:31
 dNdetaConfig.C:32
 dNdetaConfig.C:33
 dNdetaConfig.C:34
 dNdetaConfig.C:35
 dNdetaConfig.C:36
 dNdetaConfig.C:37
 dNdetaConfig.C:38
 dNdetaConfig.C:39
 dNdetaConfig.C:40
 dNdetaConfig.C:41
 dNdetaConfig.C:42
 dNdetaConfig.C:43
 dNdetaConfig.C:44
 dNdetaConfig.C:45
 dNdetaConfig.C:46
 dNdetaConfig.C:47
 dNdetaConfig.C:48
 dNdetaConfig.C:49
 dNdetaConfig.C:50
 dNdetaConfig.C:51
 dNdetaConfig.C:52
 dNdetaConfig.C:53
 dNdetaConfig.C:54
 dNdetaConfig.C:55
 dNdetaConfig.C:56
 dNdetaConfig.C:57
 dNdetaConfig.C:58
 dNdetaConfig.C:59
 dNdetaConfig.C:60
 dNdetaConfig.C:61
 dNdetaConfig.C:62
 dNdetaConfig.C:63
 dNdetaConfig.C:64
 dNdetaConfig.C:65
 dNdetaConfig.C:66
 dNdetaConfig.C:67
 dNdetaConfig.C:68
 dNdetaConfig.C:69
 dNdetaConfig.C:70
 dNdetaConfig.C:71
 dNdetaConfig.C:72
 dNdetaConfig.C:73
 dNdetaConfig.C:74
 dNdetaConfig.C:75
 dNdetaConfig.C:76
 dNdetaConfig.C:77
 dNdetaConfig.C:78
 dNdetaConfig.C:79
 dNdetaConfig.C:80
 dNdetaConfig.C:81
 dNdetaConfig.C:82
 dNdetaConfig.C:83
 dNdetaConfig.C:84
 dNdetaConfig.C:85
 dNdetaConfig.C:86
 dNdetaConfig.C:87
 dNdetaConfig.C:88
 dNdetaConfig.C:89
 dNdetaConfig.C:90
 dNdetaConfig.C:91
 dNdetaConfig.C:92
 dNdetaConfig.C:93
 dNdetaConfig.C:94
 dNdetaConfig.C:95
 dNdetaConfig.C:96
 dNdetaConfig.C:97
 dNdetaConfig.C:98
 dNdetaConfig.C:99
 dNdetaConfig.C:100
 dNdetaConfig.C:101
 dNdetaConfig.C:102
 dNdetaConfig.C:103
 dNdetaConfig.C:104
 dNdetaConfig.C:105
 dNdetaConfig.C:106
 dNdetaConfig.C:107
 dNdetaConfig.C:108
 dNdetaConfig.C:109
 dNdetaConfig.C:110
 dNdetaConfig.C:111
 dNdetaConfig.C:112
 dNdetaConfig.C:113
 dNdetaConfig.C:114
 dNdetaConfig.C:115
 dNdetaConfig.C:116
 dNdetaConfig.C:117
 dNdetaConfig.C:118
 dNdetaConfig.C:119
 dNdetaConfig.C:120
 dNdetaConfig.C:121
 dNdetaConfig.C:122
 dNdetaConfig.C:123
 dNdetaConfig.C:124
 dNdetaConfig.C:125
 dNdetaConfig.C:126
 dNdetaConfig.C:127
 dNdetaConfig.C:128
 dNdetaConfig.C:129