source: trunk/MagicSoft/Mars/mhist/MHHadroness.h@ 1502

Last change on this file since 1502 was 1336, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MHHadroness
2#define MARS_MHHadroness
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class TH1D;
9class TGraph;
10class MParList;
11class MMcEvt;
12class MHadroness;
13
14class MHHadroness : public MH
15{
16private:
17 const MMcEvt *fMcEvt; //!
18 const MHadroness *fHadroness; //!
19
20 TH1D* fPhness; // Hadrons Hadroness
21 TH1D* fGhness; // Gammas Hadroness
22 TH1D* fIntPhness; // Hadrons Acceptance
23 TH1D* fIntGhness; // Gammas Acceptance
24 TH1D* fQfac; // Quality factor
25 TH1D* fMinDist; // Minimum Distance to optimum acceptance
26
27 TGraph *fGraph; // gamma acceptance vs. hadron acceptance
28
29public:
30 MHHadroness(Int_t nbins=100, const char *name=NULL, const char *title=NULL);
31 ~MHHadroness();
32
33 Double_t GetGammaAcceptance(Double_t acchad) const;
34
35 TH1D *GetQfac() const { return fQfac; }
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 Bool_t SetupFill(const MParList *plist);
43 Bool_t Fill(const MParContainer *par);
44 Bool_t Finalize();
45
46 void Print(Option_t *option="") const;
47
48 void Draw(Option_t *opt="");
49 TObject *DrawClone(Option_t *opt="") const;
50
51 ClassDef(MHHadroness, 1) // Gamma/Hadron Separation Quality Histograms
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.