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

Last change on this file since 8618 was 8388, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.2 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 MHSrcPosCam(Bool_t wobble=kFALSE, const char *name=NULL, const char *title=NULL);
42
43 // MH
44 Bool_t SetupFill(const MParList *pl);
45 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
46
47 // MHSrcPosCam
48 const TH2D &GetHist() const { return fHist; }
49 TH2D &GetHist() { return fHist; }
50
51 // TObject
52 void Paint(Option_t *option="");
53 void Draw(Option_t *option="");
54
55 ClassDef(MHSrcPosCam, 1) // Histogram for source position distribution
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.