source:
branches/Mars_McMismatchStudy/msimreflector/MMirrorDisk.h@
20029
Last change on this file since 20029 was 9947, checked in by , 14 years ago | |
---|---|
File size: 645 bytes |
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; // Radius of the disk |
12 | |
13 | public: |
14 | MMirrorDisk() : fR(24.75) { } |
15 | |
16 | // MMirror |
17 | Double_t GetMaxR() const { return fR; } |
18 | Double_t GetA() const; |
19 | |
20 | Bool_t CanHit(const MQuaternion &p) const; |
21 | Bool_t HasHit(const MQuaternion &p) const; |
22 | |
23 | Int_t ReadM(const TObjArray &tok); |
24 | void WriteM(std::ostream &out) const; |
25 | |
26 | //TObject |
27 | void Paint(Option_t *); |
28 | void Print(Option_t *) const; |
29 | |
30 | ClassDef(MMirrorDisk, 1) // A spherical disk type mirror |
31 | }; |
32 | |
33 | #endif |
Note:
See TracBrowser
for help on using the repository browser.