/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkLevel0.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkLevel0.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by pam-fi, Wed Oct 22 15:17:36 2008 UTC revision 1.5 by pam-fi, Tue Nov 25 14:41:36 2008 UTC
# Line 211  bool TrkLevel0::FillADC(){ Line 211  bool TrkLevel0::FillADC(){
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    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23