GamR  0.0.0
GammaROOT
Loading...
Searching...
No Matches
Transform.cc File Reference
#include <TMath.h>
#include <TRandom3.h>
#include <utils/Utilities.hh>
#include <toolkit/Gate.hh>
#include "Transform.hh"
#include "Display.hh"
+ Include dependency graph for Transform.cc:

Go to the source code of this file.

Namespaces

namespace  GamR
 
namespace  GamR::Spect
 

Functions

TH1D GamR::Spect::Scale (const TH1 *h, TFormula f)
 Scales a histogram along the X axis and dithers to avoid quantization errors.
 
TH1D GamR::Spect::ScalePoly (const TH1 *h, std::vector< Double_t > pars)
 Scales histogram by a polynomial.
 
void GamR::Spect::ScaleLabelsLinear (TH1 *h, Double_t m, Double_t c)
 Scales the labels of a histogram. Preferable over GamR::Spect::Scale and GamR::Spect::ScalePoly as it avoids having to regenerate the histogram.
 
void GamR::Spect::Shift (TH1 &h, Int_t shift)
 
TH1D * GamR::Spect::Add (TH1 *hist1, TH1 *hist2, const char *name, double c1, double c2)
 
TH1D * GamR::Spect::Add (std::vector< TH1 * > hists, const char *name)
 
TH1D * GamR::Spect::Add (std::vector< int > hists, const char *name)
 
TH1D * GamR::Spect::Add (int iStart, int iStop, const char *name)
 
TH2D * GamR::Spect::Add (TH2 *hist1, TH2 *hist2, const char *name, double c1, double c2)
 
TH2D * GamR::Spect::Add (std::vector< TH2 * > hists, const char *name)
 
TH2D * GamR::Spect::Add2 (std::vector< int > hists, const char *name)
 
TH2D * GamR::Spect::Add2 (int iStart, int iStop, const char *name)
 
TH1D * GamR::Spect::Multiply (TH1 *hist1, const char *name, double c1)
 
void GamR::Spect::Reverse (TH1 *h)
 
TH2D * GamR::Spect::RotateTH2 (TH2 *hist, float angle, const char *name, TCutG *bananaGate)
 
TH1 * GamR::Spect::Rebin (TH1 *hist, int rebin)
 
TH2 * GamR::Spect::RebinX (TH2 *hist, int rebin)
 
TH2 * GamR::Spect::RebinY (TH2 *hist, int rebin)
 
void GamR::Spect::RebinX (TVirtualPad *canvas, int rebin)
 
void GamR::Spect::RebinY (TVirtualPad *canvas, int rebin)
 
void GamR::Spect::Rebin (TVirtualPad *canvas, int rebin)
 
void GamR::Spect::Norm (TH1 *hist, TH1 *ref, double low, double high)
 
void GamR::Spect::NormBackSub (TH1 *hist, TH1 *ref, double low, double high, double backlow, double backhigh)