Fork me on GitHub

source: svn/trunk/Utilities/Hector/include/H_Parameters.h@ 1080

Last change on this file since 1080 was 281, checked in by Xavier Rouby, 16 years ago

new Hector version

File size: 2.8 KB
Line 
1#ifndef _Hector_parameters_
2#define _Hector_parameters_
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_Parameters.h
23/// \brief Class aiming at gathering all parameters that must be defined.
24///
25/// Units : angles [\f$ \mu \f$rad], distances [\f$ \mu \f$m], energies [GeV], c=[1].
26
27#include <cmath>
28
29/* from physics and maths */
30 /// proton mass [GeV]
31const double MP=0.93827;
32 /// proton charge [e]
33const double QP=1.;
34 /// conversion factor for \f$\mu\f$rad <-> rad
35const double URAD=1000000.;
36
37/* beam parameters */
38 /// beam nominal energy in GeV
39const double BE=7000.;
40 /// beam energy divergence, in GeV
41const double SBE=0.79;
42 /// beam nominal energy in TeV
43const double BETEV=7.;
44 /// beam S @ IP
45const double PS=0.;
46 /// beam X @ IP
47const double PX=-500.;
48 /// beam Y @ IP
49const double PY=0.;
50 /// beam longitudinal dispersion
51const double SS=0.;
52 /// beam lateral width SX @ IP
53const double SX=16.63;
54 /// beam lateral width SY @ IP
55const double SY=16.63;
56 /// beam transverse direction angle TX @ IP
57const double TX=0.;
58 /// beam transverse direction angle TY @ IP
59const double TY=0.;
60 /// beam angular divergence STX @ IP
61const double STX=30.23;
62 /// beam angular divergence STY @ IP
63const double STY=30.23;
64 /// half crossing angle at IP [\f$ \mu \f$RAD]
65const double CRANG=142.5;
66
67// local defines, used in H_BeamParticle & H_OpticalElements
68enum {INDEX_X=0, INDEX_TX, INDEX_Y, INDEX_TY, INDEX_S, LENGTH_VEC};
69// (x,theta_x,y,theta_y,s)
70
71/// include Pythia libraries ? (not included on some ROOT installations)
72//#define _include_pythia_
73
74const unsigned int TM = 0; // not used anymore. left for backward compatibility
75const unsigned int AM = 1; // not used anymore. left for backward compatibility
76
77
78/* display parameters */
79 /// Verbose mode ?
80const bool VERBOSE=false;
81
82#endif
83
Note: See TracBrowser for help on using the repository browser.