Fork me on GitHub

source: svn/trunk/external/Hector/H_RectEllipticAperture.h@ 1366

Last change on this file since 1366 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.1 KB
RevLine 
[1360]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
[1365]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
[1360]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);
[1365]29 ~H_RectEllipticAperture() {return;};
[1360]30 //@}
[1365]31 virtual void printProperties() const;
[1360]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.
[1365]35 virtual void draw() const;
[1360]36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.