Go to the source code of this file.
void getLinearizedADC |
( |
const HcalQIEShape & |
shape, |
|
|
const HcalQIECoder * |
coder, |
|
|
int |
bins, |
|
|
int |
capid, |
|
|
float & |
lo, |
|
|
float & |
hi |
|
) |
| |
float maxDiff |
( |
float |
one, |
|
|
float |
two, |
|
|
float |
three, |
|
|
float |
four |
|
) |
| |
Definition at line 18 of file HcalAlgoUtils.cc.
References bookConverter::max, and min().
19 float max=-1000;
float min = 1000;
20 if(one>max) max = one;
if(one<min) min = one;
21 if(two>max) max = two;
if(two<min) min = two;
22 if(three>max) max = three;
if(three<min) min = three;
23 if(four>max) max = four;
if(four<min) min = four;