CMS 3D CMS Logo

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