Changed the constructor to include calls to AddRunType(...). This change was required...
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 10:15:14 +0000 (10:15 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 26 Mar 2008 10:15:14 +0000 (10:15 +0000)
FMD/AliFMDPreprocessor.cxx

index e3bab08..b554265 100644 (file)
@@ -83,6 +83,18 @@ ClassImp(AliFMDPreprocessor)
 ;
 #endif 
 
+
+//____________________________________________________
+AliFMDPreprocessor::AliFMDPreprocessor(AliShuttleInterface* shuttle)
+  : AliPreprocessor("FMD", shuttle)
+{
+  AddRunType("PHYSICS");
+  AddRunType("STANDALONE");
+  AddRunType("PEDESTAL");
+  AddRunType("GAIN");
+}
+
+
 //____________________________________________________
 Bool_t AliFMDPreprocessor::GetAndCheckFileSources(TList*&     list,
                                                  Int_t       system, 
@@ -170,7 +182,7 @@ UInt_t AliFMDPreprocessor::Process(TMap* /* dcsAliasMap */)
     }
     resultPed = (calibPed ? kTRUE : kFALSE);
   }
-  if (runType.Contains("PULSER", TString::kIgnoreCase)) {
+  if (runType.Contains("GAIN", TString::kIgnoreCase)) {
     if (GetAndCheckFileSources(files, kDAQ, "gains")) {
       if(files->GetSize())
        calibGain = GetGainCalibration(files);