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) |
|
* @param graph pointer to a TGraph to retrieve the output |
|
|
* @param filladc if true calls F77 routine FillADC. otherwise must be called outside |
|
214 |
*/ |
*/ |
215 |
bool TrkLevel0::GetCalibratedEvent(int iview, TGraph* graph, bool filladc){ |
bool TrkLevel0::GetCalibratedEvent(int iview, TGraph* graph){ |
216 |
|
|
217 |
if ( iview<1 || iview>12 )return false; |
if ( iview<1 || iview>12 )return false; |
218 |
if( filladc ){ |
if ( !FillADC() ) return false; |
|
if ( !FillADC() ) return false; |
|
|
} |
|
219 |
evaluatecn_(&iview); |
evaluatecn_(&iview); |
220 |
subtractped_(&iview); |
subtractped_(&iview); |
221 |
|
|