Go to the source code of this file.
◆ crystalball()
double crystalball |
( |
double * |
x, |
|
|
double * |
par |
|
) |
| |
◆ ene1x1_xtal()
double ene1x1_xtal |
( |
double |
mymatrix[], |
|
|
int |
xtal |
|
) |
| |
Definition at line 21 of file myFunctions.cc.
24 if (mymatrix[xtal]<-50) { E1x1 = -1000.; }
25 else { E1x1 = mymatrix[xtal]; }
◆ ene3x3_xtal()
double ene3x3_xtal |
( |
double |
mymatrix[], |
|
|
int |
xtal |
|
) |
| |
Definition at line 30 of file myFunctions.cc.
34 if ( (mymatrix[xtal-8]<-50) || (mymatrix[xtal-7]<-50) || (mymatrix[xtal-6]<-50) || (mymatrix[xtal-1]<-50) || (mymatrix[xtal]<-50) || (mymatrix[xtal+1]<-50) || (mymatrix[xtal+6]<-50) || (mymatrix[xtal+7]<-50) || (mymatrix[xtal+8]<-50) )
37 { E3x3 = mymatrix[xtal-8] + mymatrix[xtal-7] + mymatrix[xtal-6] + mymatrix[xtal-1] + mymatrix[xtal] + mymatrix[xtal+1] + mymatrix[xtal+6] + mymatrix[xtal+7] + mymatrix[xtal+8]; }
◆ ene5x5_xtal()
double ene5x5_xtal |
( |
double |
mymatrix[], |
|
|
int |
xtal |
|
) |
| |
Definition at line 43 of file myFunctions.cc.
47 if( (mymatrix[xtal-16]<-50) || (mymatrix[xtal-15]<-50) || (mymatrix[xtal-14]<-50) || (mymatrix[xtal-13]<-50) || (mymatrix[xtal-12]<-50) || (mymatrix[xtal-9]<-50) || (mymatrix[xtal-8]<-50) || (mymatrix[xtal-7]<-50) || (mymatrix[xtal-6]<-50) || (mymatrix[xtal-5]<-50) || (mymatrix[xtal-2]<-50) || (mymatrix[xtal-1]<-50) || (mymatrix[xtal]<-50) || (mymatrix[xtal+1]<-50) || (mymatrix[xtal+2]<-50) || (mymatrix[xtal+5]<-50) || (mymatrix[xtal+6]<-50) || (mymatrix[xtal+7]<-50) || (mymatrix[xtal+8]<-50) || (mymatrix[xtal+9]<-50) || (mymatrix[xtal+12]<-50) || (mymatrix[xtal+13]<-50) || (mymatrix[xtal+14]<-50) || (mymatrix[xtal+15]<-50) || (mymatrix[xtal+16]<-50) )
50 { E5x5 = mymatrix[xtal-16] + mymatrix[xtal-15] + mymatrix[xtal-14] + mymatrix[xtal-13] + mymatrix[xtal-12] + mymatrix[xtal-9] + mymatrix[xtal-8] + mymatrix[xtal-7] + mymatrix[xtal-6] + mymatrix[xtal-5] + mymatrix[xtal-2] + mymatrix[xtal-1] + mymatrix[xtal] + mymatrix[xtal+1] + mymatrix[xtal+2] + mymatrix[xtal+5] + mymatrix[xtal+6] + mymatrix[xtal+7] + mymatrix[xtal+8] + mymatrix[xtal+9] + mymatrix[xtal+12] + mymatrix[xtal+13] + mymatrix[xtal+14] + mymatrix[xtal+15] + mymatrix[xtal+16]; }
◆ ene7x7_xtal()
double ene7x7_xtal |
( |
double |
mymatrix[] | ) |
|
◆ energy_ieta()
void energy_ieta |
( |
double |
mymatrix[], |
|
|
double * |
energyieta |
|
) |
| |
◆ energy_iphi()
void energy_iphi |
( |
double |
mymatrix[], |
|
|
double * |
energyiphi |
|
) |
| |
◆ maxAmplitInMatrix()
int maxAmplitInMatrix |
( |
double |
myMatrix[] | ) |
|
Definition at line 6 of file myFunctions.cc.
11 for (
int icry=0; icry<49; icry++) {
12 if (myMatrix[icry] > maxADC){
13 maxADC = myMatrix[icry];
◆ shapeFunction()
double shapeFunction |
( |
double * |
x, |
|
|
double * |
par |
|
) |
| |
Definition at line 125 of file myFunctions.cc.
133 ret_val = par[0] + par[1]*
x[0]*
x[0] + par[2]*
x[0]*
x[0]*
x[0] + par[3]*
x[0]*
x[0]*
x[0]*
x[0];
135 ret_val = par[0] + par[4]*
x[0]*
x[0] + par[5]*
x[0]*
x[0]*
x[0] + par[6]*
x[0]*
x[0]*
x[0]*
x[0];
References vertices_cff::x.