hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions | Variables
HistogramHelpers.h File Reference
#include "TF1.h"
#include "TH3.h"
#include "TH2.h"
#include "TH1.h"
#include "TFitResultPtr.h"
#include "TCanvas.h"
#include "TFile.h"
#include "TStyle.h"

Go to the source code of this file.

Namespaces

namespace  HistogramHelpers
 

Functions

double GaussExpTails_f (double *x, double *par)
 description
 
double twoGaussExp_f (double *x, double *par)
 description
 
double twoGauss_f (double *x, double *par)
 description
 
int IterativeGaussFit (TH1 *hist, double &mu, double &mu_err, double &sigma, double &sigma_err, int m_PrintLevel=0)
 description
 
TF1 * IterativeGeneralFit (TH1 *hist, double(*fcn)(double *, double *), const std::vector< float > &initial, const std::vector< float > &fitRange, TFitResultPtr *fitr_p, int m_PrintLevel)
 description
 
void profileYwithIterativeGaussFit (TH2 *hist, TH1 *mu_graph, TH1 *sigma_graph, int num_bins=1, int m_PrintLevel=0)
 description
 
void profileZwithIterativeGaussFit (TH3 *hist, TH2 *mu_graph, TH2 *sigma_graph, int num_bins, TH2 *mu_err_graph, TH2 *sigma_err_graph)
 description
 
void HistogramConditioning (TH1 *hist, int m_PrintLevel=0)
 description
 
void OpenProjectionFile ()
 description
 
void CloseProjectionFile ()
 description
 

Variables

TFile * outFile_for_projections