Fork me on GitHub

source: git/external/Hector/H_Parameters.h@ 952bbbc

Last change on this file since 952bbbc 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
RevLine 
[5b822e5]1#ifndef _Hector_parameters_
2#define _Hector_parameters_
3
[3c40083]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*/
[5b822e5]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]
[3c40083]24const double QP=1;
25 /// pi
26#define PI 3.14159265359
[5b822e5]27 /// conversion factor for \f$\mu\f$rad <-> rad
[3c40083]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
[5b822e5]33
34/* beam parameters */
35 /// beam nominal energy in GeV
[3c40083]36//#define BE 7000.
[5b822e5]37const double BE=7000.;
38 /// beam energy divergence, in GeV
[3c40083]39#define SBE 0.79
[5b822e5]40 /// beam nominal energy in TeV
[3c40083]41#define BETEV 7.
[5b822e5]42 /// beam S @ IP
[3c40083]43#define PS 0.
[5b822e5]44 /// beam X @ IP
[3c40083]45#define PX -500.
[5b822e5]46 /// beam Y @ IP
[3c40083]47#define PY 0.
[5b822e5]48 /// beam longitudinal dispersion
[3c40083]49#define SS 0.
[5b822e5]50 /// beam lateral width SX @ IP
[3c40083]51#define SX 16.63
52// #define SX 0.
[5b822e5]53 /// beam lateral width SY @ IP
[3c40083]54#define SY 16.63
55// #define SY 0.
[5b822e5]56 /// beam transverse direction angle TX @ IP
[3c40083]57#define TX 0.
[5b822e5]58 /// beam transverse direction angle TY @ IP
[3c40083]59#define TY 0.
[5b822e5]60 /// beam angular divergence STX @ IP
[3c40083]61//#define STX 0.
62#define STX 30.23
[5b822e5]63 /// beam angular divergence STY @ IP
[3c40083]64//#define STY 0.
65#define STY 30.23
66 /// beam dispersion
67//#define D 120000.
68const double D=120000.;
[5b822e5]69 /// half crossing angle at IP [\f$ \mu \f$RAD]
[3c40083]70#define CRANG 142.5
[5b822e5]71
[3c40083]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.
[5b822e5]89
90/* display parameters */
91 /// Verbose mode ?
[3c40083]92#define VERBOSE 0
93
94/// include Pythia libraries ? (not included on some ROOT installations)
95//#define _include_pythia_
[5b822e5]96
97#endif
98
Note: See TracBrowser for help on using the repository browser.