]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSQASDDDataMakerRec.h
restore threshold getters after parameter dynamics update (fw v. >= A012)
[u/mrichter/AliRoot.git] / ITS / AliITSQASDDDataMakerRec.h
index b8942a6c69cbcbf733807fd021f5dfc80e0a6660..12fe79f5b7129a6fce1170361665effa1a5897cb 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef AliITSQASDDDataMakerRec_H
-#define AliITSQASDDDataMakerRec_H
+#ifndef ALIITSQASDDDATAMAKERREC_H
+#define ALIITSQASDDDATAMAKERREC_H
 /* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
 #include "AliQAv1.h"
 #include "AliITSQADataMakerRec.h"
 
+class AliITSCalibrationSDD;
 class TObjArray;
 class AliITSDDLModuleMapSDD;
+
 class AliITSQASDDDataMakerRec: public TObject {
 
 public:
@@ -32,15 +34,18 @@ public:
   virtual Int_t MakeDigits(TTree *clustersTree);
   virtual Int_t MakeRecPoints(TTree *clustersTree);
   virtual void StartOfDetectorCycle();
-  virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray * list);
+  virtual void EndOfDetectorCycle(AliQAv1::TASKINDEX_t task, TObjArray ** list);
   virtual void CreateTheMap();
+  virtual void CreateTheCalibration();
+  virtual void InitCalibrationArray();
 
   virtual ~AliITSQASDDDataMakerRec(); // dtor
-  Int_t GetOffset(AliQAv1::TASKINDEX_t task,Int_t specie=0);
+  Int_t GetOffset(AliQAv1::TASKINDEX_t task,Int_t specie=0)const;
   void  SetOffset(AliQAv1::TASKINDEX_t task, Int_t offset, Int_t specie = 0);
   Int_t GetTaskHisto(AliQAv1::TASKINDEX_t task);
+  Int_t GetNumberOfEvents(AliQAv1::TASKINDEX_t task, Int_t trigCl=-1);
   virtual void ResetDetector(AliQAv1::TASKINDEX_t task);
-  AliITSDDLModuleMapSDD* GetDDLSDDModuleMap(){return fDDLModuleMap; };
+  AliITSDDLModuleMapSDD* GetDDLSDDModuleMap()const{return fDDLModuleMap; };
 
 private:
 
@@ -51,21 +56,26 @@ private:
   //static const Int_t fgkDDLIDshift = 0;    // necessary option until RawStream Table is complete
   static const Int_t fgkLADDonLAY3 = 14;   // number of ladder on layer 3
   static const Int_t fgkLADDonLAY4 = 22;   // number of ladder on layer 4
+  static const Int_t fgkTotalNumberSDDAnodes = 512; //total number of the anodes of a SDD modules
+  static const Int_t fgkNumberOfSDDAnodesperSide =256; //number of the anodes of an half SDD modules
 
-  AliITSQADataMakerRec *fAliITSQADataMakerRec;// pointer to the main ctor
-  Bool_t  fkOnline;                           // online (1) or offline (0) use
-  Int_t   fLDC;                               // LDC number (0 for offline, 1 to 4 for online) 
-  Int_t   fSDDhRawsTask;                      // number of histo booked for each the Raws Task SDD
-  Int_t   fSDDhDigitsTask;                    // number of histo booked for each the RecPoints Task SDD
-  Int_t   fSDDhRecPointsTask;                 // number of histo booked for each the RecPoints Task SDD
+  AliITSQADataMakerRec *fAliITSQADataMakerRec; // pointer to the main ctor
+  Bool_t  fkOnline;                            // online (1) or offline (0) use
+  Int_t   fLDC;                                // LDC number (0 for offline, 1 to 4 for online) 
+  Int_t   fSDDhRawsTask;                       // number of histo booked for each the Raws Task SDD
+  Int_t   fSDDhDigitsTask;                     // number of histo booked for each the RecPoints Task SDD
+  Int_t   fSDDhRecPointsTask;                  // number of histo booked for each the RecPoints Task SDD
+  Int_t   fOnlineOffsetRaws;                                   // index for starting online histograms for Raws
+  Int_t   fOnlineOffsetRecPoints;                                      // index for starting online histograms for RecPoints
   Int_t   *fGenRawsOffset;                     // QAchecking Raws offset       
   Int_t   *fGenDigitsOffset;                   // QAchecking RecPoints offset       
   Int_t   *fGenRecPointsOffset;                // QAchecking RecPoints offset       
-  Int_t   fTimeBinSize;                              // time bin width in number of clocks
-  AliITSDDLModuleMapSDD  *fDDLModuleMap;      // SDD Detector configuration for the decoding
-
+  Int_t   fTimeBinSize;                               // time bin width in number of clocks
+  AliITSDDLModuleMapSDD  *fDDLModuleMap;       // SDD Detector configuration for the decoding
+  TObjArray *fCalibration;                     //Array of Calibration Object
+  TObjArray *fHistoCalibration;                //Array of the Calibration histograms for the normalization
 
-  ClassDef(AliITSQASDDDataMakerRec,11)         // description 
+  ClassDef(AliITSQASDDDataMakerRec,13)         // description 
 
 };