| 29 |
|
|
| 30 |
void CaloNuclei::Clear(){ |
void CaloNuclei::Clear(){ |
| 31 |
// |
// |
| 32 |
|
UN = 0; |
| 33 |
tr = 0; |
tr = 0; |
| 34 |
sntr = 0; |
sntr = 0; |
| 35 |
interplane = 0; |
interplane = 0; |
| 36 |
preq = 0.; |
preq = 0.; |
| 37 |
postq = 0.; |
postq = 0.; |
| 38 |
|
stdedx1 = 0.; |
| 39 |
|
ethr = 0.; |
| 40 |
dedx1 = 0.; |
dedx1 = 0.; |
| 41 |
dedx3 = 0.; |
dedx3 = 0.; |
| 42 |
qpremean = 0.; |
qpremean = 0.; |
| 109 |
if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime); |
if ( debug ) printf(" Processing event at OBT %u PKT %u time %u \n",OBT,PKT,atime); |
| 110 |
// |
// |
| 111 |
Clear(); |
Clear(); |
| 112 |
|
// |
| 113 |
if ( debug ) printf(" Always calculate stdedx1 \n"); |
if ( debug ) printf(" Always calculate stdedx1 \n"); |
| 114 |
// |
// |
| 115 |
// Always calculate stdedx1 |
// Always calculate stdedx1 |
| 504 |
}; |
}; |
| 505 |
// |
// |
| 506 |
qpremeanN /= (Float_t)RN; |
qpremeanN /= (Float_t)RN; |
| 507 |
|
UN = RN; |
| 508 |
// |
// |
| 509 |
if ( debug ) printf(" charge is %f \n",sqrt(qpremean)); |
if ( debug ) printf(" charge is %f \n",sqrt(qpremean)); |
| 510 |
// |
// |