]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerPreprocessor.cxx
In AliMUONLocalTriggerBoard:
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerPreprocessor.cxx
index 3c7b720bcd196aeaa5773b8aa472d81cf84dfcf1..e231f7667f4123cd917d0524748e3d44ce3fc69f 100644 (file)
@@ -41,6 +41,8 @@ AliMUONTriggerPreprocessor::AliMUONTriggerPreprocessor(AliShuttleInterface* shut
 fTriggerSubprocessor(new AliMUONTriggerSubprocessor(this))
 {
   /// ctor. 
+  AddRunType("PHYSICS");
+  AddRunType("CALIBRATION");
 }
 
 //_____________________________________________________________________________
@@ -59,18 +61,18 @@ AliMUONTriggerPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi
   ClearSubprocessors();
   
   fIsValid = kTRUE;
+  fIsApplicable = kTRUE;
   
   TString runType = GetRunType();
   
   if ( runType == "PHYSICS" ||
-       runType == "ELECTRONICS_CALIBRATION_RUN" ||
-       runType == "DETECTOR_CALIBRATION_RUN" ) 
+       runType == "CALIBRATION" ) 
   {
     Add(fTriggerSubprocessor);
   }
   else
   {
-    Log(Form("WARNING-RunType=%s is not one I should handle.",runType.Data()));
+    fIsApplicable = kFALSE;
   }
   
   AliMUONPreprocessor::Initialize(run,startTime,endTime);