1 | #ifndef MARS_MHHadronness
|
---|
2 | #define MARS_MHHadronness
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TH1D;
|
---|
9 | class TGraph;
|
---|
10 | class MParList;
|
---|
11 | class MMcEvt;
|
---|
12 | class MHadronness;
|
---|
13 |
|
---|
14 | class MHHadronness : public MH
|
---|
15 | {
|
---|
16 | private:
|
---|
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 |
|
---|
29 | public:
|
---|
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
|
---|