testing/Zee/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  // Description
16  Setup::gen1_desc_1=" Pythia + Photos Interface Test, Low virtuality Z dominate";
17  Setup::gen1_desc_2=" $Z \\rightarrow e^+ e^-$. Photons filtered below 10 MeV";
18  Setup::gen1_desc_3=" No photon symmetrization";
19 
20  //Filter photons
21  Setup::UserTreeAnalysis = "ZeeAnalysis";
22  Setup::UTA_params[0]=0.01/91.187; //10 MeV
23  // p_t threshold as fraction of particle energy in
24  // mothers frame
25  Setup::UTA_params[1]=2;
26  Setup::UTA_params[2]=0.0;
27  Setup::UTA_params[3]=1.0;
28  Setup::UTA_params[4]=22;
29 
30  Setup::UTA_nparams=5;
31 
32  Setup::SuppressDecay(22);
33  Setup::SuppressDecay(23);
34  }
35  else{ //Setup for analysis step
36  Setup::user_analysis=MCTest01;
37  //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
38  Setup::use_log_y=true;
39  }
40 };