source: trunk/Mars/mgeom/MGeomCamFACT.h@ 10044

Last change on this file since 10044 was 9862, checked in by tbretz, 14 years ago
Added new class MGeomCamFACT describing the pixel layout of the final FACT camera.
File size: 591 bytes
Line 
1#ifndef MARS_MGeomCamFACT
2#define MARS_MGeomCamFACT
3
4#ifndef MARS_MGeomCam
5#include "MGeomCam.h"
6#endif
7
8class MGeomCamFACT : public MGeomCam
9{
10private:
11 enum { kDirCenter, kDirNE, kDirNW, kDirW, kDirSW, kDirSE, kDirE };
12
13 static Double_t CalcXY(Int_t dir, Int_t ring, Int_t i, Double_t &x, Double_t &y);
14
15 void CreateCam();
16
17public:
18 MGeomCamFACT(const char *name=NULL);
19 MGeomCamFACT(Double_t dist, const char *name=NULL);
20
21 Bool_t HitFrame(MQuaternion p, const MQuaternion &u) const;
22
23 ClassDef(MGeomCamFACT, 1) // Geometry class for the final FACT camera
24};
25
26#endif
Note: See TracBrowser for help on using the repository browser.