]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibPadStatus.h
Fix Coverity defects
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibPadStatus.h
index 8c5b589f9e4f71efae2a92ee528952ee51dc8d64..9e66f20cf74b2cfc24ebe37ef58f82c850ae0988 100644 (file)
@@ -23,6 +23,10 @@ class AliTRDCalPadStatus;
 class AliTRDrawStreamBase;
 class AliTRDgeometry;
 
+class AliTRDrawFastStream;
+class AliTRDdigitsManager;
+class AliTRDSignalIndex;
+
 struct eventHeaderStruct;
 
 class AliTRDCalibPadStatus : public TObject {
@@ -37,11 +41,17 @@ public:
 
   Int_t ProcessEvent(AliTRDrawStreamBase *rawStream, Bool_t nocheck = kFALSE);
   Int_t ProcessEvent(AliRawReader    *rawReader, Bool_t nocheck = kFALSE);
-  Int_t ProcessEvent(eventHeaderStruct   *event, Bool_t nocheck = kFALSE);
-
+  Int_t ProcessEvent(const eventHeaderStruct   *event, Bool_t nocheck = kFALSE);
+  Int_t ProcessEvent2(AliRawReader    *rawReader);
+  Int_t ProcessEvent3(AliRawReader    *rawReader);
+  void  Destroy();
   Int_t UpdateHisto(const Int_t idet, const Int_t iRow, const Int_t iCol,
                    const Int_t signal, const Int_t crowMax, const Int_t ccold, const Int_t icMcm);
 
+  Int_t UpdateHisto2(const Int_t idet, const Int_t iRow, const Int_t iCol,
+                    const Int_t signal, const Int_t crowMax, const Int_t ccold, const Int_t icMcm, const Int_t icRob);
+
   void AnalyseHisto();
   AliTRDCalPadStatus *CreateCalPadStatus();
   AliTRDCalPad *CreateCalPad();
@@ -62,7 +72,7 @@ public:
 
   TH2F* GetHisto  (Int_t det, Bool_t force=kFALSE);              // get refernce histogram
   
-  void  DumpToFile(const Char_t *filename, const Char_t *dir="", const Bool_t append=kFALSE);
+  void  DumpToFile(const Char_t *filename, const Char_t *dir="", Bool_t append=kFALSE);
   //
   Int_t   GetAdcMin()       const { return fAdcMin;       }
   Int_t   GetAdcMax()       const { return fAdcMax;       }
@@ -70,7 +80,7 @@ public:
   void    SetRangeAdc (Int_t aMin, Int_t aMax){ fAdcMin=aMin; fAdcMax=aMax; }  // Set adc range 
 
 
-  Bool_t TestEventHisto(Int_t nevent, Int_t sm);  //test the fast approach to fill histograms  
+  Bool_t TestEventHisto(Int_t nevent, Int_t sm, Int_t ch);  //test the fast approach to fill histograms  
 
  private:
 
@@ -95,15 +105,14 @@ public:
  
   TH2F* GetHisto(Int_t det, TObjArray *arr,
                 Int_t nbinsY, Float_t ymin, Float_t ymax,
-                Char_t *type, Bool_t force);
+                const Char_t *type, Bool_t force);
 
   // Some basic geometry function
-  virtual Int_t    GetPlane(Int_t d) const;
-  virtual Int_t    GetChamber(Int_t d) const;
+  virtual Int_t    GetLayer(Int_t d) const;
+  virtual Int_t    GetStack(Int_t d) const;
   virtual Int_t    GetSector(Int_t d) const;
 
   ClassDef(AliTRDCalibPadStatus,1)
 
 };
 #endif
-