]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Specifying which run types we are interested in
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Mar 2008 09:05:07 +0000 (09:05 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Mar 2008 09:05:07 +0000 (09:05 +0000)
MUON/AliMUONTrackerPreprocessor.cxx
MUON/AliMUONTriggerPreprocessor.cxx

index e0a4a10d57c11a3c4b1779f7a7e3629440ac132e..739cd660c0a99dcf4432be937658583374966c8c 100644 (file)
@@ -51,6 +51,11 @@ AliMUONTrackerPreprocessor::AliMUONTrackerPreprocessor(AliShuttleInterface* shut
   fGainSubprocessor(new AliMUONGainSubprocessor(this))
 {
   /// ctor. 
+    
+    AddRunType("PEDESTAL");
+    AddRunType("CALIBRATION");
+    AddRunType("GMS");
+    AddRunType("PHYSICS");
 }
 
 //_____________________________________________________________________________
@@ -82,18 +87,17 @@ AliMUONTrackerPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi
     Add(fPedestalSubprocessor); // to be called only for pedestal runs
     Log("INFO-Will run Pedestal subprocessor");
   }
-  else if ( runType == "ELECTRONICS_CALIBRATION" ||
-            runType == "CALIBRATION" ) // FIXME : check the name
+  else if ( runType == "CALIBRATION" )
   {
-    Add(new AliMUONGainSubprocessor(this)); // to be called only for gain runs
+    Add(fGainSubprocessor); // to be called only for gain runs
     Log("INFO-Will run Gain subprocessor");
   }
-  else if ( runType == "GMS" ) // FIXME : check the name
+  else if ( runType == "GMS" )
   {
     Add(fGMSSubprocessor);
     Log("INFO-Will run GMS subprocessor");
   }
-  else if ( runType == "PHYSICS" ) // FIXME : check the name
+  else if ( runType == "PHYSICS" )
   {
     Bool_t useDCS(kTRUE);
     Add(fHVSubprocessor,useDCS); // to be called only for physics runs
index f176ec8e4d43458c436551f889c98ec7ccd50084..e231f7667f4123cd917d0524748e3d44ce3fc69f 100644 (file)
@@ -41,6 +41,8 @@ AliMUONTriggerPreprocessor::AliMUONTriggerPreprocessor(AliShuttleInterface* shut
 fTriggerSubprocessor(new AliMUONTriggerSubprocessor(this))
 {
   /// ctor. 
+  AddRunType("PHYSICS");
+  AddRunType("CALIBRATION");
 }
 
 //_____________________________________________________________________________
@@ -64,8 +66,6 @@ AliMUONTriggerPreprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi
   TString runType = GetRunType();
   
   if ( runType == "PHYSICS" ||
-       runType == "ELECTRONICS_CALIBRATION" ||
-       runType == "DETECTOR_CALIBRATION" ||
        runType == "CALIBRATION" ) 
   {
     Add(fTriggerSubprocessor);