ra4_stats
0341147a0dc35f80f4e12c6003afb76a38e2ed6e
|
#include <string>
#include <vector>
#include "TGraph2D.h"
#include "TGraph.h"
#include "TH2D.h"
#include "TLatex.h"
Go to the source code of this file.
Functions | |
void | ReadPoints (std::vector< double > &vmx, std::vector< double > &vmy, std::vector< double > &vxsec, std::vector< double > &vobs, std::vector< double > &vobsup, std::vector< double > &vobsdown, std::vector< double > &vexp, std::vector< double > &vup, std::vector< double > &vdown, std::vector< double > &vsigobs, std::vector< double > &vsigexp) |
TH2D | MakeObservedSignificancePlot (std::vector< double > vmx, std::vector< double > vmy, std::vector< double > vobs) |
TH2D | MakeExpectedSignificancePlot (std::vector< double > vmx, std::vector< double > vmy, std::vector< double > vobs) |
void | MakeLimitPlot (std::vector< double > vmx, std::vector< double > vmy, std::vector< double > vlim, std::vector< double > vobs, std::vector< double > vobsup, std::vector< double > vobsdown, std::vector< double > vexp, std::vector< double > vup, std::vector< double > vdown, const TH2D &hsigobs, const TH2D &hsigexp) |
int | GetNumBins (const std::vector< double > &pts, double width) |
void | GetParticleNames (std::string &xparticle, std::string &yparticle) |
TLatex | GetModelLabel (double x, double y) |
void | Style (TGraph *c, int color, int style) |
TGraph | DrawContours (TGraph2D &g2, int color, int style, double width, int n_smooth, double val=1.) |
void | FixGraph (TGraph &graph) |
void | ReverseGraph (TGraph &graph) |
void | SetupColors () |
void | SetupSignedColors () |
void | GetOptions (int argc, char *argv[]) |
TGraph DrawContours | ( | TGraph2D & | g2, |
int | color, | ||
int | style, | ||
double | width, | ||
int | n_smooth, | ||
double | val = 1. |
||
) |
Definition at line 393 of file limit_scan.cxx.
References FixGraph(), plot_variations::graph, anonymous_namespace{limit_scan.cxx}::model_, Style(), plot_variations::x, and plot_variations::y.
Referenced by MakeExpectedSignificancePlot(), MakeLimitPlot(), and MakeObservedSignificancePlot().
void FixGraph | ( | TGraph & | graph | ) |
Definition at line 465 of file limit_scan.cxx.
References change_r::mglu, change_r::mlsp, anonymous_namespace{limit_scan.cxx}::model_, and ReverseGraph().
Referenced by DrawContours().
TLatex GetModelLabel | ( | double | x, |
double | y | ||
) |
Definition at line 368 of file limit_scan.cxx.
References DBG, and anonymous_namespace{limit_scan.cxx}::model_.
Referenced by MakeExpectedSignificancePlot(), and MakeObservedSignificancePlot().
int GetNumBins | ( | const std::vector< double > & | pts, |
double | width | ||
) |
Definition at line 342 of file limit_scan.cxx.
Referenced by MakeExpectedSignificancePlot(), MakeLimitPlot(), and MakeObservedSignificancePlot().
void GetOptions | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 127 of file aggregate_bins.cxx.
void GetParticleNames | ( | std::string & | xparticle, |
std::string & | yparticle | ||
) |
Definition at line 348 of file limit_scan.cxx.
References DBG, and anonymous_namespace{limit_scan.cxx}::model_.
Referenced by MakeExpectedSignificancePlot(), MakeLimitPlot(), and MakeObservedSignificancePlot().
TH2D MakeExpectedSignificancePlot | ( | std::vector< double > | vmx, |
std::vector< double > | vmy, | ||
std::vector< double > | vobs | ||
) |
Definition at line 190 of file limit_scan.cxx.
References plot_variations::c, DrawContours(), GetModelLabel(), GetNumBins(), GetParticleNames(), send_variations::model, anonymous_namespace{limit_scan.cxx}::model_, SetupColors(), bin_significance::style(), and plot_variations::title.
Referenced by main().
void MakeLimitPlot | ( | std::vector< double > | vmx, |
std::vector< double > | vmy, | ||
std::vector< double > | vlim, | ||
std::vector< double > | vobs, | ||
std::vector< double > | vobsup, | ||
std::vector< double > | vobsdown, | ||
std::vector< double > | vexp, | ||
std::vector< double > | vup, | ||
std::vector< double > | vdown, | ||
const TH2D & | hsigobs, | ||
const TH2D & | hsigexp | ||
) |
Definition at line 248 of file limit_scan.cxx.
References plot_variations::c, DrawContours(), GetNumBins(), GetParticleNames(), anonymous_namespace{limit_scan.cxx}::model_, anonymous_namespace{limit_scan.cxx}::num_smooth_, SetupColors(), and plot_variations::title.
Referenced by main().
TH2D MakeObservedSignificancePlot | ( | std::vector< double > | vmx, |
std::vector< double > | vmy, | ||
std::vector< double > | vobs | ||
) |
Definition at line 109 of file limit_scan.cxx.
References plot_variations::c, DrawContours(), GetModelLabel(), GetNumBins(), GetParticleNames(), send_variations::model, anonymous_namespace{limit_scan.cxx}::model_, SetupSignedColors(), bin_significance::style(), and plot_variations::title.
Referenced by main().
void ReadPoints | ( | std::vector< double > & | vmx, |
std::vector< double > & | vmy, | ||
std::vector< double > & | vxsec, | ||
std::vector< double > & | vobs, | ||
std::vector< double > & | vobsup, | ||
std::vector< double > & | vobsdown, | ||
std::vector< double > & | vexp, | ||
std::vector< double > & | vup, | ||
std::vector< double > & | vdown, | ||
std::vector< double > & | vsigobs, | ||
std::vector< double > & | vsigexp | ||
) |
Definition at line 57 of file limit_scan.cxx.
References Contains(), ERROR, anonymous_namespace{limit_scan.cxx}::filename_, change_r::mglu, anonymous_namespace{limit_scan.cxx}::model_, and xsec::signalCrossSection().
Referenced by main().
void ReverseGraph | ( | TGraph & | graph | ) |
Definition at line 502 of file limit_scan.cxx.
References change_r::mglu, and change_r::mlsp.
Referenced by FixGraph().
void SetupColors | ( | ) |
Definition at line 515 of file limit_scan.cxx.
Referenced by MakeExpectedSignificancePlot(), and MakeLimitPlot().
void SetupSignedColors | ( | ) |
Definition at line 536 of file limit_scan.cxx.
Referenced by MakeObservedSignificancePlot().
void Style | ( | TGraph * | c, |
int | color, | ||
int | style | ||
) |