source: trunk/MagicSoft/Mars/mpointing/MHSrcPosCam.h@ 8015

Last change on this file since 8015 was 7561, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MHSrcPosCam
2#define MARS_MHSrcPosCam
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef MARS_MTime
9#include "MTime.h"
10#endif
11
12#ifndef ROOT_TH2
13#include <TH2.h>
14#endif
15
16#ifndef ROOT_TVector2
17#include <TVector2.h>
18#endif
19
20class MParList;
21class MParameterD;
22class MPointingPos;
23
24class MHSrcPosCam : public MH
25{
26private:
27 TH2D fHist; //
28
29private:
30 MTime fTimeLastEffOn; //!
31 MTime *fTimeEffOn; //!
32 MParameterD *fEffOnTime; //!
33 MPointingPos *fSourcePos; //!
34
35 TVector2 fXY; //!
36 UInt_t fNum; //!
37 Double_t fConvMm2Deg; //!
38
39public:
40 MHSrcPosCam(const char *name=NULL, const char *title=NULL);
41
42 // MH
43 Bool_t SetupFill(const MParList *pl);
44 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
45
46 // MHSrcPosCam
47 const TH2D &GetHist() const { return fHist; }
48 TH2D &GetHist() { return fHist; }
49
50 // TObject
51 void Paint(Option_t *option="");
52 void Draw(Option_t *option="");
53
54 ClassDef(MHSrcPosCam, 1) // Histogram for source position distribution
55};
56
57#endif
Note: See TracBrowser for help on using the repository browser.