Last change
on this file since 1379 was 1365, checked in by Pavel Demin, 11 years ago |
switch to a more stable Hector version
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision Date
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1360] | 1 | #ifndef _H_EllipticAperture_
|
---|
| 2 | #define _H_EllipticAperture_
|
---|
| 3 |
|
---|
[1365] | 4 | /*
|
---|
| 5 | ---- Hector the simulator ----
|
---|
| 6 | A fast simulator of particles through generic beamlines.
|
---|
| 7 | J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
|
---|
[1360] | 8 |
|
---|
[1365] | 9 | http://www.fynu.ucl.ac.be/hector.html
|
---|
| 10 |
|
---|
| 11 | Centre de Physique des Particules et de Phénoménologie (CP3)
|
---|
| 12 | Université Catholique de Louvain (UCL)
|
---|
| 13 | */
|
---|
| 14 |
|
---|
[1360] | 15 | /// \file H_EllipticAperture.h
|
---|
| 16 | /// \brief Defines the elliptic aperture of beamline elements.
|
---|
| 17 |
|
---|
| 18 | // local #includes
|
---|
| 19 | #include "H_Aperture.h"
|
---|
| 20 |
|
---|
| 21 | /// Elliptic apertures
|
---|
| 22 | class H_EllipticAperture: public H_Aperture {
|
---|
| 23 |
|
---|
| 24 | public:
|
---|
| 25 | /// Constructors and destructors
|
---|
| 26 | //@{
|
---|
| 27 | H_EllipticAperture():H_Aperture(ELLIPTIC,0,0,0,0,0,0) {}
|
---|
| 28 | H_EllipticAperture(const float, const float, const float, const float);
|
---|
[1365] | 29 | ~H_EllipticAperture() {return;};
|
---|
[1360] | 30 | //@}
|
---|
| 31 | /// Checks whether the point is inside the aperture or not
|
---|
| 32 | virtual bool isInside(const float, const float) const;
|
---|
| 33 | /// Draws the aperture shape.
|
---|
[1365] | 34 | virtual void draw() const;
|
---|
| 35 | virtual void printProperties() const;
|
---|
[1360] | 36 | };
|
---|
| 37 |
|
---|
| 38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.