#include "CscCalibTool.h"
#include "StoreGate/DataHandle.h"
#include <sstream>
#include <cmath>
Go to the source code of this file.
◆ bipfunc()
Double_t bipfunc |
( |
const Double_t * |
x, |
|
|
const Double_t * |
par |
|
) |
| |
Definition at line 36 of file CscCalibTool.cxx.
37 if (
x[0] <
par[1])
return 0.;
38 Double_t integrationNumber =
par[2];
39 Double_t integrationNumber2 =
par[3];
41 Double_t signalWidth =
par[4];
42 Double_t
sum = integrationNumber+integrationNumber2;
43 Double_t
z0 = 0.5*( (
sum+2)
45 -4*integrationNumber*(integrationNumber2+1))
48 Double_t
norm = (1.0 -
z0 / (1 + integrationNumber2))
52 Double_t
z = (
x[0]-
par[1])/signalWidth;
54 par[0]*(1-
z/(1+integrationNumber2))
◆ dualbipfunc()
Double_t dualbipfunc |
( |
const Double_t * |
x, |
|
|
const Double_t * |
par |
|
) |
| |