| 4258 |
// check pedestal values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
// check pedestal values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
| 4259 |
// |
// |
| 4260 |
totped = 0.; |
totped = 0.; |
| 4261 |
|
Int_t ns = 0; |
| 4262 |
|
if ( section == 2 ) ns = 3; |
| 4263 |
|
if ( section == 3 ) ns = 1; |
| 4264 |
|
if ( section == 1 ) ns = 2; |
| 4265 |
for (UInt_t ss=0; ss<96; ss++){ |
for (UInt_t ss=0; ss<96; ss++){ |
| 4266 |
totped += calibCalPed->calped[section][0][ss]; |
totped += fabs(calibCalPed->calped[ns][0][ss]); |
| 4267 |
} |
} |
| 4268 |
if ( totped < 1. ){ |
if ( totped < 1. ){ |
| 4269 |
if ( IsDebug() ) printf(" Section %i totped %f - No calibration data! Calorimeter power problems? \n",section,totped); |
if ( IsDebug() ) printf(" Section %i totped %f - No calibration data! Calorimeter power problems? \n",section,totped); |
| 4452 |
// check pulse values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
// check pulse values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
| 4453 |
// |
// |
| 4454 |
totpul = 0.; |
totpul = 0.; |
| 4455 |
|
Int_t ns = 0; |
| 4456 |
|
if ( section == 2 ) ns = 3; |
| 4457 |
|
if ( section == 3 ) ns = 1; |
| 4458 |
|
if ( section == 1 ) ns = 2; |
| 4459 |
for (UInt_t ss=0; ss<96; ss++){ |
for (UInt_t ss=0; ss<96; ss++){ |
| 4460 |
totpul += cp1->calpuls[section][0][ss]; |
totpul += cp1->calpuls[ns][0][ss]; |
| 4461 |
} |
} |
| 4462 |
if ( totpul >= 3145632. ){ |
if ( totpul >= 3145632. ){ |
| 4463 |
if ( IsDebug() ) printf(" PULSE1 Section %i totpul %f - No calibration data! Calorimeter power problems? \n",section,totpul); |
if ( IsDebug() ) printf(" PULSE1 Section %i totpul %f - No calibration data! Calorimeter power problems? \n",section,totpul); |
| 4625 |
// check pulse values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
// check pulse values for one plane, if all zeros calibration is not valid (calorimeter power problems) [8th data reduction bug, fixed on 25/11/2009 by E.M.] |
| 4626 |
// |
// |
| 4627 |
totpul = 0.; |
totpul = 0.; |
| 4628 |
|
Int_t ns = 0; |
| 4629 |
|
if ( section == 2 ) ns = 3; |
| 4630 |
|
if ( section == 3 ) ns = 1; |
| 4631 |
|
if ( section == 1 ) ns = 2; |
| 4632 |
for (UInt_t ss=0; ss<96; ss++){ |
for (UInt_t ss=0; ss<96; ss++){ |
| 4633 |
totpul += cp2->calpuls[section][0][ss]; |
totpul += cp2->calpuls[ns][0][ss]; |
| 4634 |
} |
} |
| 4635 |
if ( totpul >= 3145632. ){ |
if ( totpul >= 3145632. ){ |
| 4636 |
if ( IsDebug() ) printf(" PULSE2 Section %i totpul %f - No calibration data! Calorimeter power problems? \n",section,totpul); |
if ( IsDebug() ) printf(" PULSE2 Section %i totpul %f - No calibration data! Calorimeter power problems? \n",section,totpul); |