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 ebd14d958131e60e02760c03c0a594a04fc8bf21..53a8888af4b0d1fc52d98405418ed1263fd2d851 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 de5401e3168f6058c73e3eff85e883f0edde3b21..34c6c450812bb9d9f7dcfc54dc3e641ab4badef0 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: