CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
OptOModifiedRhomboidPrism.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOModifiedRhomboidPrism.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 _OPTOMODIFIEDRHOMBOIDPRISM_HH
11 #define _OPTOMODIFIEDRHOMBOIDPRISM_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 public:
20  //---------- Constructors / Destructor
23  : OpticalObject(parent, type, name, copy_data){};
25 
26  //---------- Fast simulation of deviation of the light ray (reflection, shift, ...)
27  void fastDeviatesLightRay(LightRay& lightray) override;
28  //---------- Detailed simulation of the light ray traversing
29  void fastTraversesLightRay(LightRay& lightray) override;
30  //---------- Detailed simulation of deviation of the light ray (reflection, shift, ...)
31  void detailedDeviatesLightRay(LightRay& lightray) override;
32  //---------- Fast simulation of the light ray traversing
33  void detailedTraversesLightRay(LightRay& lightray) override;
34 
35  //--------- Get the up and down plates rotated by an angle 'angle_planes'
36  ALIPlane getRotatedPlate(const ALIbool forwardPlate);
37 
38 #ifdef COCOA_VIS
39  virtual void fillIguana();
40 #endif
41  void constructSolidShape() override;
42 };
43 
44 #endif
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
OptOModifiedRhomboidPrism::fastDeviatesLightRay
void fastDeviatesLightRay(LightRay &lightray) override
Definition: OptOModifiedRhomboidPrism.cc:119
OptOModifiedRhomboidPrism::fastTraversesLightRay
void fastTraversesLightRay(LightRay &lightray) override
Definition: OptOModifiedRhomboidPrism.cc:155
OptOModifiedRhomboidPrism::detailedTraversesLightRay
void detailedTraversesLightRay(LightRay &lightray) override
Definition: OptOModifiedRhomboidPrism.cc:89
OptOModifiedRhomboidPrism::getRotatedPlate
ALIPlane getRotatedPlate(const ALIbool forwardPlate)
Definition: OptOModifiedRhomboidPrism.cc:187
Measurement
Definition: Measurement.h:27
OpticalObject::fillIguana
virtual void fillIguana()
Definition: OpticalObject.h:55
LightRay
Definition: LightRay.h:20
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
OpticalObject::parent
const OpticalObject * parent() const
Definition: OpticalObject.h:60
OptOModifiedRhomboidPrism
Definition: OptOModifiedRhomboidPrism.h:18
OptOModifiedRhomboidPrism::constructSolidShape
void constructSolidShape() override
Definition: OptOModifiedRhomboidPrism.cc:274
ALIPlane
Definition: ALIPlane.h:15
OptOModifiedRhomboidPrism::~OptOModifiedRhomboidPrism
~OptOModifiedRhomboidPrism() override
Definition: OptOModifiedRhomboidPrism.h:24
OptOModifiedRhomboidPrism::detailedDeviatesLightRay
void detailedDeviatesLightRay(LightRay &lightray) override
Definition: OptOModifiedRhomboidPrism.cc:28
OptOModifiedRhomboidPrism::OptOModifiedRhomboidPrism
OptOModifiedRhomboidPrism()
Definition: OptOModifiedRhomboidPrism.h:21
OptOModifiedRhomboidPrism::OptOModifiedRhomboidPrism
OptOModifiedRhomboidPrism(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOModifiedRhomboidPrism.h:22
CocoaGlobals.h