00001 #ifndef __PLOTS_CLASS_HEADER__ 00002 #define __PLOTS_CLASS_HEADER__ 00003 00004 /** 00005 * This class contains routines for plot generation. 00006 * 00007 * The output files are adopted for the draw.C root script. 00008 * 00009 * @author Tomasz Przedzinski 00010 * @date 20 December 2009 00011 */ 00012 00013 #include "TauolaParticlePair.h" 00014 00015 namespace Tauolapp 00016 { 00017 00018 class Plots 00019 { 00020 public: 00021 /** SANC tables plots 00022 Writes the data for plots for the 1-1 table or 2-2 table 00023 using 11-11 table as the born-level table, so before 00024 running, the 11-11 table must be substituted with born-level 00025 table for either 1-1 or 2-2. */ 00026 Plots(); 00027 00028 /** Sets cosTheta (for plots 1 and 2) 00029 and incoming particle pdgid (for all plots). */ 00030 void setSancVariables(int inc, double cos); 00031 00032 /** SANC test - three functions - table, born level and plzap0 for selected cosTheta */ 00033 void SANCtest1(); 00034 00035 /** Weights - three functions - w, w0 and w/w0 for selected cosTheta */ 00036 void SANCtest2(); 00037 00038 /** Error check - one function - table vs born for all cosTheta */ 00039 void SANCtest3(); 00040 00041 /** cross-section - three functions - w, w0 and w/w0 for all cosTheta*/ 00042 void SANCtest4(); 00043 private: 00044 /* Incoming particle PDG ID */ 00045 int m_incoming_pdg_id; 00046 /* cos(theta) used for plots */ 00047 double m_cosTheta; 00048 /* Number of points in plot */ 00049 int m_n_plot_points; 00050 /* TauolaParticlePair class object */ 00051 TauolaParticlePair t_pair; 00052 }; 00053 00054 } // namespace Tauolapp 00055 #endif