]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliStats.h
Moving the QA for raw data inside the event loop (Yves). The list of the detectors...
[u/mrichter/AliRoot.git] / RAW / AliStats.h
index ff2953ea84f7fed39431062024cd60d9d480b390..3d8b0cbdf4323284c9a1ed16bd39e92f8e28e86e 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef ALISTATS_H
 #define ALISTATS_H
-// @(#)alimdc:$Name$:$Id$
+// @(#) $Id$
 // Author: Fons Rademakers  26/11/99
 
 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
@@ -26,7 +26,6 @@
 
 
 // Forward class declarations
-class AliRawDB;
 class TH1F;
 
 
@@ -39,19 +38,17 @@ public:
    AliStats &operator=(const AliStats &rhs);
 
    void SetEvents(Int_t events) { fEvents = events; }
-   void SetFirstId(Int_t run, Int_t event) { fFirstRun = run; fFirstEvent = event; }
-   void SetLastId(Int_t run, Int_t event) { fLastRun = run; fLastEvent = event; }
+   void SetFirstId(Int_t run, Int_t event) { fRun = run; fFirstEvent = event; }
+   void SetLastId(Int_t event) { fLastEvent = event; }
    void SetBeginTime() { fBegin.Set(); }
    void SetEndTime() { fEnd.Set(); }
    void SetFileSize(Double_t size) { fFileSize = size; }
    void SetCompressionFactor(Float_t comp) { fCompFactor = comp; }
    void Fill(Float_t time);
-   void WriteToDB(AliRawDB *rawdb);
 
    Int_t       GetEvents() const { return fEvents; }
-   Int_t       GetFirstRun() const { return fFirstRun; }
+   Int_t       GetRun() const { return fRun; }
    Int_t       GetFirstEvent() const { return fFirstEvent; }
-   Int_t       GetLastRun() const { return fLastRun; }
    Int_t       GetLastEvent() const { return fLastEvent; }
    TDatime    &GetBeginTime() { return fBegin; }
    TDatime    &GetEndTime() { return fEnd; }
@@ -64,9 +61,8 @@ public:
 
 private:
    Int_t    fEvents;     // number of events in this file
-   Int_t    fFirstRun;   // run number of first event in file
+   Int_t    fRun;   // run number of first event in file
    Int_t    fFirstEvent; // event number of first event in file
-   Int_t    fLastRun;    // run number of last event in file
    Int_t    fLastEvent;  // event number of last event in file
    TDatime  fBegin;      // begin of filling time
    TDatime  fEnd;        // end of filling time
@@ -78,7 +74,7 @@ private:
    TH1F    *fRTHist;     // histogram of real-time to process chunck of data
    Float_t  fChunk;      //!chunk to be histogrammed
 
-   ClassDef(AliStats,1)  // Statistics object
+   ClassDef(AliStats,2)  // Statistics object
 };
 
 #endif