Changeset 1365 in svn for trunk/external/Hector/H_BeamLine.h
- Timestamp:
- Apr 16, 2014, 3:56:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/Hector/H_BeamLine.h
r1360 r1365 2 2 #define _H_BeamLine_ 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 4 /* 5 ---- Hector the simulator ---- 6 A fast simulator of particles through generic beamlines. 7 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be 8 9 http://www.fynu.ucl.ac.be/hector.html 10 11 Centre de Physique des Particules et de Phénoménologie (CP3) 12 Université Catholique de Louvain (UCL) 13 */ 21 14 22 15 /// \file H_BeamLine.h … … 39 32 /// Constructors and destructor 40 33 //@{ 41 H_BeamLine() ;34 H_BeamLine():H_AbstractBeamLine() {direction=1; ips=0; }; 42 35 H_BeamLine(const H_BeamLine& ); 43 36 H_BeamLine(const int, const float); 44 37 H_BeamLine& operator=(const H_BeamLine& ); 45 ~H_BeamLine() { };38 ~H_BeamLine() {return;}; 46 39 //@ 47 40 /// Finds the IP position (s) from the MAD table. Should be "IP5" or "IP1". 48 void findIP(const string& filename, const string& ipname="IP5"); 41 //@{ 42 void findIP(const string); 43 void findIP(const string, const string); 44 //@} 49 45 /// Reader for the external MAD table 50 void fill(const string& filename, const int dir=1, const string& ipname="IP5"); 46 //@{ 47 void fill(const string); 48 void fill(const string, const int, const string ); 49 //@} 51 50 /// Returns the IP position (s) 52 double getIP() const{return ips;};51 double getIP() {return ips;}; 53 52 /// Returns positions and angles of beam at IP 54 53 double* getIPProperties();
Note:
See TracChangeset
for help on using the changeset viewer.