CMS 3D CMS Logo

OptOCubeSplitter.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOPlateSplitter.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 _OPTOCUBESPLITTER_HH
11 #define _OPTOCUBESPLITTER_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 public:
20  //---------- Constructors / Destructor
23  : OpticalObject(parent, type, name, copy_data){};
24  ~OptOCubeSplitter() override{};
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 
37 
38 #ifdef COCOA_VIS
39  virtual void fillIguana();
40 #endif
41  void constructSolidShape() override;
42 };
43 
44 #endif
void fastTraversesLightRay(LightRay &lightray) override
const ALIstring & name() const
Definition: OpticalObject.h:58
void detailedDeviatesLightRay(LightRay &lightray) override
bool ALIbool
Definition: CocoaGlobals.h:19
~OptOCubeSplitter() override
void constructSolidShape() override
void detailedTraversesLightRay(LightRay &lightray) override
ALIPlane getUpperPlate()
OptOCubeSplitter(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
void fastDeviatesLightRay(LightRay &lightray) override
virtual void fillIguana()
Definition: OpticalObject.h:55
std::string ALIstring
Definition: CocoaGlobals.h:9
const OpticalObject * parent() const
Definition: OpticalObject.h:60
ALIPlane getMiddlePlate()