source: trunk/MagicSoft/Mars/mhist/MHMcTriggerLvl2.h@ 1929

Last change on this file since 1929 was 1920, checked in by stamerra, 23 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MHMcTriggerLvl2
2#define MARS_MHMcTriggerLvl2
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1F;
9class TF1;
10class MMcTriggerLvl2;
11
12class MHMcTriggerLvl2 : public MH
13{
14 public:
15
16
17private:
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
28public:
29 MHMcTriggerLvl2(const char *name=NULL, const char *title=NULL);
30 ~MHMcTriggerLvl2();
31
32 Bool_t Fill(const MParContainer *par);
33
34 TH1 *GetHistByName(const TString name);
35
36 TH1F *GetHistfLutPseudoSize() const { return hfLutPseudoSize; }
37 TH1F *GetHistfLutPseudoSizeNorm() const { return hfLutPseudoSizeNorm; }
38 TH1F *GetHistfPseudoSize() const { return hfPseudoSize; }
39 TH1F *GetHistfPseudoSizeNorm() const { return hfPseudoSizeNorm; }
40 TH1F *GetHistfSizeBiggerCell() const { return hfSizeBiggerCell; }
41 TH1F *GetHistfSizeBiggerCellNorm() const { return hfSizeBiggerCellNorm; }
42
43 void Draw(Option_t *opt=NULL);
44 TObject *DrawClone(Option_t *opt=NULL) const;
45
46 TH1 *NormalizeHist(TH1 *histNorm, TH1 *hist) const;
47
48 ClassDef(MHMcTriggerLvl2, 1) // Container which holds histograms for the Trigger Level2 image parameters
49
50private:
51
52 TObject *DrawHist(TH1 *hist, TH1 *histNorm, const char *canvasname, Int_t *colore) const;
53
54};
55
56
57#endif
Note: See TracBrowser for help on using the repository browser.