]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDCalibChamberStatus.h
Version where the process for HLT and vdrift on DAQ are off(Raphaelle)
[u/mrichter/AliRoot.git] / TRD / AliTRDCalibChamberStatus.h
index 25f07aeeb51d50a244ebbcad7973239f3a425a06..dc5fe91e10c9025043abcf2c00d072043e7aca33 100644 (file)
 #include <TH2.h>
 #endif
 
+#include <AliTRDtrackV1.h>
+
 class AliRawReader;
 
 class AliTRDCalChamberStatus;
 class AliRawReader;
-class AliTRDCalDCS;
+class AliTRDCalDCSv2;
 
 
 struct eventHeaderStruct;
@@ -36,14 +38,14 @@ public:
 
   AliTRDCalibChamberStatus& operator = (const  AliTRDCalibChamberStatus &source);
 
+  void ProcessTrack(const AliTRDtrackV1 * trdTrack);
   void ProcessEvent(AliRawReader    *rawReader, Int_t nevents_physics);
-  void ProcessEvent3(AliRawReader    *rawReader, Int_t nevents_physics);
-  
+    
   void Init();
-  void AnalyseHisto();
-  void CheckEORStatus(AliTRDCalDCS *calDCS);
+  void AnalyseHisto(Int_t limit=200, Double_t chamberlimit=0.05);
+  void CheckEORStatus(const AliTRDCalDCSv2 *calDCS);
 
-  void Add(AliTRDCalibChamberStatus *calibChamberStatus);
+  void Add(const AliTRDCalibChamberStatus *calibChamberStatus);
 
   Int_t GetNumberEventNotEmpty() const { return fCounterEventNotEmpty; };
   
@@ -54,6 +56,7 @@ public:
   THnSparseI *GetSparseDebug()   const {return fHnSparseDebug;};
   THnSparseI *GetSparseMCM()     const {return fHnSparseMCM;};
   
+  void SetSparseI(THnSparseI *sparse)       { fHnSparseI=sparse; }
 
   AliTRDCalChamberStatus *GetCalChamberStatus() const {return fCalChamberStatus;};
 
@@ -63,8 +66,8 @@ public:
 
   // Plot
   TH2D *PlotSparseI(Int_t sm, Int_t side);    // Plot fStatus for sm 
-  TH2F *MakeHisto2DSmPlEORStatus(AliTRDCalDCS *calDCS, Int_t sm, Int_t pl);
-  TCanvas *PlotHistos2DSmEORStatus(AliTRDCalDCS *calDCS,Int_t sm, const Char_t *name);
+  TH2F *MakeHisto2DSmPlEORStatus(const AliTRDCalDCSv2 *calDCS, Int_t sm, Int_t pl);
+  TCanvas *PlotHistos2DSmEORStatus(AliTRDCalDCSv2 *calDCS,Int_t sm, const Char_t *name);
 
   // Debug
   void     SetDebugLevel(Short_t level)  { fDebugLevel = level;   }
@@ -85,11 +88,13 @@ public:
   THnSparseI *fHnSparseDebug;     //  THnSparse for half chambers satuts
   THnSparseI *fHnSparseMCM;       //  THnSparse for DCS MCM status
 
-  TCanvas *fC1;
+  TCanvas *fC1;                    // Canvas to plot
 
   Short_t     fDebugLevel;                   // Flag for debugging
 
   ClassDef(AliTRDCalibChamberStatus,1)
     
 };
-#endif
\ No newline at end of file
+#endif
+
+