]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDPreprocessor.cxx
Changed the constructor to include calls to AddRunType(...). This change was required...
[u/mrichter/AliRoot.git] / FMD / AliFMDPreprocessor.cxx
index e3bab082bcc025a409462e8b65a9b018eb83c4a1..b554265b8467ab599b15dc063975a24680d9db1e 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);