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

Last change on this file since 1962 was 1910, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.4 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
25 TGraph *fQfac; //-> Quality factor
26 TGraph *fGraph; //-> gamma acceptance vs. hadron acceptance
27
28public:
29 MHHadronness(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
30 ~MHHadronness();
31
32 Double_t GetGammaAcceptance(Double_t acchad) const;
33 Double_t GetHadronAcceptance(Double_t accgam) const;
34
35 TH1D *Getghness() const { return fGhness; }
36 TH1D *Getphness() const { return fPhness; }
37 TH1D *Getighness() const { return fIntGhness; }
38 TH1D *Getiphness() const { return fIntPhness; }
39 //TH2D *GetHist() const { return fHist; }
40
41 Float_t GetQ05() const;
42
43 Bool_t SetupFill(const MParList *plist);
44 Bool_t Fill(const MParContainer *par);
45 Bool_t Finalize();
46
47 void Print(Option_t *option="") const;
48
49 void Draw(Option_t *opt="");
50 TObject *DrawClone(Option_t *opt="") const;
51
52 ClassDef(MHHadronness, 1) // Gamma/Hadron Separation Quality Histograms
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.