]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibPadStatus.h
First implementation of neural network PID
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibPadStatus.h
index e6273a1bc83bba7c66afeff6b217ec1d3aa3334f..cd22f486b4e083f262f50e4144925883dfc6f6e4 100644 (file)
@@ -17,9 +17,11 @@ class TTreeSRedirector;
 
 class AliRawReader;
 
+class AliTRDCalDet;
+class AliTRDCalPad;
 class AliTRDCalROC;
 class AliTRDCalPadStatus;
-class AliTRDRawStream;
+class AliTRDRawStreamV2;
 class AliTRDarrayF;
 class AliTRDgeometry;
 
@@ -35,7 +37,7 @@ public:
 
   AliTRDCalibPadStatus& operator = (const  AliTRDCalibPadStatus &source);
 
-  Int_t ProcessEvent(AliTRDRawStream *rawStream, Bool_t nocheck = kFALSE);
+  Int_t ProcessEvent(AliTRDRawStreamV2 *rawStream, Bool_t nocheck = kFALSE);
   Int_t ProcessEvent(AliRawReader    *rawReader, Bool_t nocheck = kFALSE);
   Int_t ProcessEvent(eventHeaderStruct   *event, Bool_t nocheck = kFALSE);
 
@@ -43,9 +45,15 @@ public:
               const Int_t signal, const Int_t rowMax);
   Int_t UpdateHisto(const Int_t idet, const Int_t iRow, const Int_t iCol,
                    const Int_t signal, const Int_t crowMax);
+
   void Analyse();
   void AnalyseHisto();
   AliTRDCalPadStatus *CreateCalPadStatus();
+  AliTRDCalPad *CreateCalPad();
+  AliTRDCalDet *CreateCalDet();
+
+  void SetCalRocMean(AliTRDCalROC *mean, Int_t det);
+  void SetCalRocRMS(AliTRDCalROC *rms, Int_t det);  
 
   //
   AliTRDarrayF* GetCalEntries(Int_t det, Bool_t force=kFALSE);    // get calibration object
@@ -64,8 +72,8 @@ public:
   void    SetRangeAdc (Int_t aMin, Int_t aMax){ fAdcMin=aMin; fAdcMax=aMax; }  // Set adc range 
 
 
-  Bool_t TestEvent(Int_t nevent);  //test the fast approach to fill array  - used for test purposes
-  Bool_t TestEventHisto(Int_t nevent);  //test the fast approach to fill histograms  
+  Bool_t TestEvent(Int_t nevent, Int_t sm);  //test the fast approach to fill array  - used for test purposes
+  Bool_t TestEventHisto(Int_t nevent, Int_t sm);  //test the fast approach to fill histograms  
 
 private: