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 21 of file CastorAlgoUtils.cc.
References max(), and bookConverter::min.
22 float max=-1000;
float min = 1000;
23 if(one>max) max = one;
if(one<min) min = one;
24 if(two>max) max = two;
if(two<min) min = two;
25 if(three>max) max = three;
if(three<min) min = three;
26 if(four>max) max = four;
if(four<min) min = four;
const T & max(const T &a, const T &b)