ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
Namespaces | Functions | Variables
limit_scan.cxx File Reference
#include "limit_scan.hpp"
#include <fstream>
#include <sstream>
#include <string>
#include <algorithm>
#include <unistd.h>
#include <getopt.h>
#include "TCanvas.h"
#include "TGraph.h"
#include "TGraph2D.h"
#include "TColor.h"
#include "TH2D.h"
#include "TStyle.h"
#include "TLegend.h"
#include "TFile.h"
#include "TLatex.h"
#include "TLine.h"
#include "utilities.hpp"
#include "styles.hpp"
#include "cross_sections.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{limit_scan.cxx}
 

Functions

int main (int argc, char *argv[])
 
void ReadPoints (vector< double > &vmx, vector< double > &vmy, vector< double > &vxsec, vector< double > &vobs, vector< double > &vobsup, vector< double > &vobsdown, vector< double > &vexp, vector< double > &vup, vector< double > &vdown, vector< double > &vsigobs, vector< double > &vsigexp)
 
TH2D MakeObservedSignificancePlot (vector< double > vmx, vector< double > vmy, vector< double > vobs)
 
TH2D MakeExpectedSignificancePlot (vector< double > vmx, vector< double > vmy, vector< double > vobs)
 
void MakeLimitPlot (vector< double > vmx, vector< double > vmy, vector< double > vlim, vector< double > vobs, vector< double > vobsup, vector< double > vobsdown, vector< double > vexp, vector< double > vup, vector< double > vdown, const TH2D &hsigobs, const TH2D &hsigexp)
 
int GetNumBins (const vector< double > &pts, double width)
 
void GetParticleNames (string &xparticle, string &yparticle)
 
TLatex GetModelLabel (double x, double y)
 
void Style (TGraph *g, int color, int style, float width)
 
TGraph DrawContours (TGraph2D &g2, int color, int style, double width, int n_smooth, double val)
 
void FixGraph (TGraph &graph)
 
void ReverseGraph (TGraph &graph)
 
void SetupColors ()
 
void SetupSignedColors ()
 
void GetOptions (int argc, char *argv[])
 

Variables

int anonymous_namespace{limit_scan.cxx}::num_smooth_ = 4
 
string anonymous_namespace{limit_scan.cxx}::filename_ = "txt/t1tttt_limit_scan.txt"
 
string anonymous_namespace{limit_scan.cxx}::model_ = "T1tttt"
 

Function Documentation

TGraph DrawContours ( TGraph2D &  g2,
int  color,
int  style,
double  width,
int  n_smooth,
double  val 
)
void FixGraph ( TGraph &  graph)
TLatex GetModelLabel ( double  x,
double  y 
)
int GetNumBins ( const vector< double > &  pts,
double  width 
)
void GetOptions ( int  argc,
char *  argv[] 
)
void GetParticleNames ( string &  xparticle,
string &  yparticle 
)
int main ( int  argc,
char *  argv[] 
)
TH2D MakeExpectedSignificancePlot ( vector< double >  vmx,
vector< double >  vmy,
vector< double >  vobs 
)
void MakeLimitPlot ( vector< double >  vmx,
vector< double >  vmy,
vector< double >  vlim,
vector< double >  vobs,
vector< double >  vobsup,
vector< double >  vobsdown,
vector< double >  vexp,
vector< double >  vup,
vector< double >  vdown,
const TH2D &  hsigobs,
const TH2D &  hsigexp 
)
TH2D MakeObservedSignificancePlot ( vector< double >  vmx,
vector< double >  vmy,
vector< double >  vobs 
)
void ReadPoints ( vector< double > &  vmx,
vector< double > &  vmy,
vector< double > &  vxsec,
vector< double > &  vobs,
vector< double > &  vobsup,
vector< double > &  vobsdown,
vector< double > &  vexp,
vector< double > &  vup,
vector< double > &  vdown,
vector< double > &  vsigobs,
vector< double > &  vsigexp 
)
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 *  g,
int  color,
int  style,
float  width 
)

Definition at line 387 of file limit_scan.cxx.

Referenced by DrawContours().