]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - VZERO/AliVZEROQADataMakerRec.h
- PIDResponse: Loading of special TPC response (splines) for debugging purposes has...
[u/mrichter/AliRoot.git] / VZERO / AliVZEROQADataMakerRec.h
index e026ac0ac6e9876fb219172a1344721077e1520e..579986f1beecb8867dfef372853b6e4b48c2aa6e 100644 (file)
@@ -22,13 +22,14 @@ class TObjArray;
 class AliCDBManager;
 class AliCDBStorage;
 class AliVZEROCalibData;
+class AliVZEROTriggerData;
 
 class AliVZEROQADataMakerRec: public AliQADataMakerRec {
 
 public:
   // Histograms for Raw data control
-  enum HRawType_t {kPedestalInt0,kPedestalInt1,kPedestalCycleInt0,kPedestalCycleInt1,kPedestalTimeInt0,kPedestalTimeInt1
-                 ,kChargeEoIInt0,kChargeEoIInt1,kChargeEoITimeInt0,kChargeEoITimeInt1,kChargeEoICycleInt0,kChargeEoICycleInt1
+  enum HRawType_t {kPedestalInt0,kPedestalInt1
+                 ,kChargeEoI,kChargeEoIInt0,kChargeEoIInt1
                  ,kChargeEoIBBInt0,kChargeEoIBBInt1,kChargeEoIBGInt0,kChargeEoIBGInt1,kChargeVsClockInt0,kChargeVsClockInt1
                  ,kChargeMBBB0BG0Int0,kChargeMBBB0BG1Int0,kChargeMBBB1BG0Int0,kChargeMBBB1BG1Int0
                  ,kChargeMBBB0BG0Int1,kChargeMBBB0BG1Int1,kChargeMBBB1BG0Int1,kChargeMBBB1BG1Int1
@@ -36,7 +37,8 @@ public:
                  ,kMultiV0A,kMultiV0C,kChargeV0A,kChargeV0C,kChargeV0 
                  ,kV0ATime,kV0CTime,kDiffTime
                  ,kRawMIPV0A,kRawMIPV0C,kRawMIPV0,kRawMIPChannel
-                 ,kRawMeanChargePerRing,kRawMeanFlagPerRing,kRawDQMCharge,kRawDQMFlag} ;
+                 ,kBBFlagsPerChannel, kTriggers,kTriggers2,kTimeV0AV0C
+                 ,kCentrChargeV0AV0C};
        
  enum HESDType_t {kCellMultiV0A,kCellMultiV0C,kMIPMultiV0A,kMIPMultiV0C,kMIPMultiChannel
                  ,kBBFlag,kBGFlag,kChargeChannel,kTimeChannel
@@ -49,10 +51,10 @@ public:
   virtual ~AliVZEROQADataMakerRec() {;} // destructor
   AliVZEROCalibData *GetCalibData() const;
   virtual void   InitRaws() ; 
-  void SetTrendingUpdateTime(size_t time) {fTrendingUpdateTime = time;};
   
 protected: 
   AliVZEROCalibData *fCalibData;        //! calibration data
+  AliVZEROTriggerData *fTriggerData;    //! trigger config data
    
 private:
   virtual void   EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list) ;
@@ -63,28 +65,24 @@ private:
   virtual void   MakeDigits() ; 
   virtual void   MakeDigits(TTree* digitTree) ; 
   virtual void   StartOfDetectorCycle() ; 
-  void AddTrendingEntry();
-
-  Int_t   fEvent;                     // event index
+  Float_t CorrectLeadingTime(Int_t i, Float_t time, Float_t adc) const;
+  
+  //  Int_t   fEvent;                     // event index
   Int_t   fEven[64];                  // even charge integrators
   Int_t   fOdd[64];                   // odd charge intergators
   Float_t fADCmean[128];              // mean adc per integrator
-  size_t fNTotEvents;                 // total number of events
-  size_t fNSubEvents;                 // number of events used in trending histos
-  size_t fTrendingUpdateEvent;        // event index of last update of the trending histos
-  size_t fNTrendingUpdates;           // number of updates in trending histos
+  //  size_t fNTotEvents;                 // total number of events
+  //  size_t fNSubEvents;                 // number of events used in trending histos
+  //  size_t fTrendingUpdateEvent;        // event index of last update of the trending histos
+  //  size_t fNTrendingUpdates;           // number of updates in trending histos
   size_t fTrendingUpdateTime;         // trending histos update time
   UInt_t fCycleStartTime;             // timestamp of QA start-of-cycle
   UInt_t fCycleStopTime;              // timestamp of QA end-of-cycle
-  Double_t fMonitorRate;              // monitoring rate
-  Double_t fChargePerRing[8];         // charge per ring
-  Double_t fFlagPerRing[8];           // flag per ring
-  Double_t fChargePerChannel[64];     // charge per channel
-  Double_t fFlagPerChannel[64];       // flag per channel
-  Double_t fMeanChargePerChannel[64]; // mean charge per channel
-  Double_t fMeanFlagPerChannel[64];   // mean flag per channel
+  Float_t            fTimeOffset[64]; //! HPTDC time offsets channel by channel
+  TF1*               fTimeSlewing;    //! Function for time slewing correction
 
-  ClassDef(AliVZEROQADataMakerRec,2)  // description 
+  ClassDef(AliVZEROQADataMakerRec,4)  // description 
 
 };