Line | |
---|
1 | #ifndef MARS_MMirrorSquare
|
---|
2 | #define MARS_MMirrorSquare
|
---|
3 |
|
---|
4 | #ifndef MARS_MMirror
|
---|
5 | #include "MMirror.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MMirrorSquare : public MMirror
|
---|
9 | {
|
---|
10 | private:
|
---|
11 | Double_t fSideLength; // HALF of the side length!
|
---|
12 | public:
|
---|
13 | MMirrorSquare() : fSideLength(24.75) { }
|
---|
14 |
|
---|
15 | Double_t GetMaxR() const;
|
---|
16 |
|
---|
17 | // This should fit with Paint()
|
---|
18 | Bool_t HasHit(const MQuaternion &p) const;
|
---|
19 | // This should fit with HasHit()
|
---|
20 | void Paint(Option_t *);
|
---|
21 | Bool_t CanHit(const MQuaternion &p) const;
|
---|
22 | Int_t ReadM(const TObjArray &tok);
|
---|
23 |
|
---|
24 | ClassDef(MMirrorSquare, 0) // A spherical square type mirror
|
---|
25 | };
|
---|
26 |
|
---|
27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.