| 1 | #ifndef MARS_MHMcTriggerLvl2
|
|---|
| 2 | #define MARS_MHMcTriggerLvl2
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MH
|
|---|
| 5 | #include "MH.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class TH1F;
|
|---|
| 9 | class TF1;
|
|---|
| 10 | class MMcTriggerLvl2;
|
|---|
| 11 |
|
|---|
| 12 | class MHMcTriggerLvl2 : public MH
|
|---|
| 13 | {
|
|---|
| 14 | private:
|
|---|
| 15 |
|
|---|
| 16 | TH1F *fHistLutPseudoSize; // Histogram of fLutPseudoSize
|
|---|
| 17 | TH1F *fHistLutPseudoSizeNorm; // Histogram of fLutPseudoSize normalized on integral of distribution
|
|---|
| 18 | TH1F *fHistPseudoSize; // Histogram of fPseudoSize
|
|---|
| 19 | TH1F *fHistPseudoSizeNorm; // Histogram of fPseudoSize normalized on integral of distribution
|
|---|
| 20 | TH1F *fHistSizeBiggerCell; // Histogram of fSizeBiggerCell
|
|---|
| 21 | TH1F *fHistSizeBiggerCellNorm; // Histogram of fSizeBiggerCell normalized on integral of distribution
|
|---|
| 22 |
|
|---|
| 23 | TF1* fFNorm; // Function used to normalize histograms
|
|---|
| 24 |
|
|---|
| 25 | static Int_t fColorLps;
|
|---|
| 26 | static Int_t fColorSbc;
|
|---|
| 27 | static Int_t fColorPs;
|
|---|
| 28 |
|
|---|
| 29 | TObject *DrawHist(TH1 &hist, TH1 &histNorm, const TString &canvasname, Int_t &colore) const;
|
|---|
| 30 |
|
|---|
| 31 | public:
|
|---|
| 32 | MHMcTriggerLvl2(const char *name=NULL, const char *title=NULL);
|
|---|
| 33 | ~MHMcTriggerLvl2();
|
|---|
| 34 |
|
|---|
| 35 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
|---|
| 36 |
|
|---|
| 37 | TH1 *GetHistByName(const TString name);
|
|---|
| 38 |
|
|---|
| 39 | TH1F *GetHistLutPseudoSize() const { return fHistLutPseudoSize; }
|
|---|
| 40 | TH1F *GetHistLutPseudoSizeNorm() const { return fHistLutPseudoSizeNorm; }
|
|---|
| 41 | TH1F *GetHistPseudoSize() const { return fHistPseudoSize; }
|
|---|
| 42 | TH1F *GetHistPseudoSizeNorm() const { return fHistPseudoSizeNorm; }
|
|---|
| 43 | TH1F *GetHistSizeBiggerCell() const { return fHistSizeBiggerCell; }
|
|---|
| 44 | TH1F *GetHistSizeBiggerCellNorm() const { return fHistSizeBiggerCellNorm; }
|
|---|
| 45 |
|
|---|
| 46 | void Draw(Option_t *opt=NULL);
|
|---|
| 47 | TObject *DrawClone(Option_t *opt=NULL) const;
|
|---|
| 48 |
|
|---|
| 49 | TH1 *NormalizeHist(TH1 *histNorm, TH1 *hist) const;
|
|---|
| 50 |
|
|---|
| 51 | ClassDef(MHMcTriggerLvl2, 1) // Container which holds histograms for the Trigger Level2 image parameters
|
|---|
| 52 | };
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | #endif
|
|---|