source: trunk/Mars/msimreflector/MOptics.h@ 19603

Last change on this file since 19603 was 19587, checked in by tbretz, 5 years ago
Propagate the wavelength to the optics to allow for refraction calculation.
File size: 597 bytes
Line 
1#ifndef MARS_MOptics
2#define MARS_MOptics
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MQuaternion;
9
10class MOptics : public MParContainer
11{
12public:
13 MOptics(const char *name=NULL, const char *title=NULL);
14
15 virtual Double_t GetMaxR() const = 0;
16 virtual Double_t GetA() const = 0;
17 virtual Bool_t CanHit(const MQuaternion &p) const = 0;
18
19 virtual Int_t ExecuteOptics(MQuaternion &p, MQuaternion &u, const Short_t &wavelength) const = 0;
20
21 virtual Bool_t IsValid() const = 0;
22
23 ClassDef(MOptics, 1) // Base class for optics (reflector, lens)
24};
25
26#endif
Note: See TracBrowser for help on using the repository browser.