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