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 
19 {
20 
21 public:
22  //---------- Constructors / Destructor
23  OptOXLaser(){ };
24  OptOXLaser(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) :
25  OpticalObject( parent, type, name, copy_data){ };
26  ~OptOXLaser() override{ };
27 
28  //---------- Default behaviour: create a LightRay object
29  void defaultBehaviour( LightRay& lightray, Measurement& meas ) override;
30  void constructSolidShape() override;
31 
32 #ifdef COCOA_VIS
33  virtual void fillIguana();
34 #endif
35 
36 };
37 
38 #endif
type
Definition: HCALResponse.h:21
OptOXLaser(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOXLaser.h:24
bool ALIbool
Definition: CocoaGlobals.h:19
const OpticalObject * parent() const
Definition: OpticalObject.h:62
virtual void fillIguana()
Definition: OpticalObject.h:56
Measurement * meas()
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition: OptOXLaser.cc:22
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: OpticalObject.h:60
~OptOXLaser() override
Definition: OptOXLaser.h:26
void constructSolidShape() override
Definition: OptOXLaser.cc:50