Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:01

0001 //   COCOA class header file
0002 //Id:  OptOUserDefined.h
0003 //CAT: Model
0004 //
0005 //   Base class to describe Optical Objects of type sensor 2D
0006 //
0007 //   History: v1.0
0008 //   Pedro Arce
0009 
0010 #ifndef _OPTOUSERDEFINED_HH
0011 #define _OPTOUSERDEFINED_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include "Alignment/CocoaModel/interface/OpticalObject.h"
0015 class Measurement;
0016 class LightRay;
0017 
0018 class OptOUserDefined : public OpticalObject {
0019 public:
0020   //---------- Constructors / Destructor
0021   OptOUserDefined(){};
0022   OptOUserDefined(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data)
0023       : OpticalObject(parent, type, name, copy_data){};
0024   ~OptOUserDefined() override{};
0025 
0026 #ifdef COCOA_VIS
0027   virtual void fillVRML() override;
0028   virtual void fillIguana() override;
0029 #endif
0030   //---------- userDefinedBehaviour
0031   void userDefinedBehaviour(LightRay& lightray, Measurement& meas, const ALIstring& behav) override;
0032 };
0033 
0034 #endif