source: trunk/MagicSoft/Mars/msimreflector/MMirrorSquare.h@ 9512

Last change on this file since 9512 was 9371, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 624 bytes
Line 
1#ifndef MARS_MMirrorSquare
2#define MARS_MMirrorSquare
3
4#ifndef MARS_MMirror
5#include "MMirror.h"
6#endif
7
8class MMirrorSquare : public MMirror
9{
10private:
11 Double_t fSideLength; // HALF of the side length!
12
13public:
14 MMirrorSquare() : fSideLength(24.75) { }
15
16 // MMirror
17 Double_t GetMaxR() const;
18 Double_t GetA() const;
19
20 Bool_t HasHit(const MQuaternion &p) const;
21 Bool_t CanHit(const MQuaternion &p) const;
22
23 Int_t ReadM(const TObjArray &tok);
24
25 // TObject
26 void Paint(Option_t *);
27 void Print(Option_t *) const;
28
29 ClassDef(MMirrorSquare, 1) // A spherical square type mirror
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.