source: trunk/MagicSoft/Mars/mgeom/MGeomCamDwarf.h@ 9436

Last change on this file since 9436 was 9385, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 919 bytes
Line 
1#ifndef MARS_MGeomCamDwarf
2#define MARS_MGeomCamDwarf
3
4#ifndef MARS_MGeomCam
5#include "MGeomCam.h"
6#endif
7
8class MGeomCamDwarf : public MGeomCam
9{
10private:
11 enum { kDirCenter, kDirNE, kDirN, kDirNW, kDirSW, kDirS, kDirSE };
12
13 static Double_t CalcXY(Int_t dir, Int_t ring, Int_t i, Double_t &x, Double_t &y);
14
15 static Int_t CalcNumPix(Double_t rad);
16 static Int_t CalcNumPix(Int_t rings);
17
18 void CreateCam(Double_t diameter, Double_t rad);
19 void CreateCam(Double_t diameter, Int_t rings);
20
21public:
22 // 223
23 MGeomCamDwarf(Double_t rad, Double_t diameter=16, Double_t dist=4.92, const char *name=NULL);
24 MGeomCamDwarf(Int_t rings, Double_t diameter=16, Double_t dist=4.92, const char *name=NULL);
25 MGeomCamDwarf(const char *name=NULL);
26
27 Bool_t HitFrame(MQuaternion p, const MQuaternion &u) const;
28
29 ClassDef(MGeomCamDwarf, 1) // Geometry class for the Dwarf camera
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.