testing/Zmumu/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  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=" $Z \\rightarrow \\mu^+ \\mu^-$. 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.01/91.187; //10 MeV
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(23);
35  /**************************************************************************
36  Settings for old FORTRAN tests
37  Uncomment when generating comparison with these files
38  ***************************************************************************/
39 /*
40  n_bins=1200;
41  default_min_bin=0.0;
42  default_max_bin=120.0;
43  Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
44  Setup::mass_scale_on=false;
45  Setup::mass_power=1;
46 
47  Setup::UserTreeAnalysis = "UserTreeAnalysis";
48  Setup::UTA_params[0]=1./91.187;
49  Setup::UTA_params[1]=1;
50 */
51  /**************************************************************************/
52 
53  }
54  else{ //Setup for analysis step
55  Setup::user_analysis=MCTest01;
56  //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
57  Setup::use_log_y=true;
58  }
59 };