source: trunk/MagicSoft/Mars/mhist/MHCamEventRot.h@ 4605

Last change on this file since 4605 was 3786, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHCamEventRot
2#define MARS_MHCamEventRot
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef ROOT_TH2
9#include <TH2.h>
10#endif
11
12class TH2D;
13
14class MGeomCam;
15class MParList;
16class MTime;
17class MPointingPos;
18class MObservatory;
19
20class MHCamEventRot : public MH
21{
22private:
23 MGeomCam *fGeom; //! container storing the camera geometry
24 MTime *fTime; //! container to take the event time from
25 MPointingPos *fPointPos; //! container to take pointing position from
26 MObservatory *fObservatory; //! conteiner to take observatory location from
27
28 TH2D fHist; // Alpha vs. x and y
29
30 Int_t fType;
31
32 Double_t fRa;
33 Double_t fDec;
34
35 TString fNameTime;
36
37 TObject *GetCatalog();
38
39public:
40 MHCamEventRot(const char *name=NULL, const char *title=NULL);
41
42 Bool_t SetupFill(const MParList *pList);
43 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
44
45 TH1 *GetHistByName(const TString name) { return &fHist; }
46
47 void SetNameTime(const char *name) { fNameTime=name; }
48
49 void Draw(Option_t *option="");
50
51 ClassDef(MHCamEventRot, 1) //2D-histogram in MCamEvent data (derotated)
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.