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 | public:
|
---|
15 |
|
---|
16 |
|
---|
17 | private:
|
---|
18 |
|
---|
19 | TH1F *hfLutPseudoSize; // Histogram of fLutPseudoSize
|
---|
20 | TH1F *hfLutPseudoSizeNorm; // Histogram of fLutPseudoSize normalized on integral of distribution
|
---|
21 | TH1F *hfPseudoSize; // Histogram of fPseudoSize
|
---|
22 | TH1F *hfPseudoSizeNorm; // Histogram of fPseudoSize normalized on integral of distribution
|
---|
23 | TH1F *hfSizeBiggerCell; // Histogram of fSizeBiggerCell
|
---|
24 | TH1F *hfSizeBiggerCellNorm; // Histogram of fSizeBiggerCell normalized on integral of distribution
|
---|
25 |
|
---|
26 | TF1* f1; // Function used to normalize histograms
|
---|
27 |
|
---|
28 | static Int_t fColorLps;
|
---|
29 | static Int_t fColorSbc;
|
---|
30 | static Int_t fColorPs;
|
---|
31 |
|
---|
32 | public:
|
---|
33 | MHMcTriggerLvl2(const char *name=NULL, const char *title=NULL);
|
---|
34 | ~MHMcTriggerLvl2();
|
---|
35 |
|
---|
36 | Bool_t Fill(const MParContainer *par);
|
---|
37 |
|
---|
38 | TH1 *GetHistByName(const TString name);
|
---|
39 |
|
---|
40 | TH1F *GetHistfLutPseudoSize() const { return hfLutPseudoSize; }
|
---|
41 | TH1F *GetHistfLutPseudoSizeNorm() const { return hfLutPseudoSizeNorm; }
|
---|
42 | TH1F *GetHistfPseudoSize() const { return hfPseudoSize; }
|
---|
43 | TH1F *GetHistfPseudoSizeNorm() const { return hfPseudoSizeNorm; }
|
---|
44 | TH1F *GetHistfSizeBiggerCell() const { return hfSizeBiggerCell; }
|
---|
45 | TH1F *GetHistfSizeBiggerCellNorm() const { return hfSizeBiggerCellNorm; }
|
---|
46 |
|
---|
47 | void Draw(Option_t *opt=NULL);
|
---|
48 | TObject *DrawClone(Option_t *opt=NULL) const;
|
---|
49 |
|
---|
50 | TH1 *NormalizeHist(TH1 *histNorm, TH1 *hist) const;
|
---|
51 |
|
---|
52 | ClassDef(MHMcTriggerLvl2, 1) // Container which holds histograms for the Trigger Level2 image parameters
|
---|
53 |
|
---|
54 | private:
|
---|
55 |
|
---|
56 | TObject *DrawHist(TH1 &hist, TH1 &histNorm, const TString &canvasname, Int_t &colore) const;
|
---|
57 |
|
---|
58 | };
|
---|
59 |
|
---|
60 |
|
---|
61 | #endif
|
---|