Changes according to AliPreprocessor class
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Aug 2006 08:16:07 +0000 (08:16 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Aug 2006 08:16:07 +0000 (08:16 +0000)
ZDC/AliZDCPreprocessor.cxx
ZDC/AliZDCPreprocessor.h

index b3cec7d..5e73a40 100644 (file)
@@ -12,9 +12,9 @@
 #include "AliZDCCalibData.h"
 
 //
-// This class is an example for a simple preprocessor.
-// It takes data from DCS and passes it to the class AliZDCDataDCS, which
-// reformats its. This class is then written to the CDB.
+// Class implementing ZDC pre-processor.
+// It takes data from DCS and passes it to the class AliZDCDataDCS.
+// The class is then written to the CDB.
 //
 
 ClassImp(AliZDCPreprocessor)
@@ -33,6 +33,7 @@ AliZDCPreprocessor::~AliZDCPreprocessor()
   // destructor
 }
 
+
 //______________________________________________________________________________________________
 void AliZDCPreprocessor::Initialize(Int_t run, UInt_t startTime,
        UInt_t endTime)
@@ -95,7 +96,7 @@ UInt_t AliZDCPreprocessor::Process(TMap* dcsAliasMap)
   metaData.SetResponsible("Chiara");
   metaData.SetComment("This preprocessor fills an AliZDCDataDCS object.");
 
-  UInt_t result = Store("DCS", "Data", fData, &metaData);
+  UInt_t result = Store("SHUTTLE","Data",fData, &metaData);
   delete fData;
   fData = 0;
 
index d4a8e09..7098bb8 100644 (file)
@@ -3,7 +3,12 @@
 
 #include "AliPreprocessor.h"
 
-// test preprocessor that writes data to AliZDCDataDCS
+///////////////////////////////////////////////////////////////////////////////
+//                                                                           //
+//                     Zero Degree Calorimeter                              //
+// ZDC Preprocessor -> writes data to AliZDCDataDCS
+//                                                                           //
+///////////////////////////////////////////////////////////////////////////////
 
 class AliZDCDataDCS;
 
@@ -16,6 +21,8 @@ class AliZDCPreprocessor : public AliPreprocessor
   protected:
     virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
     virtual UInt_t Process(TMap* dcsAliasMap);
+    AliZDCPreprocessor(const AliZDCPreprocessor&);
+    AliZDCPreprocessor& operator=(const AliZDCPreprocessor&);
 
   private:
     AliZDCDataDCS *fData;    // CDB class that stores the data
@@ -23,4 +30,6 @@ class AliZDCPreprocessor : public AliPreprocessor
     ClassDef(AliZDCPreprocessor, 0);
 };
 
+    
+
 #endif