testing/Zmumu/SETUP.C

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     Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
00013     Setup::mass_scale_on=true;
00014     
00015   
00016     // Description
00017     Setup::gen1_desc_1=" Pythia + Photos Interface Test";
00018     Setup::gen1_desc_2=" $Z \\rightarrow \\mu^+ \\mu^-$. Photons filtered below 10 MeV";
00019     Setup::gen1_desc_3=" No photon symmetrization";
00020     
00021     //Filter photons
00022     Setup::UserTreeAnalysis = "UserTreeAnalysis";
00023     Setup::UTA_params[0]=0.01/91.187; //10 MeV
00024     // p_t threshold as fraction of particle energy in 
00025     // mothers frame 
00026     Setup::UTA_params[1]=2;
00027     Setup::UTA_params[2]=0.0;
00028     Setup::UTA_params[3]=1.0;
00029     Setup::UTA_params[4]=22;
00030     
00031     Setup::UTA_nparams=5;
00032     
00033     Setup::SuppressDecay(22);
00034     Setup::SuppressDecay(23);
00035      /**************************************************************************
00036                           Settings for old FORTRAN tests
00037                Uncomment when generating comparison with these files
00038     ***************************************************************************/
00039 /*
00040     n_bins=1200;
00041     default_min_bin=0.0;
00042     default_max_bin=120.0;
00043     Setup::SetHistogramDefaults(n_bins,default_min_bin,default_max_bin);
00044     Setup::mass_scale_on=false;
00045     Setup::mass_power=1;
00046 
00047     Setup::UserTreeAnalysis = "UserTreeAnalysis";
00048     Setup::UTA_params[0]=1./91.187;
00049     Setup::UTA_params[1]=1;
00050 */
00051     /**************************************************************************/
00052    
00053   }
00054   else{ //Setup for analysis step
00055     Setup::user_analysis=MCTest01;
00056     //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
00057     Setup::use_log_y=true;
00058   }
00059 };
Generated on Sun Oct 20 20:23:56 2013 for C++InterfacetoPHOTOS by  doxygen 1.6.3