]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGHF/vertexingHF/AddGoodRuns.C
Merge branch 'master' into TPCdev
[u/mrichter/AliRoot.git] / PWGHF / vertexingHF / AddGoodRuns.C
index 48232e00a700c7eddfb2af3a228a0299c1f84f38..10b435eff7b74d5339af81e408dd787f11ecd913 100644 (file)
@@ -47,9 +47,9 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
     plugin->SetNrunsPerMaster(ngoodruns);
   }
 
-  if(lhcPeriod=="LHC10d") { // runs with high mu excluded
-    nruns=55;
-    Int_t runlist[55]={126437, 126432, 126425, 126424, 126422, 126409, 126408, 126407, 126406, 126405, 126404, 126403, 126359, 126352, 126351, 126350, 126285, 126284, 126283, 126168, 126167, 126160, 126158, 126097, 126090, 126088, 126082, 126081, 126078, 126073, 126008, 126007, 126004, 125855, 125851, 125850, 125849, 125848, 125847, 125844, 125843, 125842, 125633, 125632, 125630, 125296, 125134, 125101, 125100, 125097, 125085, 125023, 124751, 122375, 122374};
+  if(lhcPeriod=="LHC10d") { // runs with high mu excluded, updated from RCT on 1st Sept 2013 (removed 2 runs)
+    nruns=53;
+    Int_t runlist[53]={126437, 126432, 126425, 126424, 126422, 126409, 126408, 126407, 126406, 126405, 126404, 126403, 126359, 126352, 126351, 126285, 126284, 126283, 126168, 126160, 126158, 126097, 126090, 126088, 126082, 126081, 126078, 126073, 126008, 126007, 126004, 125855, 125851, 125850, 125849, 125848, 125847, 125844, 125843, 125842, 125633, 125632, 125630, 125296, 125134, 125101, 125100, 125097, 125085, 125023, 124751, 122375, 122374};
    
     for(Int_t k=0;k<nruns;k++){
       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
@@ -59,7 +59,7 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
     plugin->SetNrunsPerMaster(ngoodruns);
   }
 
-  if(lhcPeriod=="LHC10e") { // updated Apr 5 (RCT good runs)
+  if(lhcPeriod=="LHC10eP1") { // updated Apr 5 (RCT good runs)
     if(mcprod=="") {
       nruns=94;
       Int_t runlist[94]={130840, 130834, 130799, 130798, 130795, 130793, 130696, 130628, 130623, 130620, 130609, 130519, 130480, 130360, 130358, 130356, 130354, 130343, 130178, 130158, 129961, 129960, 129959, 129744, 129742, 129738, 129736, 129735, 129729, 129726, 129725, 129723, 129667, 129666, 129659, 129654, 129653, 129652, 129650, 129647, 129641, 129639, 129599, 129586, 129540, 129528, 129527, 129523, 129520, 129513, 129512, 128913, 128855, 128853, 128843, 128836, 128835, 128824, 128823, 128820, 128778, 128777, 128678, 128677, 128615, 128611, 128609, 128605, 128582, 128507, 128504, 128503, 128495, 128494, 128486, 128483, 128452, 128366, 128260, 128192, 128191, 128186, 128185, 127942, 127941, 127940, 127937, 127936, 127935, 127933, 127822, 127718, 127714, 127712};
@@ -68,6 +68,17 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
        plugin->AddRunNumber(runlist[k]);
        ngoodruns++;
       }
+    }
+  }
+  if(lhcPeriod=="LHC10e") {  // List for Pass2 updated from RCT on 1st Sept 2013 (RCT good runs)
+    if(mcprod=="") {
+      nruns=115;
+      Int_t runlist[115]={130848, 130847, 130844, 130842, 130840, 130834, 130799, 130798, 130795, 130793, 130704, 130696, 130608, 130601, 130520, 130519, 130517, 130480, 130375, 130356, 130354, 130343, 130342, 130179, 130178, 130172, 130158, 130157, 130149, 129983, 129961, 129960, 129959, 129744, 129742, 129738, 129736, 129735, 129729, 129726, 129725, 129723, 129667, 129666, 129659, 129654, 129653, 129652, 129650, 129647, 129641, 129639, 129599, 129587, 129586, 129540, 129528, 129527, 129523, 129520, 129514, 129513, 129512, 128913, 128855, 128853, 128850, 128843, 128836, 128835, 128833, 128824, 128823, 128820, 128778, 128777, 128678, 128677, 128621, 128615, 128611, 128609, 128605, 128582, 128507, 128505, 128504, 128503, 128498, 128495, 128494, 128486, 128483, 128452, 128366, 128263, 128260, 128192, 128191, 128189, 128186, 128185, 127942, 127941, 127940, 127937, 127936, 127935, 127933, 127931, 127822, 127719, 127718, 127714, 127712};
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
     } else if(mcprod=="LHC10f7a") {
       nruns=74;
       Int_t runlist[74]={127719, 127724, 127729, 127730, 127814, 127819, 127930, 127940, 128263, 128778, 128913, 129536, 129599, 129639, 129641, 129654, 129659, 129666, 129667, 129723, 129725, 129726, 129729, 129735, 129736, 129738, 129742, 129744, 129959, 129960, 129961, 129962, 129966, 129983, 130149, 130151, 130157, 130158, 130172, 130178, 130179, 130342, 130343, 130354, 130356, 130358, 130360, 130375, 130479, 130480, 130481, 130517, 130519, 130520, 130524, 130526, 130601, 130608, 130620, 130621, 130623, 130628, 130696, 130704, 130793, 130795, 130798, 130799, 130834, 130840, 130842, 130844, 130847, 130848};
@@ -76,6 +87,14 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
        plugin->AddRunNumber(runlist[k]);
        ngoodruns++;
       }
+    } else if(mcprod=="LHC12a12") {
+      nruns=115;
+      Int_t runlist[115]={127719, 127822, 127931, 127933, 127935, 127936, 127937, 127940, 127941, 127942, 128185, 128186, 128189, 128191, 128192, 128260, 128263, 128366, 128452, 128483, 128486, 128494, 128495, 128498, 128503, 128504, 128505, 128507, 128582, 128605, 128609, 128611, 128615, 128621, 128677, 128678, 128777, 128778, 128820, 128823, 128824, 128833, 128835, 128836, 128843, 128850, 128853, 128855, 128913, 129512, 129513, 129514, 129520, 129523, 129527, 129528, 129540, 129586, 129587, 129599, 129639, 129641, 129647, 129650, 129652, 129653, 129654, 129659, 129666, 129667, 129723, 129725, 129726, 129729, 129735, 129736, 129738, 129742, 129744, 129959, 129960, 129961, 129966, 129983, 130149, 130157, 130158, 130172, 130178, 130179, 130342, 130343, 130354, 130356, 130358, 130360, 130375, 130480, 130517, 130519, 130520, 130601, 130608, 130696, 130704, 130793, 130795, 130798, 130799, 130834, 130840, 130842, 130844, 130847, 130848};      
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
     }
     plugin->SetNrunsPerMaster(ngoodruns);
   }
@@ -151,8 +170,141 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
 
 
   if(lhcPeriod=="LHC11h") { // PbPb 2011
-    nruns=108;
-    Int_t runlist[108]={169683, 169628, 169584, 169557, 169555, 169554, 169553, 169550, 169515, 169512, 169506, 169504, 169498, 169475, 169420, 169419, 169418, 169417, 169415, 169411, 169238, 169236, 169167, 169160, 169156, 169148, 169145, 169144, 169143, 169138, 169099, 169094, 169091, 169045, 169044, 169040, 169035, 168992, 168988, 168984, 168826, 168777, 168514, 168512, 168511, 168467, 168464, 168461, 168460, 168458, 168362, 168361, 168356, 168342, 168341, 168325, 168322, 168318, 168311, 168310, 168213, 168212, 168208, 168207, 168206, 168205, 168204, 168203, 168181, 168177, 168175, 168173, 168172, 168171, 168115, 168108, 168107, 168105, 168104, 168103, 168076, 168069, 168068, 168066, 167988, 167987, 167986, 167985, 167921, 167920, 167915, 167909, 167903, 167902, 167818, 167814, 167813, 167808, 167807, 167806, 167713, 167712, 167711, 167706, 167693, 166532, 166530, 166529};
+    if(mcprod=="LHC12a17a") {
+      nruns=103;
+      Int_t runlist[103]={167915,167920,167985,167987,167988,168069,168076,
+                         168105,168107,168108,168115,168310,168311,168322,
+                         168325,168341,168342,168361,168362,168458,168460,
+                         168464,168467,168512,168514,168777,168826,168988,
+                         168992,169035,169040,169044,169045,169091,169094,
+                         169099,169144,169145,169148,169160,169167,169238,
+                         169411,169415,169417,169418,169419,169420,169475,
+                         169498,169504,169506,169512,169515,169550,169553,
+                         169554,169555,169557,169586,169587,169588,169590,
+                         169591,169835,169837,169838,169846,169855,169858,
+                         169859,169923,170027,170040,170081,170083,170084,
+                         170085,170088,170089,170091,170155,170159,170163,
+                         170193,170203,170204,170207,170228,170230,170268,
+                         170269,170270,170306,170308,170309,170311,170312,
+                         170313,170315,170387,170572,170593};
+    }else{    
+      nruns=108;
+      Int_t runlist[108]={169683, 169628, 169584, 169557, 169555, 169554, 169553, 169550, 169515, 169512, 169506, 169504, 169498, 169475, 169420, 169419, 169418, 169417, 169415, 169411, 169238, 169236, 169167, 169160, 169156, 169148, 169145, 169144, 169143, 169138, 169099, 169094, 169091, 169045, 169044, 169040, 169035, 168992, 168988, 168984, 168826, 168777, 168514, 168512, 168511, 168467, 168464, 168461, 168460, 168458, 168362, 168361, 168356, 168342, 168341, 168325, 168322, 168318, 168311, 168310, 168213, 168212, 168208, 168207, 168206, 168205, 168204, 168203, 168181, 168177, 168175, 168173, 168172, 168171, 168115, 168108, 168107, 168105, 168104, 168103, 168076, 168069, 168068, 168066, 167988, 167987, 167986, 167985, 167921, 167920, 167915, 167909, 167903, 167902, 167818, 167814, 167813, 167808, 167807, 167806, 167713, 167712, 167711, 167706, 167693, 166532, 166530, 166529};
+    }
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+  
+  
+   if(lhcPeriod=="LHC11h_pass2") { // PbPb 2011
+    if(mcprod=="LHC12a17a") {
+      nruns=103;
+      Int_t runlist[103]={167915,167920,167985,167987,167988,168069,168076,
+                         168105,168107,168108,168115,168310,168311,168322,
+                         168325,168341,168342,168361,168362,168458,168460,
+                         168464,168467,168512,168514,168777,168826,168988,
+                         168992,169035,169040,169044,169045,169091,169094,
+                         169099,169144,169145,169148,169160,169167,169238,
+                         169411,169415,169417,169418,169419,169420,169475,
+                         169498,169504,169506,169512,169515,169550,169553,
+                         169554,169555,169557,169586,169587,169588,169590,
+                         169591,169835,169837,169838,169846,169855,169858,
+                         169859,169923,170027,170040,170081,170083,170084,
+                         170085,170088,170089,170091,170155,170159,170163,
+                         170193,170203,170204,170207,170228,170230,170268,
+                         170269,170270,170306,170308,170309,170311,170312,
+                         170313,170315,170387,170572,170593};
+    }else{
+      nruns=131;
+      Int_t runlist[131]={167902, 167903, 167909, 167915, 167920, 167985, 167986, 167987, 167988, 168066, 168068, 168069, 168076, 168103, 168104, 168105, 168107, 168108, 168115, 168212, 168310, 168311, 168322, 168325, 168341, 168342, 168361, 168362, 168458, 168460, 168461, 168464, 168467, 168511, 168512, 168514, 168777, 168826, 168984, 168988, 168992, 169035, 169040, 169044, 169045, 169091, 169094, 169099, 169138, 169143, 169144, 169145, 169148, 169156, 169160, 169167, 169238, 169411, 169415, 169417, 169418, 169419, 169420, 169475, 169498, 169504, 169506, 169512, 169515, 169550, 169553, 169554, 169555, 169557, 169584, 169586, 169587, 169588, 169590, 169591, 169835, 169837, 169838, 169846, 169855, 169858, 169859, 169922, 169923, 169956, 169965, 169975, 169981, 170027, 170036, 170038, 170040, 170081, 170083, 170084, 170085, 170088, 170089, 170091, 170152, 170155, 170159, 170163, 170193, 170195, 170203, 170204, 170207, 170208, 170228, 170230, 170268, 170269, 170270, 170306, 170308, 170309, 170311, 170312, 170313, 170315, 170387, 170388, 170556, 170572, 170593};
+    }
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+
+   // pPb data of 2013 pass2
+   if(lhcPeriod=="LHC13b") {
+      nruns=12;
+      Int_t runlist[12]={ 195483, 195482, 195481, 195480, 195479, 195478, 195391, 195390, 195389, 195351, 195346, 195344 };
+
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
+      plugin->SetNrunsPerMaster(ngoodruns);
+   }
+   if(lhcPeriod=="LHC13c") {
+      nruns=16;
+      Int_t runlist[16]={ 195677, 195676, 195675, 195673, 195644, 195635, 195633, 195596, 195593, 195592, 195568, 195567, 195566, 195532, 195531, 195529 };
+      
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
+      plugin->SetNrunsPerMaster(ngoodruns);
+   }
+
+
+   //
+   // 2012 pp runs selected by Annelies
+   //
+   if(lhcPeriod=="LHC12a") { 
+    nruns=21;
+    Int_t runlist[21]={177182, 177173, 177167, 177160, 177157, 177011, 176929, 176927, 176926, 176924, 176859, 176854, 176849, 176753, 176752, 176749, 176730, 176715, 176704, 176701, 176661};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+  if(lhcPeriod=="LHC12b") { 
+    nruns=18;
+    Int_t runlist[18]={178163, 177942, 177938, 177869, 177861, 177860, 177858, 177804, 177799, 177798, 177671,177624, 177620, 177612, 177601, 177597, 177592, 177580};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+  if(lhcPeriod=="LHC12bMulti") { 
+    nruns=2;
+    Int_t runlist[2]={178031, 178030};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+ if(lhcPeriod=="LHC12c") { 
+   nruns=78; // with commented part 78 TPC problems from 182325 till 180510 without it 48 runs
+   Int_t runlist[78]={182744, 182741, 182740, 182730, 182729, 182728, 182725,  182724, 182692, 182691, 182687, 182684, 182635, 182624, 182325, 182324, 182323, 182322, 182302, 182300, 182299, 182297, 182295, 182289, 182207, 182111, 182110, 182106, 182023, 182022, 182018, 182017, 180720, 180719, 180717, 180716, 180569, 180567, 180564, 180562, 180561, 180517, 180515, 180510, 180501, 180500, 180230, 180201, 180200, 180199, 180195, 180133, 180132, 180131, 180130, 180129, 180127, 180044, 180042, 180000, 179920, 179919, 179918, 179917, 179916, 179859, 179858, 179803, 179802, 179796, 179639, 179621, 179618, 179591, 179585, 179584, 179571, 179569};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+  if(lhcPeriod=="LHC12d") { 
+    nruns=107;
+    Int_t runlist[107]={186320, 186319, 186318, 186229, 186208, 186205, 186200,  186167, 186165, 186164, 186163, 186162, 185912, 185909, 185784, 185778, 185776, 185775, 185768, 185765, 185764, 185757, 185756, 185738, 185735, 185734, 185701, 185699, 185698, 185697, 185695, 185687, 185680, 185589, 185588, 185583, 185582, 185581, 185580, 185578, 185575, 185574, 185565, 185563, 185474, 185465, 185461, 185457, 185375, 185371, 185363, 185362, 185361, 185360, 185359, 185356, 185351, 185350, 185349, 185303, 185302, 185300, 185299, 185296, 185293, 185292, 185291, 185289, 185288, 185284, 185282, 185221, 185217, 185208, 185206, 185203, 185198, 185196, 185189, 185164, 185160, 185157, 185134, 185132, 185127, 185126, 185116, 185031, 185029, 184786, 184784, 184687, 184682, 184678, 184673, 184371, 184215, 184209, 184208, 184188, 184138, 184137, 184135, 184132, 184127, 183916, 183913 };
    
     for(Int_t k=0;k<nruns;k++){
       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
@@ -161,6 +313,52 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
     }
     plugin->SetNrunsPerMaster(ngoodruns);
   }
+if(lhcPeriod=="LHC12dMulti") { 
+    nruns=9;
+    Int_t runlist[9]={184990, 184988, 184987, 184968, 184967, 184964, 184938, 184933, 184928};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+ if(lhcPeriod=="LHC12e") { 
+    nruns=18;
+    Int_t runlist[18]={186602, 186601, 186598, 186514, 186511, 186508, 186507,  186460, 186459, 186453, 186429, 186428, 186389, 186388, 186387, 186386, 186385, 186365};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+  if(lhcPeriod=="LHC12f") { 
+    nruns=66;
+    Int_t runlist[66]={188101, 188093, 187849, 187796, 187791, 187785, 187753,  187749, 187739, 187698, 187697, 187695, 187656, 187633, 187627, 187624, 187623, 187561, 187560, 187537, 187536, 187510, 187508, 187489, 187488, 187487, 187486, 187485, 187484, 187343, 187341, 187340, 187339, 187203, 187202, 187201, 187152, 187151, 187150, 187149, 187143, 187136, 187084, 187047, 186992, 186990, 186989, 186987, 186969, 186967, 186966, 186965, 186938, 186937, 186857, 186853, 186851, 186845, 186844, 186838, 186815, 186809, 186807, 186692, 186690, 186668};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+
+  if(lhcPeriod=="LHC12g") { 
+    nruns=14;
+    Int_t runlist[14]={188503, 188500, 188499, 188490, 188455, 188454, 188449,  188448, 188447, 188446, 188444, 188443, 188442, 188440};
+   
+    for(Int_t k=0;k<nruns;k++){
+      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+      plugin->AddRunNumber(runlist[k]);
+      ngoodruns++;
+    }
+    plugin->SetNrunsPerMaster(ngoodruns);
+  }
+
 
 
   return ngoodruns;