OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Classic
Beamlines
Beamline.cpp
Go to the documentation of this file.
1
// ------------------------------------------------------------------------
2
// $RCSfile: Beamline.cpp,v $
3
// ------------------------------------------------------------------------
4
// $Revision: 1.1.1.1 $
5
// ------------------------------------------------------------------------
6
// Copyright: see Copyright.readme
7
// ------------------------------------------------------------------------
8
//
9
// Class: Beamline
10
// Represents an abstract sequence of elements.
11
//
12
// ------------------------------------------------------------------------
13
// Class category: Beamlines
14
// ------------------------------------------------------------------------
15
//
16
// $Date: 2000/03/27 09:32:34 $
17
// $Author: fci $
18
//
19
// ------------------------------------------------------------------------
20
21
#include "
Beamlines/Beamline.h
"
22
23
24
// Class Beamline
25
// ------------------------------------------------------------------------
26
27
28
Beamline::Beamline
():
29
ElementBase
() {
30
shareFlag
=
false
;
31
}
32
33
34
Beamline::Beamline
(
const
Beamline
&):
35
ElementBase
() {
36
shareFlag
=
false
;
37
}
38
39
40
Beamline::Beamline
(
const
std::string &
name
):
41
ElementBase
(name) {
42
shareFlag
=
false
;
43
}
44
45
46
Beamline::~Beamline
()
47
{}
48
49
Vector_t
Beamline::getOrigin3D
()
const
{
50
return
Vector_t
(0);
51
}
52
53
Quaternion
Beamline::getInitialDirection
()
const
{
54
return
Quaternion
(1, 0, 0, 0);
55
}
56
57
bool
Beamline::getRelativeFlag
()
const
{
58
return
false
;
59
}
ElementBase::shareFlag
bool shareFlag
Definition:
ElementBase.h:364
Vector_t
Vektor< double, 3 > Vector_t
Definition:
Vektor.h:6
Vektor< double, 3 >
Beamline::getInitialDirection
virtual Quaternion getInitialDirection() const
Definition:
Beamline.cpp:53
Beamline
An abstract sequence of beam line components.
Definition:
Beamline.h:34
Beamline::Beamline
Beamline()
Definition:
Beamline.cpp:28
Beamline::getRelativeFlag
virtual bool getRelativeFlag() const
Definition:
Beamline.cpp:57
Beamline::getOrigin3D
virtual Vector_t getOrigin3D() const
Definition:
Beamline.cpp:49
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
Beamline.h
ElementBase
Definition:
ElementBase.h:128
Quaternion
Definition:
Quaternion.h:8
Beamline::~Beamline
virtual ~Beamline()
Definition:
Beamline.cpp:46
Generated on Tue Jul 2 2024 15:05:20 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5