Changeset 281 in svn for trunk/Utilities/Hector/include/H_BeamLine.h
- Timestamp:
- Mar 1, 2009, 3:56:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/include/H_BeamLine.h
r216 r281 2 2 #define _H_BeamLine_ 3 3 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 */ 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 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 14 21 15 22 /// \file H_BeamLine.h … … 32 39 /// Constructors and destructor 33 40 //@{ 34 H_BeamLine() :H_AbstractBeamLine() {direction=1; ips=0; };41 H_BeamLine(); 35 42 H_BeamLine(const H_BeamLine& ); 36 43 H_BeamLine(const int, const float); … … 39 46 //@ 40 47 /// Finds the IP position (s) from the MAD table. Should be "IP5" or "IP1". 41 //@{ 42 void findIP(const string&); 43 void findIP(const string&, const string&); 44 //@} 48 void findIP(const string& filename, const string& ipname="IP5"); 45 49 /// Reader for the external MAD table 46 //@{ 47 void fill(const string&); 48 void fill(const string&, const int, const string& ); 49 //@} 50 void fill(const string& filename, const int dir=1, const string& ipname="IP5"); 50 51 /// Returns the IP position (s) 51 double getIP() {return ips;};52 double getIP() const {return ips;}; 52 53 /// Returns positions and angles of beam at IP 53 54 double* getIPProperties();
Note:
See TracChangeset
for help on using the changeset viewer.