]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFPreprocessor.h
Corrected a bug in kalman tracking (final parameters and covariances
[u/mrichter/AliRoot.git] / TOF / AliTOFPreprocessor.h
index 2eef84b2982a284a1384cc4e773671b5c611b1b2..4be1e830fe805a6d91c200d5325077ecd29a7a97 100644 (file)
 
 class AliTOFDataDCS;
 class TObjArray;
-class AliTOFCalOnline;
-class AliTOFGeometryV5;
-class AliTOFGeometry;
+class TH2S;
 
 class AliTOFPreprocessor : public AliPreprocessor
 {
   public:
-    AliTOFPreprocessor(const char* detector, AliShuttleInterface* shuttle);
+    AliTOFPreprocessor(AliShuttleInterface* shuttle);
     virtual ~AliTOFPreprocessor();
+    void   SetStoreRefData(Bool_t in){fStoreRefData=in;};
+    Bool_t GetStoreRefData() const {return fStoreRefData;};
 
   protected:
     virtual void Initialize(Int_t run, UInt_t startTime, UInt_t endTime);
@@ -33,13 +33,15 @@ class AliTOFPreprocessor : public AliPreprocessor
     AliTOFPreprocessor& operator=(const AliTOFPreprocessor & proc);
 
     static const Int_t fgkBinRangeAve;   // number of bins where to 
-                                          // calculate the mean
-    AliTOFDataDCS *fData;    // CDB class that stores the data
-    TObjArray *fArray;       // Array of DAQ histograms for delays  
-    AliTOFCalOnline *fCal;         // TOF Calibration object
-    AliTOFGeometry *fTOFGeometry;  // TOF Geometry version
-
-    ClassDef(AliTOFPreprocessor, 0);
+                                         // calculate the mean
+    static const Double_t fgkThrPar;     // parameter used to trigger the 
+                                         // calculation of the delay
+    AliTOFDataDCS *fData;                // CDB class that stores the data
+    TH2S *fh2;                           // TH2S from DAQ for histograms 
+                                         // for delays  
+    TObjArray *fCal;                     // TOF Calibration object
+    Int_t fNChannels;                    // number of TOF channels
+    Bool_t fStoreRefData;                // Flag to decide storage of Ref Data
+    ClassDef(AliTOFPreprocessor, 2);
 };
-
 #endif