OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
src
Elements
OpalDegrader.h
Go to the documentation of this file.
1
//
2
// Class OpalDegrader
3
// The DEGRADER element.
4
//
5
// Copyright (c) 200x - 2023, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// This file is part of OPAL.
9
//
10
// OPAL is free software: you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation, either version 3 of the License, or
13
// (at your option) any later version.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17
//
18
#ifndef OPAL_OpalDegrader_HH
19
#define OPAL_OpalDegrader_HH
20
21
#include "
Elements/OpalElement.h
"
22
23
class
ParticleMatterInteraction
;
24
25
class
OpalDegrader
:
public
OpalElement
{
26
27
public
:
29
enum
{
30
XSIZE
=
COMMON
,
// not used
31
YSIZE
,
// not used
32
SIZE
33
};
34
36
OpalDegrader
();
37
38
virtual
~OpalDegrader
();
39
41
virtual
OpalDegrader
*
clone
(
const
std::string&
name
);
42
44
virtual
void
update
();
45
46
private
:
47
// Not implemented.
48
OpalDegrader
(
const
OpalDegrader
&);
49
void
operator=
(
const
OpalDegrader
&);
50
51
// Clone constructor.
52
OpalDegrader
(
const
std::string&
name
,
OpalDegrader
* parent);
53
54
ParticleMatterInteraction
*
parmatint_m
;
55
};
56
57
#endif // OPAL_OpalDegrader_HH
OpalElement.h
OpalDegrader::XSIZE
Definition:
OpalDegrader.h:30
OpalDegrader::update
virtual void update()
Update the embedded CLASSIC collimator.
Definition:
OpalDegrader.cpp:58
OpalDegrader::OpalDegrader
OpalDegrader()
Exemplar constructor.
Definition:
OpalDegrader.cpp:24
OpalDegrader::SIZE
Definition:
OpalDegrader.h:32
OpalDegrader::clone
virtual OpalDegrader * clone(const std::string &name)
Make clone.
Definition:
OpalDegrader.cpp:53
OpalDegrader::operator=
void operator=(const OpalDegrader &)
OpalDegrader
Definition:
OpalDegrader.h:25
OpalElement
Definition:
OpalElement.h:28
OpalDegrader::~OpalDegrader
virtual ~OpalDegrader()
Definition:
OpalDegrader.cpp:47
name
const std::string name
Definition:
MaxNormRadialPeak.cpp:32
ParticleMatterInteraction
Definition:
ParticleMatterInteraction.h:34
OpalElement::COMMON
Definition:
OpalElement.h:56
OpalDegrader::parmatint_m
ParticleMatterInteraction * parmatint_m
Definition:
OpalDegrader.h:54
OpalDegrader::YSIZE
Definition:
OpalDegrader.h:31
Generated on Tue Jul 2 2024 15:05:23 for OPAL (Object Oriented Parallel Accelerator Library) by
1.8.5