testing/Wenu/SETUP.C

00001 {
00002 
00003   if (!Setup::stage == 0) { //generation step configurables
00004 
00005     Setup::decay_particle=24;
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=" $W^+ \\rightarrow e^+ nu$. 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/80.398; //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(24);
00035     
00036   }
00037   else{ //Setup for analysis step
00038     Setup::user_analysis=MCTest01;
00039     //Setup::rebin_factor=4; // to reduce no of bins by rebin_factor
00040     Setup::use_log_y=true;
00041   }
00042 };
Generated on Sun Oct 20 20:23:56 2013 for C++InterfacetoPHOTOS by  doxygen 1.6.3