CMS 3D CMS Logo

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