source: trunk/MagicSoft/Mars/mhist/MHHadronness.h@ 1575

Last change on this file since 1575 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MHHadronness
2#define MARS_MHHadronness
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1D;
9class TGraph;
10class MParList;
11class MMcEvt;
12class MHadronness;
13
14class MHHadronness : public MH
15{
16private:
17 const MMcEvt *fMcEvt; //!
18 const MHadronness *fHadronness; //!
19
20 TH1D* fPhness; //-> Hadrons Hadronness
21 TH1D* fGhness; //-> Gammas Hadronness
22 TH1D* fIntPhness; //-> Hadrons Acceptance
23 TH1D* fIntGhness; //-> Gammas Acceptance
24 TH1D* fMinDist; //-> Minimum Distance to optimum acceptance
25
26 TGraph *fQfac; //-> Quality factor
27 TGraph *fGraph; //-> gamma acceptance vs. hadron acceptance
28
29public:
30 MHHadronness(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
31 ~MHHadronness();
32
33 Double_t GetGammaAcceptance(Double_t acchad) const;
34 Double_t GetHadronAcceptance(Double_t accgam) const;
35
36 TH1D *Getghness() const { return fGhness; }
37 TH1D *Getphness() const { return fPhness; }
38 TH1D *Getighness() const { return fIntGhness; }
39 TH1D *Getiphness() const { return fIntPhness; }
40 //TH2D *GetHist() const { return fHist; }
41
42 Float_t GetQ05() const;
43
44 Bool_t SetupFill(const MParList *plist);
45 Bool_t Fill(const MParContainer *par);
46 Bool_t Finalize();
47
48 void Print(Option_t *option="") const;
49
50 void Draw(Option_t *opt="");
51 TObject *DrawClone(Option_t *opt="") const;
52
53 ClassDef(MHHadronness, 1) // Gamma/Hadron Separation Quality Histograms
54};
55
56#endif
Note: See TracBrowser for help on using the repository browser.