00001 { 00002 00003 if (!Setup::stage == 0) { //generation step configurables 00004 00005 Setup::decay_particle=23; 00006 Setup::debug_mode=false; 00007 00008 // Setup histograms 00009 int n_bins=120; 00010 double default_min_bin=0.0; 00011 double default_max_bin=1.1; 00012 00013 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin); 00014 Setup::mass_scale_on=true; 00015 00016 00017 // Description 00018 Setup::gen1_desc_1=" Pythia + Photos Interface Test"; 00019 Setup::gen1_desc_2=" $Z \\rightarrow \\mu^+ \\mu^-$. Photons filtered below 10 MeV"; 00020 Setup::gen1_desc_3=" No photon symmetrization"; 00021 00022 //Filter photons 00023 Setup::UserTreeAnalysis = "UserTreeAnalysis"; 00024 Setup::UTA_params[0]=1./91.187; //1GeV 00025 // p_t threshold as fraction of particle energy in 00026 // mothers frame 00027 Setup::UTA_params[1]=2; 00028 Setup::UTA_params[2]=0.0; 00029 Setup::UTA_params[3]=1.0; 00030 // Setup::UTA_params[4]=22; 00031 00032 Setup::UTA_nparams=4; 00033 00034 Setup::SuppressDecay(22); 00035 Setup::SuppressDecay(23); 00036 00037 /************************************************************************** 00038 Settings for old FORTRAN tests 00039 Uncomment when generating comparison with these files 00040 ***************************************************************************/ 00041 /* 00042 // for benchmark files: mc-tester.root-Zmumu-koralz-100M-1-phot-1GeV-NLO 00043 // mc-tester.root-Zmumu-photos-F77-100M-1-phot-1GeV-NLO 00044 00045 n_bins=120; 00046 default_min_bin=0.0; 00047 default_max_bin=100.0; 00048 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin); 00049 Setup::mass_scale_on=false; 00050 Setup::mass_power=1; 00051 00052 Setup::UTA_params[0]=1./91.187; 00053 */ 00054 // for benchmark file: mc-tester.root-Zmumu-kkmc-F77-100M-nosym-1GeV-NLO 00055 /* 00056 n_bins=1200; 00057 default_min_bin=0.0; 00058 default_max_bin=120.0; 00059 Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin); 00060 Setup::mass_scale_on=false; 00061 Setup::mass_power=1; 00062 00063 Setup::UserTreeAnalysis = "ZmumuAnalysis"; // Orders photons as in KKMC 00064 Setup::UTA_params[0]=1./91.187; 00065 */ 00066 /**************************************************************************/ 00067 00068 } 00069 else{ //Setup for analysis step 00070 Setup::user_analysis=MCTest01; 00071 //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor 00072 Setup::use_log_y=true; 00073 } 00074 };