Time data monitoring (Raphael)
[u/mrichter/AliRoot.git] / VZERO / AliVZEROQADataMakerRec.h
index f199b27..42a2745 100644 (file)
@@ -35,7 +35,8 @@ public:
                  ,kWidth,kWidthBB,kWidthBG,kHPTDCTime,kHPTDCTimeBB,kHPTDCTimeBG,kBBFlagVsClock,kBGFlagVsClock
                  ,kMultiV0A,kMultiV0C,kChargeV0A,kChargeV0C,kChargeV0 
                  ,kV0ATime,kV0CTime,kDiffTime
-                 ,kRawMIPV0A,kRawMIPV0C,kRawMIPV0,kRawMIPChannel} ;
+                 ,kRawMIPV0A,kRawMIPV0C,kRawMIPV0,kRawMIPChannel
+                 ,kRawMeanChargePerRing,kRawMeanFlagPerRing} ;
        
  enum HESDType_t {kCellMultiV0A,kCellMultiV0C,kMIPMultiV0A,kMIPMultiV0C,kMIPMultiChannel
                  ,kBBFlag,kBGFlag,kChargeChannel,kTimeChannel
@@ -48,6 +49,7 @@ public:
   virtual ~AliVZEROQADataMakerRec() {;} // destructor
   AliVZEROCalibData *GetCalibData() const;
   virtual void   InitRaws() ; 
+  void SetTrendingUpdateTime(size_t time) {fTrendingUpdateTime = time;};
   
 protected: 
   AliVZEROCalibData *fCalibData;        //! calibration data
@@ -61,11 +63,21 @@ private:
   virtual void   MakeDigits() ; 
   virtual void   MakeDigits(TTree* digitTree) ; 
   virtual void   StartOfDetectorCycle() ; 
+  void AddTrendingEntry();
 
   Int_t   fEvent;
   Int_t   fEven[64];
   Int_t   fOdd[64];
   Float_t fADCmean[128];
+  size_t fNTotEvents;
+  size_t fNSubEvents;
+  size_t fTrendingUpdateEvent;
+  size_t fTrendingUpdateTime;
+  UInt_t fCycleStartTime;
+  UInt_t fCycleStopTime;
+  Double_t fMonitorRate;
+  Double_t fChargePerRing[8];
+  Double_t fFlagPerRing[8];
 
   ClassDef(AliVZEROQADataMakerRec,1)  // description