Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_RectEllipticAperture.h@ 127

Last change on this file since 127 was 3, checked in by Xavier Rouby, 16 years ago

first commit

File size: 1.1 KB
Line 
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
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
18// local #includes
19#include "H_Aperture.h"
20
21/// Rect-ellipse apertures
22class 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);
29 ~H_RectEllipticAperture() {return;};
30 H_RectEllipticAperture* clone() const;
31 //@}
32 virtual void printProperties() const;
33 /// Checks whether the point is inside the aperture or not
34 virtual bool isInside(const float, const float) const;
35 /// Draws the aperture shape.
36 virtual void draw(const float scale=1) const;
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.