CMS 3D CMS Logo

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