CMS 3D CMS Logo

OptOMirror.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOMirror.h
3 //CAT: Model
4 //
5 // Base class to describe Optical Objects of type sensor 2D
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _OPTOMIRROR_HH
11 #define _OPTOMIRROR_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 {
20 
21 public:
22  //---------- Constructors / Destructor
23  OptOMirror(){ };
24  OptOMirror(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) :
25  OpticalObject( parent, type, name, copy_data){ };
26  ~OptOMirror() override{ };
27 
28  //---------- Propagate light for measurement meas
29  //----- Default behaviour: detailed deviation
30  void defaultBehaviour( LightRay& lightray, Measurement& meas ) override;
31 
32  void detailedDeviatesLightRay( LightRay& lightray ) override;
33 
34  void fastDeviatesLightRay( LightRay& lightray ) override;
35 
36  void detailedTraversesLightRay( LightRay& lightray ) override;
37 
38  void fastTraversesLightRay( LightRay& lightray ) override;
39 
40 #ifdef COCOA_VIS
41  virtual void fillIguana();
42 #endif
43  void constructSolidShape() override;
44 
45 };
46 
47 #endif
48 
type
Definition: HCALResponse.h:21
void detailedTraversesLightRay(LightRay &lightray) override
Definition: OptOMirror.cc:138
~OptOMirror() override
Definition: OptOMirror.h:26
void detailedDeviatesLightRay(LightRay &lightray) override
Definition: OptOMirror.cc:33
void fastTraversesLightRay(LightRay &lightray) override
Definition: OptOMirror.cc:171
void constructSolidShape() override
Definition: OptOMirror.cc:213
bool ALIbool
Definition: CocoaGlobals.h:19
const OpticalObject * parent() const
Definition: OpticalObject.h:62
void fastDeviatesLightRay(LightRay &lightray) override
Definition: OptOMirror.cc:114
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition: OptOMirror.cc:24
OptOMirror(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOMirror.h:24
virtual void fillIguana()
Definition: OpticalObject.h:56
Measurement * meas()
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: OpticalObject.h:60