1 Int_t createMapFile(Bool_t commitVersion = kFALSE, TString normalisation = "NoNormalisation", TString pathMapPackage = "etaMaps",
2 TString fileNameMapPackage = "TPCetaMaps.root")
4 gROOT->LoadMacro("addMapToFile.C+");
7 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_16__NewSplines___2012_11_30__14_14.root", normalisation, "LHC11a_2.76TeV", 2, kFALSE, kFALSE);
10 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_18__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_16__NewSplines___2012_11_30__14_14___2012_11_30__14_17.root", normalisation, "LHC11a_2.76TeV", 2, kFALSE, kTRUE);// original
12 //TODO other maps with worse resolution in MIP region - seems to give worse results addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_03_20__12_41__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_16__NewSplines___2012_11_30__14_14___2012_11_30__14_17.root", normalisation, "LHC11a_2.76TeV", 2, kFALSE, kTRUE);
15 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_07_07__20_02__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_16__NewSplines___2012_11_30__14_14___2012_11_30__14_17.root", normalisation, "LHC11a_2.76TeV", 2, kFALSE, kTRUE);
20 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass4/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_27__NewSplines___2012_11_30__14_25.root", normalisation, "LHC11a_2.76TeV", 4, kFALSE, kFALSE);
23 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass4/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_36__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_27__NewSplines___2012_11_30__14_25___2012_11_30__14_28.root", normalisation, "LHC11a_2.76TeV", 4, kFALSE, kTRUE);// original
26 addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass4/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_07_07__20_23__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_27__NewSplines___2012_11_30__14_25___2012_11_30__14_28.root", normalisation, "LHC11a_2.76TeV", 4, kFALSE, kTRUE);
28 //TODO other maps with worse resolution in MIP region - seems to give worse results addMapToFile("finalCuts/pp/2.76TeV/LHC11a_without_SDD.pass4/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_03_20__10_58__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_27__NewSplines___2012_11_30__14_25___2012_11_30__14_28.root", normalisation, "LHC11a_2.76TeV", 4, kFALSE, kTRUE);
32 addMapToFile("finalCuts/pp/7TeV/LHC10b.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_43__NewSplines___2012_11_30__13_41.root", normalisation, "LHC10b", 2, kFALSE, kFALSE);
33 addMapToFile("finalCuts/pp/7TeV/LHC10b.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_46__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_43__NewSplines___2012_11_30__13_41___2012_11_30__13_44.root", normalisation, "LHC10b", 2, kFALSE, kTRUE);
35 addMapToFile("finalCuts/pp/7TeV/LHC10c.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_52__NewSplines___2012_11_30__13_50.root", normalisation, "LHC10c", 2, kFALSE, kFALSE);
36 addMapToFile("finalCuts/pp/7TeV/LHC10c.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_55__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_52__NewSplines___2012_11_30__13_50___2012_11_30__13_54.root", normalisation, "LHC10c", 2, kFALSE, kTRUE);
38 addMapToFile("finalCuts/pp/7TeV/LHC10d.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_06__NewSplines___2012_11_30__12_55.root", normalisation, "LHC10d", 2, kFALSE, kFALSE);
41 addMapToFile("finalCuts/pp/7TeV/LHC10d.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_11__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_06__NewSplines___2012_11_30__12_55___2012_11_30__13_09.root", normalisation, "LHC10d", 2, kFALSE, kTRUE);// original
44 addMapToFile("finalCuts/pp/7TeV/LHC10d.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_07_09__14_59__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_06__NewSplines___2012_11_30__12_55___2012_11_30__13_09.root", normalisation, "LHC10d", 2, kFALSE, kTRUE);
48 addMapToFile("finalCuts/pp/7TeV/LHC10e.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_28__NewSplines___2012_11_30__13_19.root", normalisation, "LHC10e", 2, kFALSE, kFALSE);
51 addMapToFile("finalCuts/pp/7TeV/LHC10e.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__13_36__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_28__NewSplines___2012_11_30__13_19___2012_11_30__13_30.root", normalisation, "LHC10e", 2, -kFALSE, kTRUE);// original
54 addMapToFile("finalCuts/pp/7TeV/LHC10e.pass2/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2013_07_07__17_06__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__13_28__NewSplines___2012_11_30__13_19___2012_11_30__13_30.root", normalisation, "LHC10e", 2, kFALSE, kTRUE);
56 /*replaced by dzdr maps
57 addMapToFile("finalCuts/pp/7TeV/LHC10e.pass2/uncorrected/dzdr/outputCheckShapeEtaTree_2013_04_29__08_50.root", normalisation, "LHC10e", 2, kFALSE, kFALSE);
58 addMapToFile("finalCuts/pp/7TeV/LHC10e.pass2/uncorrected/dzdr/outputCheckShapeEtaTree_2013_04_29__08_57__CorrectedWithMap_outputCheckShapeEtaTree_2013_04_29__08_50___2013_04_29__08_53.root", normalisation, "LHC10e", 2, kFALSE, kTRUE);
62 addMapToFile("finalCuts/pp/7TeV/LHC11a.pass1/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_03__NewSplines___2012_11_30__14_02.root", normalisation, "LHC11a_7TeV", 1, kFALSE, kFALSE);
63 addMapToFile("finalCuts/pp/7TeV/LHC11a.pass1/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_06__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_03__NewSplines___2012_11_30__14_02___2012_11_30__14_05.root", normalisation, "LHC11a_7TeV", 1, kFALSE, kTRUE);
67 // Without multiplicity correction:
68 addMapToFile("finalCuts/old/uncorrected/0.6GeVcut/PbPb/2.76ATeV/LHC10h.pass2/newV0tree/outputCheckShapeEtaTree_2012_11_06__14_19.root", normalisation, "LHC10h", 2, kFALSE, kFALSE);
69 addMapToFile("finalCuts/old/uncorrected/0.6GeVcut/PbPb/2.76ATeV/LHC10h.pass2/newV0tree/outputCheckShapeEtaTree_2012_11_07__07_58__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_06__14_19___2012_11_06__15_03.root", normalisation, "LHC10h", 2, kFALSE, kTRUE);
72 addMapToFile("finalCuts/PbPb/2.76ATeV/LHC10h.pass2/uncorrected/multiplicityCorrUndoneTotalTracks/outputCheckShapeEtaTree_2013_01_29__15_04__NewSplines___2013_01_28__09_09_mult0_1999.root", normalisation, "LHC10h", 2, kFALSE, kFALSE);
73 addMapToFile("finalCuts/PbPb/2.76ATeV/LHC10h.pass2/uncorrected/multiplicityCorrUndoneTotalTracks/outputCheckShapeEtaTree_2013_01_31__08_37__multiplicityCorrected_CorrectedWithMap_outputCheckShapeEtaTree_2013_01_29__15_04__NewSplines___2013_01_28__09_09_mult0_1999___2013_01_30__13_56_mult0_1999.root", normalisation, "LHC10h", 2, kFALSE, kTRUE);
81 // Without multiplicity correction:
82 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54.root", normalisation, "LHC13b", 2, kFALSE, kFALSE);
83 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_14__CorrectedWithMap_outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54___2013_02_08__13_11.root", normalisation, "LHC13b", 2, kFALSE, kTRUE);
84 // Use same maps for pass1 and pass3
85 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54.root", normalisation, "LHC13b", 1, kFALSE, kFALSE);
86 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_14__CorrectedWithMap_outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54___2013_02_08__13_11.root", normalisation, "LHC13b", 1, kFALSE, kTRUE);
87 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54.root", normalisation, "LHC13b", 3, kFALSE, kFALSE);
88 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass2/uncorrected/highStatistics/outputCheckShapeEtaTree_2013_02_08__13_14__CorrectedWithMap_outputCheckShapeEtaTree_2013_02_08__13_07__NewSplines___2013_02_08__12_54___2013_02_08__13_11.root", normalisation, "LHC13b", 3, kFALSE, kTRUE);
91 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499.root", normalisation, "LHC13b", 2, kFALSE, kFALSE);
92 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_07_12__14_51__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 2, kFALSE, kTRUE);
93 //original addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_33__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 2, kFALSE, kTRUE);
94 // Use same maps for pass1 and pass3
95 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499.root", normalisation, "LHC13b", 1, kFALSE, kFALSE);
96 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_07_12__14_51__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 1, kFALSE, kTRUE);
97 //original addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_33__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 1, kFALSE, kTRUE);
98 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499.root", normalisation, "LHC13b", 3, kFALSE, kFALSE);
99 addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_07_12__14_51__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 3, kFALSE, kTRUE);
100 //original addMapToFile("finalCuts/pPb/5.023ATeV/LHC13b.pass3/uncorrected/outputCheckShapeEtaTree_2013_05_17__10_33__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__10_10__mult0_499___2013_05_17__10_13_mult0_499.root", normalisation, "LHC13b", 3, kFALSE, kTRUE);
104 addMapToFile("finalCuts/MC_pp/2.76TeV/LHC12f1_merged/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_53__NewSplines___2012_11_30__14_50.root", normalisation, "LHC12f1", 1, kTRUE, kFALSE);
105 addMapToFile("finalCuts/MC_pp/2.76TeV/LHC12f1_merged/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__14_55__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__14_53__NewSplines___2012_11_30__14_50___2012_11_30__14_54.root", normalisation, "LHC12f1", 1, kTRUE, kTRUE);
107 addMapToFile("finalCuts/MC_pp/LHC11b_merged/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__15_05__NewSplines___2012_11_30__15_04.root", normalisation, "LHC11b2", 1, kTRUE, kFALSE);
108 addMapToFile("finalCuts/MC_pp/LHC11b_merged/uncorrected/optimisedSplines/outputCheckShapeEtaTree_2012_11_30__15_07__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__15_05__NewSplines___2012_11_30__15_04___2012_11_30__15_06.root", normalisation, "LHC11b2", 1, kTRUE, kTRUE);
110 addMapToFile("finalCuts/MC_pp/7TeV/LHC10d1/uncorrected/outputCheckShapeEtaTree_2012_11_30__15_14__NewSplines___2012_11_30__15_12.root", normalisation, "LHC10d1", 1, kTRUE, kFALSE);
111 addMapToFile("finalCuts/MC_pp/7TeV/LHC10d1/uncorrected/outputCheckShapeEtaTree_2012_11_30__15_16__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__15_14__NewSplines___2012_11_30__15_12___2012_11_30__15_15.root", normalisation, "LHC10d1", 1, kTRUE, kTRUE);
113 addMapToFile("finalCuts/MC_pp/7TeV/LHC10f6a/uncorrected/outputCheckShapeEtaTree_2012_11_30__15_25__NewSplines___2012_11_30__15_23.root", normalisation, "LHC10f6a", 1, kTRUE, kFALSE);
114 addMapToFile("finalCuts/MC_pp/7TeV/LHC10f6a/uncorrected/outputCheckShapeEtaTree_2012_11_30__15_29__CorrectedWithMap_outputCheckShapeEtaTree_2012_11_30__15_25__NewSplines___2012_11_30__15_23___2012_11_30__15_27.root", normalisation, "LHC10f6a", 1, kTRUE, kTRUE);
118 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC12g1/uncorrected/newSplines/outputCheckShapeEtaTree_2012_12_10__08_40__NewSplines___2012_12_10__08_26.root", normalisation, "LHC12g", 1, kTRUE, kFALSE);
119 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC12g1/uncorrected/newSplines/outputCheckShapeEtaTree_2012_12_10__08_44__CorrectedWithMap_outputCheckShapeEtaTree_2012_12_10__08_40__NewSplines___2012_12_10__08_26___2012_12_10__08_43.root", normalisation, "LHC12g", 1, kTRUE, kTRUE);
121 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_fix/uncorrected/outputCheckShapeEtaTree_2013_04_17__12_44__NewSplines___2013_04_17__12_29.root", normalisation, "LHC13b2_fix", 1, kTRUE, kFALSE);
122 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_fix/uncorrected/outputCheckShapeEtaTree_2013_04_17__13_37__CorrectedWithMap_outputCheckShapeEtaTree_2013_04_17__12_44__NewSplines___2013_04_17__12_29___2013_04_17__13_35.root", normalisation, "LHC13b2_fix", 1, kTRUE, kTRUE);
124 // TODO Improve with higher statistics
125 //addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_efix_p1/uncorrected/outputCheckShapeEtaTree_2013_06_10__11_11__NewSplines___2013_06_10__11_08.root", normalisation, "LHC13b2_fixn1", 1, kTRUE, kFALSE);
126 //addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_efix_p1/uncorrected/outputCheckShapeEtaTree_2013_06_10__11_16__CorrectedWithMap_outputCheckShapeEtaTree_2013_06_10__11_11__NewSplines___2013_06_10__11_08___2013_06_10__11_12.root", normalisation, "LHC13b2_fixn1", 1, kTRUE, kTRUE);
127 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_efix_p1/uncorrected/higherStatistics/outputCheckShapeEtaTree_2013_06_17__08_02__NewSplines___2013_06_17__07_56.root", normalisation, "LHC13b2_fixn1", 1, kTRUE, kFALSE);
128 addMapToFile("finalCuts/MC_pPb/5.023ATeV/LHC13b2_efix_p1/uncorrected/higherStatistics/outputCheckShapeEtaTree_2013_06_17__08_29__CorrectedWithMap_outputCheckShapeEtaTree_2013_06_17__08_02__NewSplines___2013_06_17__07_56___2013_06_17__08_04.root", normalisation, "LHC13b2_fixn1", 1, kTRUE, kTRUE);
131 //TODO: Improve MC_PbPb -> Take 11a10a for map, since it has better statistics at low p compared to 11a10b, which is the region of the map
132 addMapToFile("finalCuts/MC_PbPb/2.76ATeV/LHC11a10a_bis/uncorrected/outputCheckShapeEtaTree_2013_05_17__13_37__NewSplines___2013_05_17__13_31.root", normalisation, "LHC11A10", 1, kTRUE, kFALSE);
133 addMapToFile("finalCuts/MC_PbPb/2.76ATeV/LHC11a10a_bis/uncorrected/outputCheckShapeEtaTree_2013_05_17__13_44__CorrectedWithMap_outputCheckShapeEtaTree_2013_05_17__13_37__NewSplines___2013_05_17__13_31___2013_05_17__13_41.root", normalisation, "LHC11A10", 1, kTRUE, kTRUE);
135 addMapToFile("finalCuts/MC_PbPb/2.76ATeV/LHC11a10a_bis/uncorrected/multiplicityCorrUndoneTotalTracks/outputCheckShapeEtaTree_2012_12_20__15_57__NewSplines___2012_12_20__15_54_mult0_1999.root", normalisation, "LHC11A10", 1, kTRUE, kFALSE);
136 addMapToFile("finalCuts/MC_PbPb/2.76ATeV/LHC11a10a_bis/uncorrected/multiplicityCorrUndoneTotalTracks/outputCheckShapeEtaTree_2013_01_30__12_04__multiplicityCorrected_CorrectedWithMap_outputCheckShapeEtaTree_2012_12_20__15_57__NewSplines___2012_12_20__15_54_mult0_1999___2013_01_30__11_47_mult0_1999.root", normalisation, "LHC11A10", 1, kTRUE, kTRUE);
139 printf("TODO Using new sigma map for 10d (log binning for map creation + new sigma fit w/o restriction)!\n");
140 printf("TODO Using new sigma map for 10e (log binning for map creation + new sigma fit w/o restriction)!\n");
141 printf("TODO Using new sigma map for 11a.p2 (log binning for map creation + new sigma fit w/o restriction)!\n");
142 printf("TODO Using new sigma map for 11a.p4 (log binning for map creation + new sigma fit w/o restriction)!\n");
143 printf("TODO Using new sigma map for 13b.p[1-3] (log binning for map creation + new sigma fit w/o restriction)!\n");
146 printf("\nCreated maps for commit version!\n");
148 printf("\nCreated maps for private trunk version!\n");