CMS 3D CMS Logo

OptODistancemeter.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptODistancemeter.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 _OPTODISTANCEMETER1DIM_HH
11 #define _OPTODISTANCEMETER1DIM_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 {
20 
21 public:
22  //---------- Constructors / Destructor
24  OptODistancemeter(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) :
25  OpticalObject( parent, type, name, copy_data){ };
26  ~OptODistancemeter() override{ };
27 
28  //---------- defaultBehaviour: make measurement
29  void defaultBehaviour( LightRay& lightray, Measurement& meas ) override;
30 
31  //---------- Make measurement
32  void makeMeasurement( LightRay& lightray, Measurement& meas ) override;
33 
34 #ifdef COCOA_VIS
35  void fillVRML();
36  virtual void fillIguana();
37 #endif
38  void constructSolidShape() override;
39 
40 };
41 
42 #endif
43 
type
Definition: HCALResponse.h:21
virtual void fillVRML()
Definition: OpticalObject.h:55
void constructSolidShape() override
bool ALIbool
Definition: CocoaGlobals.h:19
const OpticalObject * parent() const
Definition: OpticalObject.h:62
~OptODistancemeter() override
void makeMeasurement(LightRay &lightray, Measurement &meas) override
OptODistancemeter(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
virtual void fillIguana()
Definition: OpticalObject.h:56
Measurement * meas()
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: OpticalObject.h:60