Changeset 1365 in svn for trunk/external/Hector/H_RectEllipticAperture.h
- Timestamp:
- Apr 16, 2014, 3:56:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/Hector/H_RectEllipticAperture.h
r1360 r1365 2 2 #define _H_RectEllipticAperture_ 3 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 4 /// \file H_RectEllipticAperture.h 23 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 */ 24 17 25 18 // local #includes … … 34 27 H_RectEllipticAperture():H_Aperture(RECTELLIPSE,0,0,0,0,0,0) {} 35 28 H_RectEllipticAperture(const float,const float,const float,const float, const float, const float); 36 ~H_RectEllipticAperture() {}; 37 H_RectEllipticAperture* clone() const; 29 ~H_RectEllipticAperture() {return;}; 38 30 //@} 31 virtual void printProperties() const; 39 32 /// Checks whether the point is inside the aperture or not 40 33 virtual bool isInside(const float, const float) const; 41 34 /// 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); 35 virtual void draw() const; 44 36 }; 45 37
Note:
See TracChangeset
for help on using the changeset viewer.