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

Last change on this file since 8165 was 7369, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.4 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 TProfile fHistPhi; // Histogram of photon distribution along the arc.
27 TProfile fHistWidth; // Histogram of radial photon distribution of the arc.
28 TH1F fHistTime; // Histogram of arrival time distribution along the arc.
29
30 Bool_t FindRangeAboveThreshold(const TProfile &h, Float_t thres, Int_t &first, Int_t &last) const;
31
32public:
33 MHSingleMuon(const char *name=NULL, const char *title=NULL);
34
35 Bool_t SetupFill(const MParList *plist);
36 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
37
38 Bool_t CalcPhi(Double_t, Double_t &, Double_t &) const;
39 Bool_t CalcWidth(Double_t, Double_t &, Double_t &);
40
41 const TProfile &GetHistPhi() const { return fHistPhi; }
42 const TH1F &GetHistTime() const { return fHistTime; }
43 const TProfile &GetHistWidth() const { return fHistWidth; }
44
45 Float_t CalcSize() const;
46
47 void Draw(Option_t *o="");
48 void Paint(Option_t *o="");
49
50 ClassDef(MHSingleMuon, 1)
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.