#include "DQM/SiStripCommissioningAnalysis/interface/SiStripPulseShape.h"
#include <TF1.h>
#include <TMath.h>
Go to the source code of this file.
Functions | |
double | fdeconv (double *x, double *par) |
double | fdeconv_convoluted (double *x, double *par) |
double | fpeak (double *x, double *par) |
double | fpeak_convoluted (double *x, double *par) |
double fdeconv | ( | double * | x, | |
double * | par | |||
) |
double fdeconv_convoluted | ( | double * | x, | |
double * | par | |||
) |
Definition at line 25 of file SiStripPulseShape.cc.
References fpeak_convoluted().
Referenced by CalibrationAlgorithm::CalibrationAlgorithm(), SiStripPulseShape::getNormalizedValue(), and SamplingAlgorithm::SamplingAlgorithm().
00026 { 00027 double xm = (x[0]-25); 00028 double xp = (x[0]+25); 00029 double xz = x[0]; 00030 return 1.2131*fpeak_convoluted(&xp,par)-1.4715*fpeak_convoluted(&xz,par)+0.4463*fpeak_convoluted(&xm,par); 00031 }
double fpeak | ( | double * | x, | |
double * | par | |||
) |
Definition at line 5 of file SiStripPulseShape.cc.
Referenced by fdeconv(), and fpeak_convoluted().
00006 { 00007 if(x[0]+par[1]<0) return par[0]; 00008 return par[0]+par[2]*(x[0]+par[1])*TMath::Exp(-(x[0]+par[1])/par[3]); 00009 }
double fpeak_convoluted | ( | double * | x, | |
double * | par | |||
) |
Definition at line 19 of file SiStripPulseShape.cc.
Referenced by CalibrationAlgorithm::CalibrationAlgorithm(), fdeconv_convoluted(), SiStripPulseShape::getNormalizedValue(), and SamplingAlgorithm::SamplingAlgorithm().
00020 { 00021 TF1 f("peak_convoluted",fpeak,0,200,4); 00022 return f.Integral(x[0]-par[4]/2.,x[0]+par[4]/2.,par,1.)/(par[4]); 00023 }