Changed run type names to be consistent with ECS.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Dec 2007 12:00:55 +0000 (12:00 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Dec 2007 12:00:55 +0000 (12:00 +0000)
(Laurent)

MUON/AliMUONTrackerPreprocessor.cxx
MUON/AliMUONTriggerPreprocessor.cxx
MUON/TestMUONPreprocessor.C

index 821399b..e0a4a10 100644 (file)
@@ -77,12 +77,13 @@ AliMUONTrackerPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi
   fIsValid = kTRUE;
   fIsApplicable = kTRUE;
   
-  if ( runType == "PEDESTAL_RUN" ) // FIXME : check the name
+  if ( runType == "PEDESTAL" )
   {
     Add(fPedestalSubprocessor); // to be called only for pedestal runs
     Log("INFO-Will run Pedestal subprocessor");
   }
-  else if ( runType == "ELECTRONICS_CALIBRATION_RUN" ) // FIXME : check the name
+  else if ( runType == "ELECTRONICS_CALIBRATION" ||
+            runType == "CALIBRATION" ) // FIXME : check the name
   {
     Add(new AliMUONGainSubprocessor(this)); // to be called only for gain runs
     Log("INFO-Will run Gain subprocessor");
index 02ff14b..f176ec8 100644 (file)
@@ -64,8 +64,9 @@ AliMUONTriggerPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi
   TString runType = GetRunType();
   
   if ( runType == "PHYSICS" ||
-       runType == "ELECTRONICS_CALIBRATION_RUN" ||
-       runType == "DETECTOR_CALIBRATION_RUN" ) 
+       runType == "ELECTRONICS_CALIBRATION" ||
+       runType == "DETECTOR_CALIBRATION" ||
+       runType == "CALIBRATION" ) 
   {
     Add(fTriggerSubprocessor);
   }
index ac3b217..4afa903 100644 (file)
 #include "TRandom.h"
 #endif
 
-void TestMUONPreprocessor(Int_t runNumber=80, const char* runType="PEDESTAL_RUN")
+void TestMUONPreprocessor(Int_t runNumber=80, const char* runType="PEDESTAL")
 {
   // runType can be :
   //
-  // PEDESTAL_RUN -> pedestals
-  // ELECTRONICS_CALIBRATION_RUN -> gains
+  // PEDESTAL -> pedestals
+  // ELECTRONICS_CALIBRATION -> gains
   // PHYSICS -> HV
   // GMS