Updated run range and scaling.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Feb 2011 11:59:34 +0000 (11:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 15 Feb 2011 11:59:34 +0000 (11:59 +0000)
A. Toia

ANALYSIS/AliCentralitySelectionTask.cxx

index 056ac84..ef0641d 100644 (file)
@@ -138,8 +138,9 @@ AliAnalysisTaskSE(),
 {   
   // Default constructor
   AliInfo("Centrality Selection enabled.");
-  fLowRunN =137161;
-  fHighRunN=139173;
+  fLowRunN =136851;
+  fHighRunN=139517;
+
   for (Int_t i=0; i<(fHighRunN-fLowRunN); i++) {
     V0MScaleFactor[i]=0.0;
     SPDScaleFactor[i]=0.0;
@@ -215,9 +216,10 @@ AliCentralitySelectionTask::AliCentralitySelectionTask(const char *name):
   fHOutQuality(0),
   fHOutVertex(0)
 {
-  // Default constructor
-  fLowRunN  = 137161;
-  fHighRunN = 139173;
+    // Default constructor
+    fLowRunN =136851;
+    fHighRunN=139517;
+
   AliInfo("Centrality Selection enabled.");
   DefineOutput(1, TList::Class());
   for (Int_t i=0; i<(fHighRunN-fLowRunN); i++) {
@@ -825,185 +827,184 @@ void AliCentralitySelectionTask::MyInitScaleFactor ()
   for (int i=0; i<(fHighRunN-fLowRunN); i++) TPCScaleFactor[i] = 0.0;
   
   // scale factors determined from <V0 charge> on a run-by-run basis
-  V0MScaleFactor[0] = 0.956841;
-  V0MScaleFactor[1] = 0.958274;
-  V0MScaleFactor[204] = 1.0046;
-  V0MScaleFactor[205] = 0.983535;
-  V0MScaleFactor[269] = 0.988185;
-  V0MScaleFactor[270] = 0.983351;
-  V0MScaleFactor[271] = 0.989013;
-  V0MScaleFactor[273] = 0.990056;
-  V0MScaleFactor[278] = 0.974438;
-  V0MScaleFactor[279] = 0.981572;
-  V0MScaleFactor[280] = 0.989316;
-  V0MScaleFactor[282] = 0.98345;
-  V0MScaleFactor[378] = 0.993647;
-  V0MScaleFactor[380] = 0.994758;
-  V0MScaleFactor[383] = 0.989569;
-  V0MScaleFactor[388] = 0.993119;
-  V0MScaleFactor[434] = 0.989583;
-  V0MScaleFactor[447] = 0.990377;
-  V0MScaleFactor[477] = 0.990176;
-  V0MScaleFactor[478] = 0.98723;
-  V0MScaleFactor[524] = 1.00403;
-  V0MScaleFactor[525] = 0.994376;
-  V0MScaleFactor[530] = 0.99759;
-  V0MScaleFactor[532] = 1.01031;
-  V0MScaleFactor[590] = 0.996216;
-  V0MScaleFactor[591] = 0.994205;
-  V0MScaleFactor[682] = 0.998479;
-  V0MScaleFactor[687] = 1.00078;
-  V0MScaleFactor[989] = 1.00515;
-  V0MScaleFactor[993] = 1.00094;
-  V0MScaleFactor[1029] = 0.986596;
-  V0MScaleFactor[1036] = 0.972226;
-  V0MScaleFactor[1039] = 0.960358;
-  V0MScaleFactor[1040] = 0.970023;
-  V0MScaleFactor[1064] = 1.00575;
-  V0MScaleFactor[1235] = 1.00471;
-  V0MScaleFactor[1277] = 1.00611;
-  V0MScaleFactor[1278] = 1.00976;
-  V0MScaleFactor[1308] = 1.00771;
-  V0MScaleFactor[1372] = 1.01622;
-  V0MScaleFactor[1417] = 1.01305;
-  V0MScaleFactor[1418] = 1.00388;
-  V0MScaleFactor[1421] = 1.00673;
-  V0MScaleFactor[1422] = 1.00916;
-  V0MScaleFactor[1460] = 1.0092;
-  V0MScaleFactor[1463] = 1.00728;
-  V0MScaleFactor[1476] = 1.01655;
-  V0MScaleFactor[1477] = 1.00672;
-  V0MScaleFactor[1491] = 0.983339;
-  V0MScaleFactor[1492] = 1.00754;
-  V0MScaleFactor[1501] = 1.00608;
-  V0MScaleFactor[1505] = 1.01227;
-  V0MScaleFactor[1569] = 0.99907;
-  V0MScaleFactor[1571] = 0.995696;
-  V0MScaleFactor[1876] = 1.00559;
-  V0MScaleFactor[1877] = 1.00631;
-  V0MScaleFactor[1944] = 1.01512;
-  V0MScaleFactor[1946] = 0.998727;
-  V0MScaleFactor[2011] = 1.00701;
-  
-  SPDScaleFactor[0] = 1.00211;
-  SPDScaleFactor[1] = 1.00067;
-  SPDScaleFactor[204] = 1.02268;
-  SPDScaleFactor[205] = 0.994902;
-  SPDScaleFactor[269] = 1.00215;
-  SPDScaleFactor[270] = 0.993421;
-  SPDScaleFactor[271] = 1.00129;
-  SPDScaleFactor[273] = 1.00242;
-  SPDScaleFactor[278] = 0.984762;
-  SPDScaleFactor[279] = 0.994355;
-  SPDScaleFactor[280] = 1.00073;
-  SPDScaleFactor[282] = 0.995889;
-  SPDScaleFactor[378] = 0.994532;
-  SPDScaleFactor[380] = 0.998307;
-  SPDScaleFactor[383] = 0.994052;
-  SPDScaleFactor[388] = 0.993224;
-  SPDScaleFactor[434] = 0.993279;
-  SPDScaleFactor[447] = 0.992494;
-  SPDScaleFactor[477] = 0.992678;
-  SPDScaleFactor[478] = 0.996563;
-  SPDScaleFactor[524] = 1.01116;
-  SPDScaleFactor[525] = 0.993108;
-  SPDScaleFactor[530] = 0.997574;
-  SPDScaleFactor[532] = 1.01829;
-  SPDScaleFactor[590] = 0.999438;
-  SPDScaleFactor[591] = 0.995849;
-  SPDScaleFactor[682] = 0.999227;
-  SPDScaleFactor[687] = 1.00575;
-  SPDScaleFactor[989] = 0.99877;
-  SPDScaleFactor[993] = 0.999682;
-  SPDScaleFactor[1029] = 0.978198;
-  SPDScaleFactor[1036] = 0.964178;
-  SPDScaleFactor[1039] = 0.959439;
-  SPDScaleFactor[1040] = 0.956945;
-  SPDScaleFactor[1064] = 0.994434;
-  SPDScaleFactor[1235] = 1.0016;
-  SPDScaleFactor[1277] = 1.00153;
-  SPDScaleFactor[1278] = 1.00698;
-  SPDScaleFactor[1308] = 1.00554;
-  SPDScaleFactor[1372] = 1.0123;
-  SPDScaleFactor[1417] = 1.011;
-  SPDScaleFactor[1418] = 1.00143;
-  SPDScaleFactor[1421] = 1.00486;
-  SPDScaleFactor[1422] = 1.00646;
-  SPDScaleFactor[1460] = 1.00515;
-  SPDScaleFactor[1463] = 1.00485;
-  SPDScaleFactor[1476] = 1.01215;
-  SPDScaleFactor[1477] = 1.00419;
-  SPDScaleFactor[1491] = 0.983327;
-  SPDScaleFactor[1492] = 1.00529;
-  SPDScaleFactor[1501] = 1.00367;
-  SPDScaleFactor[1505] = 1.01045;
-  SPDScaleFactor[1569] = 0.996374;
-  SPDScaleFactor[1571] = 0.988827;
-  SPDScaleFactor[1876] = 1.00354;
-  SPDScaleFactor[1877] = 1.00397;
-  SPDScaleFactor[1944] = 1.01138;
-  SPDScaleFactor[1946] = 0.996641;
-  SPDScaleFactor[2011] = 1.00357;
-
-  TPCScaleFactor[0] = 1.00434;
-  TPCScaleFactor[1] = 1.0056;
-  TPCScaleFactor[204] = 1.02185;
-  TPCScaleFactor[205] = 1.0036;
-  TPCScaleFactor[269] = 1.00607;
-  TPCScaleFactor[270] = 1.00183;
-  TPCScaleFactor[271] = 1.00693;
-  TPCScaleFactor[273] = 1.00746;
-  TPCScaleFactor[278] = 0.990524;
-  TPCScaleFactor[279] = 0.998582;
-  TPCScaleFactor[280] = 1.00618;
-  TPCScaleFactor[282] = 1.00088;
-  TPCScaleFactor[378] = 1.00598;
-  TPCScaleFactor[380] = 1.00658;
-  TPCScaleFactor[383] = 1.00144;
-  TPCScaleFactor[388] = 1.00279;
-  TPCScaleFactor[434] = 1.00122;
-  TPCScaleFactor[447] = 1.002;
-  TPCScaleFactor[477] = 0.997818;
-  TPCScaleFactor[478] = 0.994583;
-  TPCScaleFactor[524] = 1.01508;
-  TPCScaleFactor[525] = 1.00218;
-  TPCScaleFactor[530] = 1.00569;
-  TPCScaleFactor[532] = 1.01789;
-  TPCScaleFactor[590] = 1.00739;
-  TPCScaleFactor[591] = 1.00462;
-  TPCScaleFactor[682] = 1.00502;
-  TPCScaleFactor[687] = 1.00943;
-  TPCScaleFactor[989] = 1.00438;
-  TPCScaleFactor[993] = 0.996701;
-  TPCScaleFactor[1029] = 0.978641;
-  TPCScaleFactor[1036] = 0.968906;
-  TPCScaleFactor[1039] = 0.954311;
-  TPCScaleFactor[1040] = 0.958764;
-  TPCScaleFactor[1064] = 0.997899;
-  TPCScaleFactor[1235] = 0.992;
-  TPCScaleFactor[1277] = 0.992635;
-  TPCScaleFactor[1278] = 1.00207;
-  TPCScaleFactor[1308] = 1.00126;
-  TPCScaleFactor[1372] = 1.00324;
-  TPCScaleFactor[1417] = 1.00042;
-  TPCScaleFactor[1418] = 0.978881;
-  TPCScaleFactor[1421] = 0.999818;
-  TPCScaleFactor[1422] = 1.00109;
-  TPCScaleFactor[1460] = 0.99935;
-  TPCScaleFactor[1463] = 0.998531;
-  TPCScaleFactor[1476] = 0.999125;
-  TPCScaleFactor[1477] = 0.998479;
-  TPCScaleFactor[1491] = 0.9775;
-  TPCScaleFactor[1492] = 0.999095;
-  TPCScaleFactor[1501] = 0.998197;
-  TPCScaleFactor[1505] = 1.00413;
-  TPCScaleFactor[1569] = 0.990916;
-  TPCScaleFactor[1571] = 0.987241;
-  TPCScaleFactor[1876] = 1.00048;
-  TPCScaleFactor[1877] = 1.00057;
-  TPCScaleFactor[1944] = 1.00588;
-  TPCScaleFactor[1946] = 0.991503;
-  TPCScaleFactor[2011] = 1.00057;
+   V0MScaleFactor[310] = 0.956841;
+   V0MScaleFactor[311] = 0.958274;
+   V0MScaleFactor[514] = 1.0046;
+   V0MScaleFactor[515] = 0.983535;
+   V0MScaleFactor[579] = 0.988185;
+   V0MScaleFactor[580] = 0.983351;
+   V0MScaleFactor[581] = 0.989013;
+   V0MScaleFactor[583] = 0.990056;
+   V0MScaleFactor[588] = 0.974438;
+   V0MScaleFactor[589] = 0.981572;
+   V0MScaleFactor[590] = 0.989316;
+   V0MScaleFactor[592] = 0.98345;
+   V0MScaleFactor[688] = 0.993647;
+   V0MScaleFactor[690] = 0.994758;
+   V0MScaleFactor[693] = 0.989569;
+   V0MScaleFactor[698] = 0.993119;
+   V0MScaleFactor[744] = 0.989583;
+   V0MScaleFactor[757] = 0.990377;
+   V0MScaleFactor[787] = 0.990176;
+   V0MScaleFactor[788] = 0.98723;
+   V0MScaleFactor[834] = 1.00403;
+   V0MScaleFactor[835] = 0.994376;
+   V0MScaleFactor[840] = 0.99759;
+   V0MScaleFactor[842] = 1.01031;
+   V0MScaleFactor[900] = 0.996216;
+   V0MScaleFactor[901] = 0.994205;
+   V0MScaleFactor[992] = 0.998479;
+   V0MScaleFactor[997] = 1.00078;
+   V0MScaleFactor[1299] = 1.00515;
+   V0MScaleFactor[1303] = 1.00094;
+   V0MScaleFactor[1339] = 0.986596;
+   V0MScaleFactor[1346] = 0.972226;
+   V0MScaleFactor[1349] = 0.960358;
+   V0MScaleFactor[1350] = 0.970023;
+   V0MScaleFactor[1374] = 1.00575;
+   V0MScaleFactor[1545] = 1.00471;
+   V0MScaleFactor[1587] = 1.00611;
+   V0MScaleFactor[1588] = 1.00976;
+   V0MScaleFactor[1618] = 1.00771;
+   V0MScaleFactor[1682] = 1.01622;
+   V0MScaleFactor[1727] = 1.01305;
+   V0MScaleFactor[1728] = 1.00388;
+   V0MScaleFactor[1731] = 1.00673;
+   V0MScaleFactor[1732] = 1.00916;
+   V0MScaleFactor[1770] = 1.0092;
+   V0MScaleFactor[1773] = 1.00728;
+   V0MScaleFactor[1786] = 1.01655;
+   V0MScaleFactor[1787] = 1.00672;
+   V0MScaleFactor[1801] = 0.983339;
+   V0MScaleFactor[1802] = 1.00754;
+   V0MScaleFactor[1811] = 1.00608;
+   V0MScaleFactor[1815] = 1.01227;
+   V0MScaleFactor[1879] = 0.99907;
+   V0MScaleFactor[1881] = 0.995696;
+   V0MScaleFactor[2186] = 1.00559;
+   V0MScaleFactor[2187] = 1.00631;
+   V0MScaleFactor[2254] = 1.01512;
+   V0MScaleFactor[2256] = 0.998727;
+   V0MScaleFactor[2321] = 1.00701;
+   SPDScaleFactor[310] = 1.00211;
+   SPDScaleFactor[311] = 1.00067;
+   SPDScaleFactor[514] = 1.02268;
+   SPDScaleFactor[515] = 0.994902;
+   SPDScaleFactor[579] = 1.00215;
+   SPDScaleFactor[580] = 0.993421;
+   SPDScaleFactor[581] = 1.00129;
+   SPDScaleFactor[583] = 1.00242;
+   SPDScaleFactor[588] = 0.984762;
+   SPDScaleFactor[589] = 0.994355;
+   SPDScaleFactor[590] = 1.00073;
+   SPDScaleFactor[592] = 0.995889;
+   SPDScaleFactor[688] = 0.994532;
+   SPDScaleFactor[690] = 0.998307;
+   SPDScaleFactor[693] = 0.994052;
+   SPDScaleFactor[698] = 0.993224;
+   SPDScaleFactor[744] = 0.993279;
+   SPDScaleFactor[757] = 0.992494;
+   SPDScaleFactor[787] = 0.992678;
+   SPDScaleFactor[788] = 0.996563;
+   SPDScaleFactor[834] = 1.01116;
+   SPDScaleFactor[835] = 0.993108;
+   SPDScaleFactor[840] = 0.997574;
+   SPDScaleFactor[842] = 1.01829;
+   SPDScaleFactor[900] = 0.999438;
+   SPDScaleFactor[901] = 0.995849;
+   SPDScaleFactor[992] = 0.999227;
+   SPDScaleFactor[997] = 1.00575;
+   SPDScaleFactor[1299] = 0.99877;
+   SPDScaleFactor[1303] = 0.999682;
+   SPDScaleFactor[1339] = 0.978198;
+   SPDScaleFactor[1346] = 0.964178;
+   SPDScaleFactor[1349] = 0.959439;
+   SPDScaleFactor[1350] = 0.956945;
+   SPDScaleFactor[1374] = 0.994434;
+   SPDScaleFactor[1545] = 1.0016;
+   SPDScaleFactor[1587] = 1.00153;
+   SPDScaleFactor[1588] = 1.00698;
+   SPDScaleFactor[1618] = 1.00554;
+   SPDScaleFactor[1682] = 1.0123;
+   SPDScaleFactor[1727] = 1.011;
+   SPDScaleFactor[1728] = 1.00143;
+   SPDScaleFactor[1731] = 1.00486;
+   SPDScaleFactor[1732] = 1.00646;
+   SPDScaleFactor[1770] = 1.00515;
+   SPDScaleFactor[1773] = 1.00485;
+   SPDScaleFactor[1786] = 1.01215;
+   SPDScaleFactor[1787] = 1.00419;
+   SPDScaleFactor[1801] = 0.983327;
+   SPDScaleFactor[1802] = 1.00529;
+   SPDScaleFactor[1811] = 1.00367;
+   SPDScaleFactor[1815] = 1.01045;
+   SPDScaleFactor[1879] = 0.996374;
+   SPDScaleFactor[1881] = 0.988827;
+   SPDScaleFactor[2186] = 1.00354;
+   SPDScaleFactor[2187] = 1.00397;
+   SPDScaleFactor[2254] = 1.01138;
+   SPDScaleFactor[2256] = 0.996641;
+   SPDScaleFactor[2321] = 1.00357;
+   TPCScaleFactor[310] = 1.00434;
+   TPCScaleFactor[311] = 1.0056;
+   TPCScaleFactor[514] = 1.02185;
+   TPCScaleFactor[515] = 1.0036;
+   TPCScaleFactor[579] = 1.00607;
+   TPCScaleFactor[580] = 1.00183;
+   TPCScaleFactor[581] = 1.00693;
+   TPCScaleFactor[583] = 1.00746;
+   TPCScaleFactor[588] = 0.990524;
+   TPCScaleFactor[589] = 0.998582;
+   TPCScaleFactor[590] = 1.00618;
+   TPCScaleFactor[592] = 1.00088;
+   TPCScaleFactor[688] = 1.00598;
+   TPCScaleFactor[690] = 1.00658;
+   TPCScaleFactor[693] = 1.00144;
+   TPCScaleFactor[698] = 1.00279;
+   TPCScaleFactor[744] = 1.00122;
+   TPCScaleFactor[757] = 1.002;
+   TPCScaleFactor[787] = 0.997818;
+   TPCScaleFactor[788] = 0.994583;
+   TPCScaleFactor[834] = 1.01508;
+   TPCScaleFactor[835] = 1.00218;
+   TPCScaleFactor[840] = 1.00569;
+   TPCScaleFactor[842] = 1.01789;
+   TPCScaleFactor[900] = 1.00739;
+   TPCScaleFactor[901] = 1.00462;
+   TPCScaleFactor[992] = 1.00502;
+   TPCScaleFactor[997] = 1.00943;
+   TPCScaleFactor[1299] = 1.00438;
+   TPCScaleFactor[1303] = 0.996701;
+   TPCScaleFactor[1339] = 0.978641;
+   TPCScaleFactor[1346] = 0.968906;
+   TPCScaleFactor[1349] = 0.954311;
+   TPCScaleFactor[1350] = 0.958764;
+   TPCScaleFactor[1374] = 0.997899;
+   TPCScaleFactor[1545] = 0.992;
+   TPCScaleFactor[1587] = 0.992635;
+   TPCScaleFactor[1588] = 1.00207;
+   TPCScaleFactor[1618] = 1.00126;
+   TPCScaleFactor[1682] = 1.00324;
+   TPCScaleFactor[1727] = 1.00042;
+   TPCScaleFactor[1728] = 0.978881;
+   TPCScaleFactor[1731] = 0.999818;
+   TPCScaleFactor[1732] = 1.00109;
+   TPCScaleFactor[1770] = 0.99935;
+   TPCScaleFactor[1773] = 0.998531;
+   TPCScaleFactor[1786] = 0.999125;
+   TPCScaleFactor[1787] = 0.998479;
+   TPCScaleFactor[1801] = 0.9775;
+   TPCScaleFactor[1802] = 0.999095;
+   TPCScaleFactor[1811] = 0.998197;
+   TPCScaleFactor[1815] = 1.00413;
+   TPCScaleFactor[1879] = 0.990916;
+   TPCScaleFactor[1881] = 0.987241;
+   TPCScaleFactor[2186] = 1.00048;
+   TPCScaleFactor[2187] = 1.00057;
+   TPCScaleFactor[2254] = 1.00588;
+   TPCScaleFactor[2256] = 0.991503;
+   TPCScaleFactor[2321] = 1.00057;
+
 
   // set all missing values to the value of the run before it ....
   for (int i=0; i<(fHighRunN-fLowRunN); i++) {