Fork me on GitHub

source: git/external/Hector/H_Parameters.h@ 5862d1f

Last change on this file since 5862d1f was 3c40083, checked in by pavel <pavel@…>, 11 years ago

switch to a more stable Hector version

  • Property mode set to 100644
File size: 2.5 KB
Line 
1#ifndef _Hector_parameters_
2#define _Hector_parameters_
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*/
14
15/// \file H_Parameters.h
16/// \brief Class aiming at gathering all parameters that must be defined.
17///
18/// Units : angles [\f$ \mu \f$rad], distances [\f$ \mu \f$m], energies [GeV], c=[1].
19
20/* from physics and maths */
21 /// proton mass [GeV]
22const double MP=0.93827;
23 /// proton charge [e]
24const double QP=1;
25 /// pi
26#define PI 3.14159265359
27 /// conversion factor for \f$\mu\f$rad <-> rad
28#define URAD 1000000.
29 /// in thx = thx* / 3 <==> thx* = THX thx
30#define THX 3.86
31 /// in dy = 10 thy* <==> thy* = dy / THY
32#define THY 51.4
33
34/* beam parameters */
35 /// beam nominal energy in GeV
36//#define BE 7000.
37const double BE=7000.;
38 /// beam energy divergence, in GeV
39#define SBE 0.79
40 /// beam nominal energy in TeV
41#define BETEV 7.
42 /// beam S @ IP
43#define PS 0.
44 /// beam X @ IP
45#define PX -500.
46 /// beam Y @ IP
47#define PY 0.
48 /// beam longitudinal dispersion
49#define SS 0.
50 /// beam lateral width SX @ IP
51#define SX 16.63
52// #define SX 0.
53 /// beam lateral width SY @ IP
54#define SY 16.63
55// #define SY 0.
56 /// beam transverse direction angle TX @ IP
57#define TX 0.
58 /// beam transverse direction angle TY @ IP
59#define TY 0.
60 /// beam angular divergence STX @ IP
61//#define STX 0.
62#define STX 30.23
63 /// beam angular divergence STY @ IP
64//#define STY 0.
65#define STY 30.23
66 /// beam dispersion
67//#define D 120000.
68const double D=120000.;
69 /// half crossing angle at IP [\f$ \mu \f$RAD]
70#define CRANG 142.5
71
72/* roman pots parameters */
73 /// granularity in X position
74#define GRANPOSX 5.
75 /// granularity in Y position
76#define GRANPOSY 5.
77 /// granularity in X angle
78#define GRANANGX 10.
79 /// granularity in Y angle
80#define GRANANGY 10.
81 /// Distance between rp's
82#define DISTRP 4000000.
83 /// RP resolution in X, for smearing
84#define RESX 10.
85 /// RP resolution in Y, for smearing
86#define RESY 10.
87 /// Radius of the hole in the RP
88#define RADIUS 1000.
89
90/* display parameters */
91 /// Verbose mode ?
92#define VERBOSE 0
93
94/// include Pythia libraries ? (not included on some ROOT installations)
95//#define _include_pythia_
96
97#endif
98
Note: See TracBrowser for help on using the repository browser.