source: tags/Mars-V0.8.6/mtemp/meth/MAstroCamera.h

Last change on this file was 4415, checked in by stark, 20 years ago
*** empty log message ***
File size: 997 bytes
Line 
1#ifndef MARS_MAstroCamera
2#define MARS_MAstroCamera
3
4#ifndef MARS_MAstroCatalog
5#include "MAstroCatalog.h"
6#endif
7
8class TClonesArray;
9//class TList;
10
11class MTime;
12class MGeomCam;
13class MGeomMirror;
14class MObservatory;
15
16class MAstroCamera : public MAstroCatalog
17{
18private:
19 MGeomCam *fGeom;
20 TClonesArray *fMirrors;
21
22 MGeomMirror *fMirror0; //!
23
24 Int_t ConvertToPad(const TVector3 &w, TVector2 &v) const;
25 void AddPrimitives(TString o);
26 void SetRangePad(Option_t *o) { }
27 void ExecuteEvent(Int_t event, Int_t mp1, Int_t mp2);
28
29 TList fCatList;
30
31public:
32 MAstroCamera();
33 ~MAstroCamera();
34
35 void SetMirrors(TClonesArray &arr);
36 void SetMirrors(const char *fname);
37 void SetGeom(const MGeomCam &cam);
38
39 void GetDiffZdAz(Double_t x, Double_t y, Double_t &dzd, Double_t &daz);
40 void StarPosInCamera();
41 TList *GetCatList() { return &fCatList; }
42
43 ClassDef(MAstroCamera, 1) // Display class to display stars on the camera
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.