testing/WmunuNLO/SETUP.C
1{
2
3 if (!Setup::stage == 0) { //generation step configurables
4
5 Setup::decay_particle=24;
6 Setup::debug_mode=false;
7
8 // Setup histograms
9 int n_bins=120;
10 double default_min_bin=0.0;
11 double default_max_bin=1.1;
12 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
13 Setup::mass_scale_on=true;
14
15
16 // Description
17 Setup::gen1_desc_1=" Pythia + Photos Interface Test";
18 Setup::gen1_desc_2=" $W^+ \\rightarrow \\mu^+ nu$. Photons filtered below 10 MeV";
19 Setup::gen1_desc_3=" No photon symmetrization";
20
21 //Filter photons
22 Setup::UserTreeAnalysis = "UserTreeAnalysis";
23 Setup::UTA_params[0]=0.005;
24 // p_t threshold as fraction of particle energy in
25 // mothers frame
26 Setup::UTA_params[1]=2;
27 Setup::UTA_params[2]=0.0;
28 Setup::UTA_params[3]=1.0;
29 Setup::UTA_params[4]=22;
30
31 Setup::UTA_nparams=5;
32
33 Setup::SuppressDecay(22);
34 Setup::SuppressDecay(24);
35
36 /**************************************************************************
37 Settings for old FORTRAN tests
38 Uncomment when generating comparison with these files
39 ***************************************************************************/
40/*
41 n_bins=120;
42 default_min_bin=0.0;
43 default_max_bin=100.0;
44 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
45 Setup::mass_scale_on=false;
46 Setup::mass_power=1;
47
48 Setup::UTA_params[0]=0.005;
49*/
50 /**************************************************************************/
51 }
52 else{ //Setup for analysis step
53 Setup::user_analysis=MCTest01;
54 //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
55 Setup::use_log_y=true;
56 }
57};