source: trunk/MagicSoft/Mars/mmuon/MHSingleMuon.h@ 7327

Last change on this file since 7327 was 7225, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHSingleMuon
2#define MARS_MHSingleMuon
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TProfile
8#include <TProfile.h>
9#endif
10
11class MSignalCam;
12class MMuonSearchPar;
13class MMuonCalibPar;
14class MMuonSetup;
15class MGeomCam;
16
17class MHSingleMuon : public MH
18{
19private:
20 MSignalCam *fSignalCam; //!
21 MMuonSearchPar *fMuonSearchPar; //!
22 MGeomCam *fGeomCam; //!
23
24 Double_t fMargin; //!
25
26 TH1F fHistPhi; // Histogram of photon distribution along the arc.
27 TProfile fHistWidth; // Histogram of radial photon distribution of the arc.
28
29 Bool_t FindRangeAboveThreshold(const TH1 &h, Float_t thres, Int_t &first, Int_t &last) const;
30
31public:
32 MHSingleMuon(const char *name=NULL, const char *title=NULL);
33
34 Bool_t SetupFill(const MParList *plist);
35 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
36
37 Bool_t CalcPhi(Double_t, Double_t &, Double_t &) const;
38 Bool_t CalcWidth(Double_t, Double_t &, Double_t &);
39
40 const TH1F &GetHistPhi() const { return fHistPhi; }
41 const TProfile &GetHistWidth() const { return fHistWidth; }
42
43 void Draw(Option_t *o="");
44 void Paint(Option_t *o="");
45
46 ClassDef(MHSingleMuon, 1)
47};
48
49#endif
50
51
Note: See TracBrowser for help on using the repository browser.