Fork me on GitHub

source: git/external/Hector/H_RectEllipticAperture.h@ c526439

ImprovedOutputFile Timing dual_readout llp
Last change on this file since c526439 was 5b822e5, checked in by pavel <pavel@…>, 11 years ago

add Hector module

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#ifndef _H_RectEllipticAperture_
2#define _H_RectEllipticAperture_
3
4 /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 * *
6* --<--<-- A fast simulator --<--<-- *
7* / --<--<-- of particle --<--<-- *
8* ----HECTOR----< *
9* \ -->-->-- transport through -->-->-- *
10* -->-->-- generic beamlines -->-->-- *
11* *
12* JINST 2:P09005 (2007) *
13* X Rouby, J de Favereau, K Piotrzkowski (CP3) *
14* http://www.fynu.ucl.ac.be/hector.html *
15* *
16* Center for Cosmology, Particle Physics and Phenomenology *
17* Universite catholique de Louvain *
18* Louvain-la-Neuve, Belgium *
19 * *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
22/// \file H_RectEllipticAperture.h
23/// \brief Defines the Rect-Elliptic aperture of beamline elements.
24
25// local #includes
26#include "H_Aperture.h"
27
28/// Rect-ellipse apertures
29class H_RectEllipticAperture: public H_Aperture {
30
31 public:
32 /// Constructors and Destructor
33 //@{
34 H_RectEllipticAperture():H_Aperture(RECTELLIPSE,0,0,0,0,0,0) {}
35 H_RectEllipticAperture(const float,const float,const float,const float, const float, const float);
36 ~H_RectEllipticAperture() {};
37 H_RectEllipticAperture* clone() const;
38 //@}
39 /// Checks whether the point is inside the aperture or not
40 virtual bool isInside(const float, const float) const;
41 /// Draws the aperture shape.
42 virtual void draw(const float scale=1) const;
43 friend std::ostream& operator<< (std::ostream& os, const H_RectEllipticAperture& ap);
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.