| 211 |
* Method to evaluate calibrated signal (ADC-CN-PED) of each view |
* Method to evaluate calibrated signal (ADC-CN-PED) of each view |
| 212 |
* (it calls F77 routines: filladc + evaluatecn + subtractped) |
* (it calls F77 routines: filladc + evaluatecn + subtractped) |
| 213 |
* @param iview view number (1-12) |
* @param iview view number (1-12) |
| 214 |
|
* @param graph pointer to a TGraph to retrieve the output |
| 215 |
|
* @param filladc if true calls F77 routine FillADC. otherwise must be called outside |
| 216 |
*/ |
*/ |
| 217 |
bool TrkLevel0::GetCalibratedEvent(int iview, TGraph* graph){ |
bool TrkLevel0::GetCalibratedEvent(int iview, TGraph* graph, bool filladc){ |
| 218 |
|
|
| 219 |
if ( iview<1 || iview>12 )return false; |
if ( iview<1 || iview>12 )return false; |
| 220 |
if ( !FillADC() ) return false; |
if( filladc ){ |
| 221 |
|
if ( !FillADC() ) return false; |
| 222 |
|
} |
| 223 |
evaluatecn_(&iview); |
evaluatecn_(&iview); |
| 224 |
subtractped_(&iview); |
subtractped_(&iview); |
| 225 |
|
|