CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/Alignment/CocoaModel/interface/OptOUserDefined.h

Go to the documentation of this file.
00001 //   COCOA class header file
00002 //Id:  OptOUserDefined.h
00003 //CAT: Model
00004 //
00005 //   Base class to describe Optical Objects of type sensor 2D
00006 // 
00007 //   History: v1.0 
00008 //   Pedro Arce
00009 
00010 #ifndef _OPTOUSERDEFINED_HH
00011 #define _OPTOUSERDEFINED_HH
00012 
00013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00014 #include "Alignment/CocoaModel/interface/OpticalObject.h"
00015 class Measurement;
00016 class LightRay;
00017 
00018 class OptOUserDefined: public OpticalObject
00019 {
00020 
00021 public:
00022   //---------- Constructors / Destructor
00023   OptOUserDefined(){ };
00024   OptOUserDefined(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) : 
00025   OpticalObject( parent, type, name, copy_data){ };
00026   ~OptOUserDefined(){ };
00027 
00028 #ifdef COCOA_VIS
00029   virtual void fillVRML();
00030   virtual void fillIguana();
00031 #endif
00032   //---------- userDefinedBehaviour
00033   virtual void userDefinedBehaviour( LightRay& lightray, Measurement& meas, ALIstring& behav);
00034 
00035 };
00036 
00037 #endif
00038