CMS 3D CMS Logo

OptOLaser.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOLaser.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 _OPTOLASER_HH
11 #define _OPTOLASER_HH
12 
15 class Measurement;
16 class LightRay;
17 
18 class OptOLaser : public OpticalObject {
19 public:
20  //---------- Constructors / Destructor
21  OptOLaser() {}
22  OptOLaser(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data)
23  : OpticalObject(parent, type, name, copy_data) {}
24  ~OptOLaser() override {}
25 
26  //---------- Default behaviour: create a LightRay object
27  void defaultBehaviour(LightRay& lightray, Measurement& meas) override;
28 
29 #ifdef COCOA_VIS
30  virtual void fillVRML();
31  virtual void fillIguana();
32 #endif
33  void constructSolidShape() override;
34 };
35 
36 #endif
void constructSolidShape() override
Definition: OptOLaser.cc:51
virtual void fillVRML()
Definition: OpticalObject.h:54
const ALIstring & name() const
Definition: OpticalObject.h:58
bool ALIbool
Definition: CocoaGlobals.h:19
OptOLaser(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOLaser.h:22
OptOLaser()
Definition: OptOLaser.h:21
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition: OptOLaser.cc:22
virtual void fillIguana()
Definition: OpticalObject.h:55
Measurement * meas()
std::string ALIstring
Definition: CocoaGlobals.h:9
const OpticalObject * parent() const
Definition: OpticalObject.h:60
~OptOLaser() override
Definition: OptOLaser.h:24