Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:38:39

0001 //   COCOA class header file

0002 //Id:  OptODistancemeter.h

0003 //CAT: Model

0004 //

0005 //   Base class to describe Optical Objects of type sensor 2D

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef _OPTODISTANCEMETER1DIM_HH
0011 #define _OPTODISTANCEMETER1DIM_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include "Alignment/CocoaModel/interface/OpticalObject.h"
0015 class Measurement;
0016 class LightRay;
0017 
0018 class OptODistancemeter : public OpticalObject {
0019 public:
0020   //---------- Constructors / Destructor

0021   OptODistancemeter(){};
0022   OptODistancemeter(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data)
0023       : OpticalObject(parent, type, name, copy_data){};
0024   ~OptODistancemeter() override{};
0025 
0026   //---------- defaultBehaviour: make measurement

0027   void defaultBehaviour(LightRay& lightray, Measurement& meas) override;
0028 
0029   //---------- Make measurement

0030   void makeMeasurement(LightRay& lightray, Measurement& meas) override;
0031 
0032 #ifdef COCOA_VIS
0033   void fillVRML();
0034   virtual void fillIguana();
0035 #endif
0036   void constructSolidShape() override;
0037 };
0038 
0039 #endif