testing/Wenu/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 e^+ 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.01/80.398; //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(24);
35 
36  }
37  else{ //Setup for analysis step
38  Setup::user_analysis=MCTest01;
39  //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
40  Setup::use_log_y=true;
41  }
42 };