X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EMCAL%2FAliEMCALClusterizerv1.h;h=49c260d1282ce81167cae7caeeb48c85d7e56256;hb=03b0452eb73be9dae185c7865b3ef5839948fd50;hp=e2648d994ac2274ac3f351b69959155e3364e865;hpb=17323043f584137499bf2a6e2f2e2da17448b152;p=u%2Fmrichter%2FAliRoot.git diff --git a/EMCAL/AliEMCALClusterizerv1.h b/EMCAL/AliEMCALClusterizerv1.h index e2648d994ac..49c260d1282 100644 --- a/EMCAL/AliEMCALClusterizerv1.h +++ b/EMCAL/AliEMCALClusterizerv1.h @@ -24,6 +24,7 @@ // --- AliRoot header files --- #include "AliEMCALClusterizer.h" +#include "TH1F.h" class AliEMCALRecPoint ; class AliEMCALDigit ; class AliEMCALDigitizer ; @@ -69,12 +70,27 @@ public: // Chi^2 of the fit. Should be static to be passes to MINUIT void Unload() ; virtual const char * Version() const { return "clu-v1" ; } - + + void BookHists(); + void SaveHists(); protected: void WriteRecPoints() ; virtual void MakeClusters( ) ; - +///////////////////// + TH1F* pointE; + TH1F* pointL1; + TH1F* pointL2; + TH1F* pointDis; + TH1F* pointMult; + TH1F* digitAmp; + TH1F* MaxE; + TH1F* MaxL1; + TH1F* MaxL2; + TH1F* MaxDis; +/////////////////////// + + private: const TString BranchName() const ; @@ -90,7 +106,7 @@ private: AliEMCALDigit ** /*maxAt*/, Float_t * /*maxAtEnergy*/ ) const; //Unfolds cluster using TMinuit package void PrintRecPoints(Option_t * option) ; - + TFile* recofile; private: Bool_t fDefaultInit; //! Says if the task was created by defaut ctor (only parameters are initialized) @@ -111,6 +127,7 @@ private: Float_t fTimeGate ; // Maximum time difference between the digits in ont EMC cluster Float_t fMinECut; // Minimum energy for a digit to be a member of a cluster + void ReadFile(); ClassDef(AliEMCALClusterizerv1,4) // Clusterizer implementation version 1