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