CMS 3D CMS Logo

CosmicMuonParameters.h
Go to the documentation of this file.
1 #ifndef CosmicMuonParameters_h
2 #define CosmicMuonParameters_h
3 //
4 // Parameters for CosmicMuonGenerator by droll (05/DEC/2005)
5 //
6 //
7 // added plug and clay(moraine) specific constants, sonne (15/Jan/2009)
8 //
9 #include "TMath.h"
10 
11 // flags
12 const bool Debug = false; // debugging printout
13 const bool EventDisplay = true; // display single events (if ROOT_INTERACTIVE is defined as true)
14 
15 // algorithmic constants
16 const double MinStepSize = 10.; // minimal propagation step size [mm] must be small compared to target size
17 // mathematical constants
18 const double Pi = acos(-1.); // [rad]
19 const double TwoPi = 2.0 * Pi; // [rad]
20 const double Deg2Rad = Pi / 180.; // [deg] -> [rad]
21 const double Rad2Deg = 180. / Pi; // [rad] -> [deg]
22 // physical constants
23 const double SpeedOfLight = 299.792458; // [mm/ns]
24 const double MuonMass = 0.105658357; // [GeV/c^2]
25 //const double ChargeFrac = 0.545454545; // n(mu+)/n(mu-) ~ 1.2 defined in CMSCGEN
26 // geometry
27 const double SurfaceOfEarth = 88874.; // Y-distance to surface of earth [mm]
28 const double Z_PX56 = -14000.; // [mm] Z position of PX56 centre [mm]
29 /*
30 // densities of materials
31 const double RhoAir = 0.001214; // [g cm^-3]
32 const double RhoWall = 2.5; // [g cm^-3]
33 const double RhoRock = 2.5; // [g cm^-3]
34 const double RhoClay = 2.3; // [g cm^-3]
35 const double RhoPlug = 2.5; // [g cm^-3]
36 */
37 // width of clay layer between surface and rock
38 const double DefaultClayWidth = 50000.; // [mm]
39 
40 //plug constants
41 const double PlugWidth = 2250.; // [mm]
42 const double PlugXlength = 20600.; // [mm]
43 const double PlugZlength = 16000.; // [mm]
44 const double PlugNoseXlength = 6400.; // [mm]
45 const double PlugNoseZlength = 1800.; // [mm]
46 const double PlugOnShaftVx = 0.; // [mm]
47 const double PlugOnShaftVz = Z_PX56; // [mm]
48 
49 // cylinder around CMS (with R, +-Z)
50 // WARNING: These values will be set to tracker-only setup if "TrackerOnly=true" in .cfg-file.
51 // This means R=1200 and Z=2800, no material or B-field outside is considered
52 const double RadiusCMS = 8000.; // [mm]
53 const double Z_DistCMS = 15000.; // [mm]
54 const double RadiusTracker = 1200.; // [mm]
55 const double Z_DistTracker = 2800.; // [mm]
56 // cylinder actually used in the code
57 //const double RadiusTarget = RadiusCMS; // [mm] //now controlled by cfg-file!!!
58 //const double Z_DistTarget = Z_DistCMS; // [mm] //now controlled by cfg-file!!!
59 
60 //define different materials
61 enum { Unknown = 0, Plug, Wall, Air, Clay, Rock };
62 
63 //Parameters for upward muons from neutrinos
64 const double N_A = 6.022e23; //mol^-1
65 const double alpha = 2.; //MeV/(g/cm^2)
66 const double beta_const = 3.9e-6; //(g/cm^2)^-1
67 const double epsilon = alpha / beta_const;
68 const double Rearth = 6370.e6; //mm
69 
70 //Multi Muon relevant parameters
71 const double NorthCMSzDeltaPhi = 3. / 8. * Pi; //rad (Pi/2 if CMS -x = North)
72 const int max_Trials = 200000;
73 
74 #endif
MuonMass
const double MuonMass
Definition: CosmicMuonParameters.h:24
TwoPi
const double TwoPi
Definition: CosmicMuonParameters.h:19
SpeedOfLight
const double SpeedOfLight
Definition: CosmicMuonParameters.h:23
Rad2Deg
const double Rad2Deg
Definition: CosmicMuonParameters.h:21
epsilon
const double epsilon
Definition: CosmicMuonParameters.h:67
SurfaceOfEarth
const double SurfaceOfEarth
Definition: CosmicMuonParameters.h:27
RadiusTracker
const double RadiusTracker
Definition: CosmicMuonParameters.h:54
Z_DistCMS
const double Z_DistCMS
Definition: CosmicMuonParameters.h:53
DefaultClayWidth
const double DefaultClayWidth
Definition: CosmicMuonParameters.h:38
max_Trials
const int max_Trials
Definition: CosmicMuonParameters.h:72
EventDisplay
const bool EventDisplay
Definition: CosmicMuonParameters.h:13
Debug
const bool Debug
Definition: CosmicMuonParameters.h:12
PlugXlength
const double PlugXlength
Definition: CosmicMuonParameters.h:42
Deg2Rad
const double Deg2Rad
Definition: CosmicMuonParameters.h:20
Z_PX56
const double Z_PX56
Definition: CosmicMuonParameters.h:28
PlugZlength
const double PlugZlength
Definition: CosmicMuonParameters.h:43
Rearth
const double Rearth
Definition: CosmicMuonParameters.h:68
PlugNoseZlength
const double PlugNoseZlength
Definition: CosmicMuonParameters.h:45
Air
Definition: CosmicMuonParameters.h:61
Plug
Definition: CosmicMuonParameters.h:61
Clay
Definition: CosmicMuonParameters.h:61
PlugNoseXlength
const double PlugNoseXlength
Definition: CosmicMuonParameters.h:44
Unknown
Definition: CosmicMuonParameters.h:61
RadiusCMS
const double RadiusCMS
Definition: CosmicMuonParameters.h:52
NorthCMSzDeltaPhi
const double NorthCMSzDeltaPhi
Definition: CosmicMuonParameters.h:71
N_A
const double N_A
Definition: CosmicMuonParameters.h:64
beta_const
const double beta_const
Definition: CosmicMuonParameters.h:66
Pi
const double Pi
Definition: CosmicMuonParameters.h:18
Z_DistTracker
const double Z_DistTracker
Definition: CosmicMuonParameters.h:55
Rock
Definition: CosmicMuonParameters.h:61
PlugOnShaftVz
const double PlugOnShaftVz
Definition: CosmicMuonParameters.h:47
PlugOnShaftVx
const double PlugOnShaftVx
Definition: CosmicMuonParameters.h:46
PlugWidth
const double PlugWidth
Definition: CosmicMuonParameters.h:41
Wall
Definition: CosmicMuonParameters.h:61
alpha
const double alpha
Definition: CosmicMuonParameters.h:65
MinStepSize
const double MinStepSize
Definition: CosmicMuonParameters.h:16