ra4_macros  bede988c286599a3a84b77a4d788ac0a971e89f9
Namespaces | Functions | Variables
plot_trigger.cxx File Reference
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include "TChain.h"
#include "TH1D.h"
#include "TF1.h"
#include "TMath.h"
#include "TCanvas.h"
#include "TPad.h"
#include "TLegend.h"
#include "TLine.h"
#include "TGaxis.h"
#include "TBox.h"
#include "TLatex.h"
#include "TPaveText.h"
#include "TString.h"
#include "TStyle.h"
#include "TGraphAsymmErrors.h"
#include "TEfficiency.h"
#include "styles.hpp"
#include "utilities.hpp"
#include "utilities_macros.hpp"

Go to the source code of this file.

Namespaces

 anonymous_namespace{plot_trigger.cxx}
 

Functions

Double_t errorFun (Double_t *x, Double_t *par)
 
void PlotTurnOn (TChain *data, TString var, int nbins, double minx, double maxx, TString xtitle, TString den, TString num, TString title="", TString ytitle="", float minfit=-1., bool isData=true)
 
TString Efficiency (TChain *data, TString den, TString num, float &effic, float &errup, float &errdown)
 
int main ()
 

Variables

bool anonymous_namespace{plot_trigger.cxx}::do_rund = false
 
bool anonymous_namespace{plot_trigger.cxx}::do_dps = false
 
bool anonymous_namespace{plot_trigger.cxx}::do_rpv = true
 
TString anonymous_namespace{plot_trigger.cxx}::plot_type = ".pdf"
 

Function Documentation

TString Efficiency ( TChain *  data,
TString  den,
TString  num,
float &  effic,
float &  errup,
float &  errdown 
)

Definition at line 324 of file plot_trigger.cxx.

References RoundNumber().

Referenced by errorFun(), and PlotTurnOn().

Double_t errorFun ( Double_t *  x,
Double_t *  par 
)
int main ( )
void PlotTurnOn ( TChain *  data,
TString  var,
int  nbins,
double  minx,
double  maxx,
TString  xtitle,
TString  den,
TString  num,
TString  title = "",
TString  ytitle = "",
float  minfit = -1.,
bool  isData = true 
)