00001 // COCOA class header file 00002 //Id: OptOModifiedRhomboidPrism.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 _OPTOMODIFIEDRHOMBOIDPRISM_HH 00011 #define _OPTOMODIFIEDRHOMBOIDPRISM_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 OptOModifiedRhomboidPrism: public OpticalObject 00019 { 00020 00021 public: 00022 //---------- Constructors / Destructor 00023 OptOModifiedRhomboidPrism(){ }; 00024 OptOModifiedRhomboidPrism(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data) : 00025 OpticalObject( parent, type, name, copy_data){ }; 00026 ~OptOModifiedRhomboidPrism(){ }; 00027 00028 //---------- Fast simulation of deviation of the light ray (reflection, shift, ...) 00029 virtual void fastDeviatesLightRay( LightRay& lightray ); 00030 //---------- Detailed simulation of the light ray traversing 00031 virtual void fastTraversesLightRay( LightRay& lightray ); 00032 //---------- Detailed simulation of deviation of the light ray (reflection, shift, ...) 00033 virtual void detailedDeviatesLightRay( LightRay& lightray ); 00034 //---------- Fast simulation of the light ray traversing 00035 virtual void detailedTraversesLightRay( LightRay& lightray ); 00036 00037 //--------- Get the up and down plates rotated by an angle 'angle_planes' 00038 ALIPlane getRotatedPlate(const ALIbool forwardPlate); 00039 00040 00041 #ifdef COCOA_VIS 00042 virtual void fillIguana(); 00043 #endif 00044 void constructSolidShape(); 00045 00046 }; 00047 00048 #endif