Changeset 5164


Ignore:
Timestamp:
10/03/04 21:55:06 (20 years ago)
Author:
hbartko
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r5160 r5164  
    1919
    2020                                                 -*-*- END OF LINE -*-*-
     21
     22 2004/09/29: Hendrik Bartko
     23
     24   * msignal/MExtractTimeAndChargeDigitalFilter.cc
     25     - fixed a bug in the weights calculation
     26 
    2127
    2228 2004/10/01: Thomas Bretz
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc

    r5162 r5164  
    680680  for (Int_t i=0; i<fWindowSizeHiGain; i++){
    681681    for (Int_t j=0; j<fWindowSizeHiGain; j++){
    682       Bhi[i][j]=autocorrhi->GetBinContent(i+1+fSignalStartBinHiGain,j+1+fSignalStartBinHiGain);
     682      Bhi[i][j]=autocorrhi->GetBinContent(i+1,j+1); //+fSignalStartBinHiGain +fSignalStartBinHiGain
    683683    }
    684684  } 
     
    692692  // Loop over relative time in one BinningResolution interval
    693693  //
    694   Int_t start = fBinningResolutionHiGain*fSignalStartBinHiGain + fBinningResolutionHalfHiGain;
     694  Int_t start = fBinningResolutionHiGain*(fSignalStartBinHiGain + 1);
    695695
    696696  for (Int_t i = -fBinningResolutionHalfHiGain+1; i<=fBinningResolutionHalfHiGain; i++)
Note: See TracChangeset for help on using the changeset viewer.