testing/ttbar/SETUP.C
1 {
2  if(!Setup::stage == 0) // Setup for generation step
3  {
4  Setup::decay_particle=100;
5 
6  // Setup histograms
7  int n_bins=120;
8  double default_min_bin=0.0;
9  double default_max_bin=1.1;
10  Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
11 
12  Setup::mass_scale_on=true;
13 
14  // Description
15  Setup::gen1_desc_1=" Pythia + Photos Interface Test";
16  Setup::gen1_desc_2=" $g g \\rightarrow t \\bar t$. Photons filtered below 10 MeV";
17  Setup::gen1_desc_3=" No photon symmetrization";
18 
19  // Filter photons
20  Setup::UserTreeAnalysis = "UserTreeAnalysis";
21  // p_t threshold as fraction of particle energy in mothers frame
22  Setup::UTA_params[0]=0.001;
23  Setup::UTA_params[1]=2;
24  Setup::UTA_params[2]=0.0;
25  Setup::UTA_params[3]=1.0;
26  Setup::UTA_params[4]=22;
27 
28  Setup::UTA_nparams=5;
29 
30  Setup::SuppressDecay(22);
31  Setup::SuppressDecay(23);
32  Setup::SuppressDecay(6);
33  Setup::SuppressDecay(-6);
34  }
35  else // Setup for analysis step
36  {
37  Setup::user_analysis=MCTest01;
38  Setup::use_log_y=true;
39  }
40 };