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 
61 
62 //define different materials
63 enum {Unknown=0, Plug, Wall, Air, Clay, Rock};
64 
65 
66 //Parameters for upward muons from neutrinos
67 const double N_A = 6.022e23; //mol^-1
68 const double alpha = 2.; //MeV/(g/cm^2)
69 const double beta = 3.9e-6; //(g/cm^2)^-1
70 const double epsilon = alpha/beta;
71 const double Rearth = 6370.e6; //mm
72 
73 //Multi Muon relevant parameters
74 const double NorthCMSzDeltaPhi = 3./8.*Pi; //rad (Pi/2 if CMS -x = North)
75 const int max_Trials = 200000;
76 
77 
78 #endif
const double beta
const double TwoPi
const double Pi
const double PlugOnShaftVz
const double Z_DistTracker
const double PlugNoseZlength
const double PlugNoseXlength
const double PlugXlength
const double SpeedOfLight
const double NorthCMSzDeltaPhi
const double PlugWidth
const double N_A
const double RadiusCMS
const double SurfaceOfEarth
const double PlugOnShaftVx
const double Deg2Rad
const double alpha
const double PlugZlength
const double Z_DistCMS
const double Z_PX56
const double MinStepSize
const bool EventDisplay
const int max_Trials
const double MuonMass
const double RadiusTracker
const double Rad2Deg
const double DefaultClayWidth
const double epsilon
const bool Debug
const double Rearth