CMS 3D CMS Logo

OptOTiltmeter.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOTiltmeter.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 _OPTOTILTMETER_HH
11 #define _OPTOTILTMETER_HH
12 
15 class Measurement;
16 class LightRay;
17 
18 class OptOTiltmeter : public OpticalObject {
19 public:
20  //---------- Constructors / Destructor
23  : OpticalObject(parent, type, name, copy_data){};
24  ~OptOTiltmeter() override{};
25 
26  //---------- defaultBehaviour: make measurement
27  void defaultBehaviour(LightRay& lightray, Measurement& meas) override;
28  //---------- Make measurement
29  void makeMeasurement(LightRay& lightray, Measurement& meas) override;
30 #ifdef COCOA_VIS
31  virtual void fillVRML();
32  virtual void fillIguana();
33 #endif
34  void constructSolidShape() override;
35 };
36 
37 #endif
OpticalObject::meas
Measurement * meas()
Definition: OpticalObject.h:200
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
OpticalObject.h
OptOTiltmeter
Definition: OptOTiltmeter.h:18
OpticalObject::name
const ALIstring & name() const
Definition: OpticalObject.h:58
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
OpticalObject
Definition: OpticalObject.h:35
OptOTiltmeter::OptOTiltmeter
OptOTiltmeter()
Definition: OptOTiltmeter.h:21
Measurement
Definition: Measurement.h:27
OptOTiltmeter::defaultBehaviour
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition: OptOTiltmeter.cc:24
OpticalObject::fillIguana
virtual void fillIguana()
Definition: OpticalObject.h:55
OptOTiltmeter::OptOTiltmeter
OptOTiltmeter(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOTiltmeter.h:22
LightRay
Definition: LightRay.h:20
OpticalObject::parent
const OpticalObject * parent() const
Definition: OpticalObject.h:60
OptOTiltmeter::makeMeasurement
void makeMeasurement(LightRay &lightray, Measurement &meas) override
Definition: OptOTiltmeter.cc:30
type
type
Definition: HCALResponse.h:21
OptOTiltmeter::constructSolidShape
void constructSolidShape() override
Definition: OptOTiltmeter.cc:127
OpticalObject::fillVRML
virtual void fillVRML()
Definition: OpticalObject.h:54
CocoaGlobals.h
OptOTiltmeter::~OptOTiltmeter
~OptOTiltmeter() override
Definition: OptOTiltmeter.h:24