source: trunk/Mars/mgeom/MGeomCamFAMOUS.h@ 19727

Last change on this file since 19727 was 19673, checked in by tbretz, 5 years ago
Allow to create a camera without the blind pixels.
File size: 686 bytes
Line 
1#ifndef MARS_MGeomCamFAMOUS
2#define MARS_MGeomCamFAMOUS
3
4#ifndef MARS_MGeomCam
5#include "MGeomCam.h"
6#endif
7
8class MGeomCamFAMOUS : 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(bool all=true);
16
17public:
18 MGeomCamFAMOUS(const char *name=NULL);
19 MGeomCamFAMOUS(Double_t dist, const char *name=NULL);
20 MGeomCamFAMOUS(Double_t dist, bool all, const char *name=NULL);
21
22 Bool_t HitFrame(MQuaternion p, const MQuaternion &u) const;
23
24 ClassDef(MGeomCamFAMOUS, 1) // Geometry class for the final FAMOUS camera
25};
26
27#endif
Note: See TracBrowser for help on using the repository browser.