testing/pairs/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::mass_power=2;
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-pair Test";
19 Setup::gen1_desc_2=" $Z \\rightarrow \\mu^+ \\mu^-$. Photons filtered below 10 MeV";
20 Setup::gen1_desc_3=" No photon symmetrization (if present)";
21
22 //Filter photons
23 Setup::UserTreeAnalysis = "UserTreeAnalysis";
24 Setup::UTA_params[0]=0.01/91.187; //10 MeV
25 // p_t threshold as fraction of particle energy in
26 // mothers frame
27 Setup::UTA_params[1]=1;
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=5;
33
34 Setup::SuppressDecay(22);
35 Setup::SuppressDecay(23);
36 /**************************************************************************
37 Settings for old FORTRAN tests
38 Uncomment when generating comparison with these files
39 ***************************************************************************/
40/*
41 n_bins=1200;
42 default_min_bin=0.0;
43 default_max_bin=120.0;
44 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
45 Setup::mass_scale_on=false;
46 Setup::mass_power=1;
47
48 Setup::UserTreeAnalysis = "UserTreeAnalysis";
49 Setup::UTA_params[0]=1./91.187;
50 Setup::UTA_params[1]=1;
51*/
52 /**************************************************************************/
53
54 }
55 else{ //Setup for analysis step
56 Setup::user_analysis=MCTest01;
57 //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
58 Setup::use_log_y=true;
59 }
60};