]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0Preprocessor.h
Coverity fix
[u/mrichter/AliRoot.git] / T0 / AliT0Preprocessor.h
index a2f599eb26d17911a5014152685de3313efa5527..4119a484dd17a9eb918d80e882153e64916410ab 100644 (file)
@@ -3,9 +3,14 @@
 
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
-
 /* $Id$ */
 
+
+// T0 preprocessor. 
+// Takes data from DCS and passes it to the class AliT0DataDCS for processing and writes the result to the Reference DB.
+// Takes data form DAQ (both from Laser Calibration and Physics runs), processes it, and stores either to OCDB or to Reference DB.
+
 #include "AliPreprocessor.h"
 
 class AliT0DataDCS;
@@ -13,17 +18,26 @@ class AliT0DataDCS;
 class AliT0Preprocessor: public AliPreprocessor 
 {
   public:
-        AliT0Preprocessor(): AliPreprocessor("T00",0) { }
+        AliT0Preprocessor(): AliPreprocessor("T00",0),  
+         fData(0)
+ { }
         AliT0Preprocessor(AliShuttleInterface* shuttle);
        virtual ~AliT0Preprocessor();
   
   protected:
         virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
        virtual UInt_t Process(TMap* dcsAliasMap);
+       virtual Bool_t ProcessDCS();
 
   private:
-       AliT0DataDCS *fData;    
-       ClassDef(AliT0Preprocessor, 1)
+       AliT0Preprocessor(const AliT0Preprocessor & proc); // copy constructor  
+       AliT0Preprocessor& operator=(const AliT0Preprocessor&); //operator
+       UInt_t ProcessDCSDataPoints(TMap* dcsAliasMap);
+       UInt_t ProcessLaser();
+       UInt_t ProcessPhysics();
+       AliT0DataDCS *fData;                    // Data member to process DCS data      
+       ClassDef(AliT0Preprocessor, 2)
 };
 
 typedef AliT0Preprocessor AliSTARTPreprocessor; // for backward compatibility