testing/ZmumuNLO/SETUP.C
1 {
2 
3  if (!Setup::stage == 0) { //generation step configurables
4 
5  Setup::decay_particle=23;
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 
13  Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
14  Setup::mass_scale_on=true;
15 
16 
17  // Description
18  Setup::gen1_desc_1=" Pythia + Photos Interface Test";
19  Setup::gen1_desc_2=" $Z \\rightarrow \\mu^+ \\mu^-$. Photons filtered below 10 MeV";
20  Setup::gen1_desc_3=" No photon symmetrization";
21 
22  //Filter photons
23  Setup::UserTreeAnalysis = "UserTreeAnalysis";
24  Setup::UTA_params[0]=1./91.187; //1GeV
25  // p_t threshold as fraction of particle energy in
26  // mothers frame
27  Setup::UTA_params[1]=2;
28  Setup::UTA_params[2]=0.0;
29  Setup::UTA_params[3]=1.0;
30  // Setup::UTA_params[4]=22;
31 
32  Setup::UTA_nparams=4;
33 
34  Setup::SuppressDecay(22);
35  Setup::SuppressDecay(23);
36 
37  /**************************************************************************
38  Settings for old FORTRAN tests
39  Uncomment when generating comparison with these files
40  ***************************************************************************/
41 /*
42  // for benchmark files: mc-tester.root-Zmumu-koralz-100M-1-phot-1GeV-NLO
43  // mc-tester.root-Zmumu-photos-F77-100M-1-phot-1GeV-NLO
44 
45  n_bins=120;
46  default_min_bin=0.0;
47  default_max_bin=100.0;
48  Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
49  Setup::mass_scale_on=false;
50  Setup::mass_power=1;
51 
52  Setup::UTA_params[0]=1./91.187;
53 */
54  // for benchmark file: mc-tester.root-Zmumu-kkmc-F77-100M-nosym-1GeV-NLO
55 /*
56  n_bins=1200;
57  default_min_bin=0.0;
58  default_max_bin=120.0;
59  Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
60  Setup::mass_scale_on=false;
61  Setup::mass_power=1;
62 
63  Setup::UserTreeAnalysis = "ZmumuAnalysis"; // Orders photons as in KKMC
64  Setup::UTA_params[0]=1./91.187;
65 */
66  /**************************************************************************/
67 
68  }
69  else{ //Setup for analysis step
70  Setup::user_analysis=MCTest01;
71  //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
72  Setup::use_log_y=true;
73  }
74 };