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

Last change on this file since 9211 was 9148, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 927 bytes
Line 
1#ifndef MARS_MGeomCamDwqarf
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 void CreateNN();
21
22public:
23 // 223
24 MGeomCamDwarf(Double_t rad, Double_t diameter=16, Double_t dist=4.92, const char *name=NULL);
25 MGeomCamDwarf(Int_t rings, Double_t diameter=16, Double_t dist=4.92, const char *name=NULL);
26 MGeomCamDwarf(const char *name=NULL);
27
28 TObject *Clone(const char *newname) const;
29
30 ClassDef(MGeomCamDwarf, 1) // Geometry class for the Dwarf camera
31};
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.