- processing of PHOS and/or EMCAL configurable
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Nov 2010 22:56:40 +0000 (22:56 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 3 Nov 2010 22:56:40 +0000 (22:56 +0000)
HLT/global/physics/AliHLTMultiplicityCorrelationsComponent.cxx

index c9f7d83..616492b 100644 (file)
@@ -440,7 +440,20 @@ Int_t AliHLTMultiplicityCorrelationsComponent::ScanConfigurationArgument(Int_t a
     fCorrObj->SetBinningCalo(binning, min, max);
     return 4;
   }
-
+  if (argument.CompareTo("-enablePhos")==0) {
+    if (++ii>=argc) return -EPROTO;
+    argument=argv[ii];
+    Int_t enabled = argument.Atoi();
+    fCorrObj->SetProcessPhos(enabled);
+    return 2;
+  }
+  if (argument.CompareTo("-enableEmcal")==0) {
+    if (++ii>=argc) return -EPROTO;
+    argument=argv[ii];
+    Int_t enabled = argument.Atoi();
+    fCorrObj->SetProcessEmcal(enabled);
+    return 2;
+  }
   // unknown argument
   return -EINVAL;
 }