LightYieldCorrection.hh
Go to the documentation of this file.00001
00007
00008
00009 class TGraph;
00010
00012 TGraph* MakeFakePulse(TGraph* singlepe, int nphotons, TGraph* output=0,
00013 double spe_resolution = 0.0, double t0 = -0.18,
00014 double fprompt = 0.25, double tslow = 1.4,
00015 double tfast = 0.007, double jitter = 0.,
00016 bool use_binomial = true);
00017
00018
00020 TGraph* GetNormalizedSPETemplate(int channel);
00021
00023 void TestCorrectionWithNphotons(int channel, int ntrials, int npoints,
00024 int min_photons, int photons_step);
00025
00027 void TestCorrectionWithTimeParams(int channel, int ntrials,
00028 double t0center, double t0width,
00029 double fpromptcenter, double fpromptwidth,
00030 double tslowcenter, double tslowwidth);
00031
00032 class TGraphErrors;
00034 TGraphErrors* PlotYieldvsNPE(const char* file, int npoints, int min_photons,
00035 int photons_step, const char* treename="yield");