CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OptOSource.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOSource.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 _OPTOSOURCE_HH
11 #define _OPTOSOURCE_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 {
20 
21 public:
22  //---------- Constructors / Destructor
23  OptOSource();
24  OptOSource(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) :
25  OpticalObject( parent, type, name, copy_data){ };
27 
28 
29 #ifdef COCOA_VIS
30  virtual void fillVRML();
31  virtual void fillIguana();
32 #endif
33 
34  //---------- Propagate light for measurement meas
35  virtual void defaultBehaviour( LightRay& lightray, Measurement& meas );
36  void constructSolidShape();
37 
38 
39 };
40 
41 #endif
42 
type
Definition: HCALResponse.h:21
virtual void defaultBehaviour(LightRay &lightray, Measurement &meas)
Definition: OptOSource.cc:32
virtual void fillVRML()
Definition: OpticalObject.h:55
bool ALIbool
Definition: CocoaGlobals.h:19
const OpticalObject * parent() const
Definition: OpticalObject.h:62
void constructSolidShape()
Definition: OptOSource.cc:65
OptOSource(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOSource.h:24
virtual void fillIguana()
Definition: OpticalObject.h:56
Measurement * meas()
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: OpticalObject.h:60