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
OptOCubeSplitter::detailedDeviatesLightRay
void detailedDeviatesLightRay(LightRay &lightray) override
Definition: OptOCubeSplitter.cc:90
OptOCubeSplitter::OptOCubeSplitter
OptOCubeSplitter()
Definition: OptOCubeSplitter.h:21
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
OpticalObject.h
OptOCubeSplitter::fastDeviatesLightRay
void fastDeviatesLightRay(LightRay &lightray) override
Definition: OptOCubeSplitter.cc:27
OptOCubeSplitter::getUpperPlate
ALIPlane getUpperPlate()
Definition: OptOCubeSplitter.cc:206
OpticalObject::name
const ALIstring & name() const
Definition: OpticalObject.h:58
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
OptOCubeSplitter::OptOCubeSplitter
OptOCubeSplitter(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOCubeSplitter.h:22
OpticalObject
Definition: OpticalObject.h:35
OptOCubeSplitter::getMiddlePlate
ALIPlane getMiddlePlate()
Definition: OptOCubeSplitter.cc:171
OptOCubeSplitter::fastTraversesLightRay
void fastTraversesLightRay(LightRay &lightray) override
Definition: OptOCubeSplitter.cc:57
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
ALIPlane
Definition: ALIPlane.h:15
OptOCubeSplitter::~OptOCubeSplitter
~OptOCubeSplitter() override
Definition: OptOCubeSplitter.h:24
CocoaGlobals.h
OptOCubeSplitter::detailedTraversesLightRay
void detailedTraversesLightRay(LightRay &lightray) override
Definition: OptOCubeSplitter.cc:142
OptOCubeSplitter
Definition: OptOCubeSplitter.h:18
OptOCubeSplitter::constructSolidShape
void constructSolidShape() override
Definition: OptOCubeSplitter.cc:245