Changeset 281 in svn for trunk/Utilities/Hector/src/H_TransportMatrices.cc
- Timestamp:
- Mar 1, 2009, 3:56:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Hector/src/H_TransportMatrices.cc
r3 r281 1 /* 2 ---- Hector the simulator ---- 3 A fast simulator of particles through generic beamlines. 4 J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be 5 6 http://www.fynu.ucl.ac.be/hector.html 7 8 Centre de Physique des Particules et de Phénoménologie (CP3) 9 Université Catholique de Louvain (UCL) 10 */ 1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * 2 * * 3 * --<--<-- A fast simulator --<--<-- * 4 * / --<--<-- of particle --<--<-- * 5 * ----HECTOR----< * 6 * \ -->-->-- transport through -->-->-- * 7 * -->-->-- generic beamlines -->-->-- * 8 * * 9 * JINST 2:P09005 (2007) * 10 * X Rouby, J de Favereau, K Piotrzkowski (CP3) * 11 * http://www.fynu.ucl.ac.be/hector.html * 12 * * 13 * Center for Cosmology, Particle Physics and Phenomenology * 14 * Universite catholique de Louvain * 15 * Louvain-la-Neuve, Belgium * 16 * * 17 * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 11 18 12 19 /// \file H_TransportMatrices.cc … … 29 36 30 37 extern double omega(const double k, const double l) { 31 // [l] = [m] and [k] = [1/m ï¿œ] for quadrupoles38 // [l] = [m] and [k] = [1/m^2] for quadrupoles 32 39 // [omega] = [1] 33 40 return sqrt(fabs(k))*l; … … 35 42 36 43 extern double radius(const double k) { 37 // [k] = [1/m ï¿œ] for quadrupoles44 // [k] = [1/m^2] for quadrupoles 38 45 // [k] = [1/m] for dipoles 39 46 // [radius(k)] = [m]
Note:
See TracChangeset
for help on using the changeset viewer.