CMS 3D CMS Logo

OptOLens.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOLens.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 _OPTOLENS_HH
11 #define _OPTOLENS_HH
12 
15 class Measurement;
16 class LightRay;
17 
18 class OptOLens : public OpticalObject {
19 public:
20  //---------- Constructors / Destructor
21  OptOLens();
22  OptOLens(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data)
23  : OpticalObject(parent, type, name, copy_data){};
24  ~OptOLens() override{};
25 
26  //---------- Propagate light for measurement meas
27  void participateInMeasurement(LightRay& lightray, Measurement& meas, const ALIstring& behav) override;
28 
29 #ifdef COCOA_VIS
30  virtual void fillIguana();
31 #endif
32  void constructSolidShape() override;
33 };
34 
35 #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
OptOLens::~OptOLens
~OptOLens() override
Definition: OptOLens.h:24
Measurement
Definition: Measurement.h:27
OptOLens::OptOLens
OptOLens()
Definition: OptOLens.cc:21
OpticalObject::fillIguana
virtual void fillIguana()
Definition: OpticalObject.h:55
LightRay
Definition: LightRay.h:20
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
OpticalObject::parent
const OpticalObject * parent() const
Definition: OpticalObject.h:60
OptOLens::participateInMeasurement
void participateInMeasurement(LightRay &lightray, Measurement &meas, const ALIstring &behav) override
Definition: OptOLens.cc:27
CocoaGlobals.h
OptOLens
Definition: OptOLens.h:18
OptOLens::constructSolidShape
void constructSolidShape() override
Definition: OptOLens.cc:46
OptOLens::OptOLens
OptOLens(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOLens.h:22