]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FORWARD/analysis/scripts/runFMDbackground.C
Added scripts from Carsten to do the various correction
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis / scripts / runFMDbackground.C
CommitLineData
2a9e98ee 1void runFMDbackground() {
2
3 // Mandatory fields for the background correction
4 TString runMode = "full";
5 TString anaSource = "";
6 TString addLibs = "libPWG2forward.so";
7 TString anaType = "background";
8
9 // Optional fields - Must however be asserted a value for the analysis to run
10 TString dataDir = "/alice/sim/LHC10f6/126437";
11 TString anaName = "Correction";
12 TString colSys = "p-p";
13 Float_t cmsNNGeV = 900;
14 Float_t bkG = 5;
15
16
17 /**
18 * Run an FMD corrections job.
19 *
20 * @param runMode Running mode (full, test, terminate, submit, offline)
21 * @param anaType What to do (background, collector, sharing)
22 * @param dataDir Input data directory
23 * @param anaSource Analysis source (if any)
24 * @param addLibs Libraries to add
25 * @param anaName Analysis name
26 * @param colSys Collision system (p-p, Pb-Pb, A-A)
27 * @param cmsNNGeV Center of mass energy per nucleon in GeV
28 * @param bkG Magnetic field in kilo gaus
29 * @param aliceTag AliROOT tag to use
30 * @param rootTag ROOT tag to use
31 * @param apiTag API tag to use
32 */
33 gROOT->LoadMacro("runFMDjob.C");
34 runFMDjob(runMode,
35 anaType,
36 dataDir,
37 anaSource,
38 addLibs,
39 anaName,
40 colSys,
41 cmsNNGeV,
42 bkG);
43}
44
45