source: trunk/MagicSoft/Mars/msimreflector/MMirrorDisk.h@ 9338

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