FEDRA emulsion software from the OPERA Collaboration
ERTools.h File Reference
#include "TMath.h"
#include "TProfile2D.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TTree.h"
Include dependency graph for ERTools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ERTools::PeakInfo
 

Namespaces

 ERTools
 
 ERTools::Internal
 

Functions

double ERTools::ComputeAsymmetry (TH1 *hist1, TH1 *hist2)
 
void ERTools::DiffProfile2D (const TProfile2D *prof1, const TProfile2D *prof2, TH2D *hDiff)
 
std::vector< double > ERTools::FindPeaksTSpectrum (TH1 *hist, int npeaks=5)
 
std::vector< PeakInfoERTools::FindPeaksWithIntegral (TH1 *hist, int window_size, double threshold, int from_bin, int to_bin)
 
TH2D * ERTools::get_h2_var (TTree *tree, const char *var1, const char *var2, const char *hname, double bin1, double bin2)
 
TH1D * ERTools::get_h_var (TTree *tree, const char *var, const char *hname, double bin, const char *cut)
 
double ERTools::GetMaxBinHeight (const TH1 *hist)
 
TH1D * ERTools::RebinHistogram (const TH1 *hist, int group)
 
bool ERTools::Internal::ValidateHistogram (const TH1 *hist)