src
Alignment
CocoaModel
interface
OptOSource.h
Go to the documentation of this file.
1
// COCOA class header file
2
//Id: OptOSource.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 _OPTOSOURCE_HH
11
#define _OPTOSOURCE_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
OptOSource
:
public
OpticalObject
{
19
public
:
20
//---------- Constructors / Destructor
21
OptOSource
();
22
OptOSource
(
OpticalObject
*
parent
,
const
ALIstring
&
type
,
const
ALIstring
&
name
,
const
ALIbool
copy_data)
23
:
OpticalObject
(
parent
,
type
,
name
, copy_data) {}
24
~OptOSource
()
override
{}
25
26
#ifdef COCOA_VIS
27
virtual
void
fillVRML
();
28
virtual
void
fillIguana
();
29
#endif
30
31
//---------- Propagate light for measurement meas
32
void
defaultBehaviour
(
LightRay
& lightray,
Measurement
&
meas
)
override
;
33
void
constructSolidShape
()
override
;
34
};
35
36
#endif
LightRay
Definition:
LightRay.h:20
OpticalObject::fillVRML
virtual void fillVRML()
Definition:
OpticalObject.h:54
OpticalObject::name
const ALIstring & name() const
Definition:
OpticalObject.h:58
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
OptOSource::OptOSource
OptOSource()
Definition:
OptOSource.cc:22
Measurement
Definition:
Measurement.h:27
ALIbool
bool ALIbool
Definition:
CocoaGlobals.h:19
OptOSource::defaultBehaviour
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition:
OptOSource.cc:30
CocoaGlobals.h
OptOSource::OptOSource
OptOSource(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition:
OptOSource.h:22
OptOSource::~OptOSource
~OptOSource() override
Definition:
OptOSource.h:24
OptOSource
Definition:
OptOSource.h:18
OpticalObject::fillIguana
virtual void fillIguana()
Definition:
OpticalObject.h:55
OpticalObject::meas
Measurement * meas()
Definition:
OpticalObject.h:200
OpticalObject
Definition:
OpticalObject.h:35
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
OpticalObject::parent
const OpticalObject * parent() const
Definition:
OpticalObject.h:60
OptOSource::constructSolidShape
void constructSolidShape() override
Definition:
OptOSource.cc:59
OpticalObject.h
Generated for CMSSW Reference Manual by
1.8.14