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