]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG3/vertexingHF/AddGoodRuns.C
Add selection on track filter mask in D meson tasks
[u/mrichter/AliRoot.git] / PWG3 / vertexingHF / AddGoodRuns.C
index 12b6f23c43b201799034298ce94540152d59089d..d2c29eb537b1327b7ea012cf34113f972db9227c 100644 (file)
@@ -61,8 +61,8 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
 
   if(lhcPeriod=="LHC10e") { // updated Apr 5 (RCT good runs)
     if(mcprod=="") {
-      nruns=95;
-      Int_t runlist[95]={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, 127931, 127822, 127718, 127714, 127712};
+      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};
       for(Int_t k=0;k<nruns;k++){
        if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
        plugin->AddRunNumber(runlist[k]);
@@ -81,26 +81,72 @@ Int_t AddGoodRuns(AliAnalysisAlien* plugin,TString lhcPeriod,TString mcprod="")
   }
 
   if(lhcPeriod=="LHC10h") {
-    nruns=104;
-    Int_t runlist[104]={139514, 139513, 139511, 139510, 139507, 139505, 139503, 139470, 139467, 139466, 139465, 139438, 139437, 139360, 139329, 139328, 139314, 139310, 139309, 139173, 139107, 139105, 139038, 139037, 139036, 139029, 139028, 138872, 138871, 138870, 138837, 138796, 138732, 138730, 138666, 138662, 138653, 138652, 138638, 138624, 138621, 138583, 138582, 138579, 138578, 138534, 138469, 138442, 138439, 138438, 138396, 138364, 138225, 138201, 138197, 138192, 138190, 138154, 138153, 138151, 138150, 138126, 138125, 137848, 137843, 137752, 137751, 137724, 137722, 137718, 137704, 137693, 137692, 137691, 137686, 137685, 137639, 137638, 137608, 137595, 137549, 137546, 137544, 137541, 137539, 137531, 137530, 137443, 137441, 137440, 137439, 137434, 137432, 137431, 137430, 137366, 137243, 137236, 137235, 137232, 137231, 137165, 137162, 137161};
-   
-    for(Int_t k=0;k<nruns;k++){
-      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
-      plugin->AddRunNumber(runlist[k]);
-      ngoodruns++;
+    if(mcprod=="" || mcprod=="LHC11a10b") {
+      nruns=104;
+      Int_t runlist[104]={139514, 139513, 139511, 139510, 139507, 139505, 139503, 139470, 139467, 139466, 139465, 139438, 139437, 139360, 139329, 139328, 139314, 139310, 139309, 139173, 139107, 139105, 139038, 139037, 139036, 139029, 139028, 138872, 138871, 138870, 138837, 138796, 138732, 138730, 138666, 138662, 138653, 138652, 138638, 138624, 138621, 138583, 138582, 138579, 138578, 138534, 138469, 138442, 138439, 138438, 138396, 138364, 138225, 138201, 138197, 138192, 138190, 138154, 138153, 138151, 138150, 138126, 138125, 137848, 137843, 137752, 137751, 137724, 137722, 137718, 137704, 137693, 137692, 137691, 137686, 137685, 137639, 137638, 137608, 137595, 137549, 137546, 137544, 137541, 137539, 137531, 137530, 137443, 137441, 137440, 137439, 137434, 137432, 137431, 137430, 137366, 137243, 137236, 137235, 137232, 137231, 137165, 137162, 137161};
+
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
+    } else if(mcprod=="LHC11a10b_bis") {
+      nruns=84;
+      Int_t runlist[84]={138364, 138396, 138438, 138439, 138442, 138469, 138533, 138534, 138578, 138579, 138582, 138583, 138620, 138621, 138624, 138637, 138638, 138652, 138653, 138662, 138666, 138730, 138731, 138732, 138736, 138737, 138740, 138742, 138795, 138796, 138826, 138828, 138830, 138831, 138836, 138837, 138870, 138871, 138872, 139024, 139025, 139028, 139029, 139030, 139031, 139034, 139036, 139037, 139038, 139042, 139104, 139105, 139107, 139110, 139172, 139173, 139308, 139309, 139310, 139311, 139314, 139316, 139328, 139329, 139360, 139437, 139438, 139439, 139440, 139441, 139465, 139466, 139467, 139470, 139471, 139503, 139504, 139505, 139507, 139510, 139511, 139513, 139514, 139517};
+
+      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=="LHC10hFlow") {
+    if(mcprod=="" || mcprod=="LHC11a10b") {
+      nruns=93;
+      Int_t runlist[93]={139510, 139507, 139505, 139503, 139465, 139438, 139437, 139360, 139329, 139328, 139314, 139310, 139309, 139173, 139107, 139105, 139038, 139037, 139036, 139029, 139028, 138872, 138871, 138870, 138837, 138732, 138730, 138666, 138662, 138653, 138652, 138638, 138624, 138621, 138583, 138582, 138579, 138578, 138534, 138469, 138442, 138439, 138438, 138396, 138364, 138275, 138225, 138201, 138197, 138192, 138190, 137848, 137844, 137752, 137751, 137724, 137722, 137718, 137704, 137693, 137692, 137691, 137686, 137685, 137639, 137638, 137608, 137595, 137549, 137546, 137544, 137541, 137539, 137531, 137530, 137443, 137441, 137440, 137439, 137434, 137432, 137431, 137430, 137366, 137243, 137236, 137235, 137232, 137231, 137230, 137162, 137161, 137135};
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
+    } else if(mcprod=="LHC11a10b_bis") {
+      nruns=84;
+      Int_t runlist[84]={138364, 138396, 138438, 138439, 138442, 138469, 138533, 138534, 138578, 138579, 138582, 138583, 138620, 138621, 138624, 138637, 138638, 138652, 138653, 138662, 138666, 138730, 138731, 138732, 138736, 138737, 138740, 138742, 138795, 138796, 138826, 138828, 138830, 138831, 138836, 138837, 138870, 138871, 138872, 139024, 139025, 139028, 139029, 139030, 139031, 139034, 139036, 139037, 139038, 139042, 139104, 139105, 139107, 139110, 139172, 139173, 139308, 139309, 139310, 139311, 139314, 139316, 139328, 139329, 139360, 139437, 139438, 139439, 139440, 139441, 139465, 139466, 139467, 139470, 139471, 139503, 139504, 139505, 139507, 139510, 139511, 139513, 139514, 139517};
+
+      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=="LHC11a") {
-    nruns=24;
-    Int_t runlist[24]={146860, 146859, 146858, 146857, 146856, 146824, 146817, 146814, 146813, 146812, 146808, 146807, 146806, 146805, 146804, 146803, 146802, 146801, 146748, 146747, 146746, 146689, 146688, 146686};  
-   
-    for(Int_t k=0;k<nruns;k++){
-      if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
-      plugin->AddRunNumber(runlist[k]);
-      ngoodruns++;
+    
+    if(mcprod=="") {
+      nruns=15;
+      Int_t runlist[15]={146860, 146859, 146858, 146856, 146824, 146817, 146806, 146805, 146804, 146803, 146802, 146801, 146748, 146747, 146746};  
+      
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
+    } else if(mcprod=="LHC11b10b") {
+      nruns=24;
+      Int_t runlist[24]={146860, 146859, 146858, 146857, 146856, 146824, 146817, 146814, 146813, 146812, 146808, 146807, 146806,
+                        146805, 146804, 146803, 146802, 146801, 146748, 146747, 146746, 146689, 146688, 146686};
+      for(Int_t k=0;k<nruns;k++){
+       if(runlist[k]<firstrun || runlist[k]>lastrun) continue;
+       plugin->AddRunNumber(runlist[k]);
+       ngoodruns++;
+      }
     }
+    
     plugin->SetNrunsPerMaster(ngoodruns);
   }