]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSDA2.h
make sure EMCal trigger-cluster matching is done when event is EMCal triggered, in...
[u/mrichter/AliRoot.git] / PHOS / AliPHOSDA2.h
index a0d4ff560b7bf0a59d309cc7d05dc23d28391262..3a1b958b0f2ad1bfd933cdb849dc7b519ca60d26 100644 (file)
@@ -5,27 +5,34 @@
 #include "TH1.h"
 #include "TH2.h"
 #include "TFile.h"
+#include "TObjArray.h"
 
 class AliPHOSDA2 : public TNamed {
   
  public:
   
   AliPHOSDA2(Int_t module);
+  AliPHOSDA2(Int_t module, TObjArray* oldHistos);
+
   AliPHOSDA2(const AliPHOSDA2& );
   AliPHOSDA2& operator= (const AliPHOSDA2& );
   ~AliPHOSDA2();
   
   void  FillQualityHistograms(Float_t quality[64][56][2]);
+  void  FillFiredCellsHistogram(Int_t nCells);
   Int_t GetModule() { return fMod; }
   void  UpdateHistoFile();
 
   const TH1F* GetQualityHistogram(Int_t X, Int_t Z, Int_t gain) const
   { return fHQuality[X][Z][gain]; }
+
+  const TH1I* GetFiredCellsHistogram() { return fFiredCells; }
   
  private:
 
   TFile* fHistoFile;            // root file to store histograms in
   TH1F* fHQuality[64][56][2];   // "quality" for high and low gains
+  TH1I* fFiredCells;            // Number of fired cells pre event.
   Int_t fMod;                   // PHOS module number (0..4)
   TH2F* fMaps[2];               // 2D quality map for low and high gains.