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

Last change on this file since 7044 was 7009, checked in by meyer, 20 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHSingleMuon
2#define MARS_MHSingleMuon
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7#ifndef ROOT_TH1
8#include <TH1.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 TH1F fHistWidth; // Histogram of radial photon distribution of the arc.
28
29 Bool_t FindRangeAboveThreshold(const TH1F &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 TH1F &GetHistWidth() const { return fHistWidth; }
42
43 ClassDef(MHSingleMuon, 1)
44};
45
46#endif
47
48
Note: See TracBrowser for help on using the repository browser.