ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 7e9d3d1 was 3c40083, checked in by pavel <pavel@…>, 10 years ago |
switch to a more stable Hector version
|
-
Property mode
set to
100644
|
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
|
---|
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);
|
---|
29 | ~H_RectEllipticAperture() {return;};
|
---|
30 | //@}
|
---|
31 | virtual void printProperties() const;
|
---|
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.
|
---|
35 | virtual void draw() const;
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.