PEDESTALS renamed to PEDESTAL_RUN, the detector name is fixed to ZDC (Alberto)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jun 2007 13:11:59 +0000 (13:11 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Jun 2007 13:11:59 +0000 (13:11 +0000)
ZDC/AliZDCPreprocessor.cxx
ZDC/AliZDCPreprocessor.h

index ebd14d9..53a8888 100644 (file)
@@ -25,8 +25,8 @@
 ClassImp(AliZDCPreprocessor)
 
 //______________________________________________________________________________________________
-AliZDCPreprocessor::AliZDCPreprocessor(const char* detector, AliShuttleInterface* shuttle) :
-  AliPreprocessor(detector, shuttle),
+AliZDCPreprocessor::AliZDCPreprocessor(AliShuttleInterface* shuttle) :
+  AliPreprocessor("ZDC", shuttle),
   fData(0)
 {
   // constructor
@@ -114,7 +114,7 @@ UInt_t AliZDCPreprocessor::Process(TMap* dcsAliasMap)
   // *************** From DAQ ******************
   // [a] PEDESTALS
 TString runType = GetRunType();
-if (runType = "PEDESTALS") {
+if (runType = "PEDESTAL_RUN") {
   TList* daqSources = GetFileSources(kDAQ, "PEDESTALS");
   if(!daqSources){
     Log(Form("No source for PEDESTALS run %d !", fRun));
index de5401e..34c6c45 100644 (file)
@@ -18,7 +18,7 @@ class AliZDCDataDCS;
 class AliZDCPreprocessor : public AliPreprocessor
 {
   public:
-    AliZDCPreprocessor(const char* detector, AliShuttleInterface* shuttle);
+    AliZDCPreprocessor(AliShuttleInterface* shuttle);
     virtual ~AliZDCPreprocessor();
 
   protected: