Fork me on GitHub

source: svn/trunk/external/Hector/H_Parameters.h@ 1375

Last change on this file since 1375 was 1365, checked in by Pavel Demin, 11 years ago

switch to a more stable Hector version

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