C++ Interface to Tauola
src/utilities/Plots.h
1#ifndef __PLOTS_CLASS_HEADER__
2#define __PLOTS_CLASS_HEADER__
3
4/**
5 * This class contains routines for plot generation.
6 *
7 * The output files are adopted for the draw.C root script.
8 *
9 * @author Tomasz Przedzinski
10 * @date 20 December 2009
11 */
12
13#include "TauolaParticlePair.h"
14
15namespace Tauolapp
16{
17
18class Plots
19{
20public:
21 /** SANC tables plots
22 Writes the data for plots for the 1-1 table or 2-2 table
23 using 11-11 table as the born-level table, so before
24 running, the 11-11 table must be substituted with born-level
25 table for either 1-1 or 2-2. */
27
28 /** Sets cosTheta (for plots 1 and 2)
29 and incoming particle pdgid (for all plots). */
30 void setSancVariables(int inc, double cos);
31
32 /** SANC test - three functions - table, born level and plzap0 for selected cosTheta */
33 void SANCtest1();
34
35 /** Weights - three functions - w, w0 and w/w0 for selected cosTheta */
36 void SANCtest2();
37
38 /** Error check - one function - table vs born for all cosTheta */
39 void SANCtest3();
40
41 /** cross-section - three functions - w, w0 and w/w0 for all cosTheta*/
42 void SANCtest4();
43private:
44 /* Incoming particle PDG ID */
45 int m_incoming_pdg_id;
46 /* cos(theta) used for plots */
47 double m_cosTheta;
48 /* Number of points in plot */
49 int m_n_plot_points;
50 /* TauolaParticlePair class object */
51 TauolaParticlePair t_pair;
52};
53
54} // namespace Tauolapp
55#endif
void setSancVariables(int inc, double cos)