Ignore:
Timestamp:
12/08/04 18:02:12 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msignal
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r5558 r5570  
    245245void MExtractTimeAndCharge::Print(Option_t *o) const
    246246{
    247   if (IsA()==MExtractTimeAndCharge::Class())
     247  if (IsA()==Class())
    248248    *fLog << GetDescriptor() << ":" << endl;
    249  
    250   *fLog << dec << endl;
    251   *fLog << "Taking " << fNumHiGainSamples
     249
     250  *fLog << dec;
     251  *fLog << " Taking " << fNumHiGainSamples
    252252        << " HiGain samples from slice " << (Int_t)fHiGainFirst
    253253        << " to " << (Int_t)(fHiGainLast+fHiLoLast) << " incl" << endl;
    254   *fLog << inf << "Taking " << fNumLoGainSamples
     254  *fLog << " Taking " << fNumLoGainSamples
    255255        << " LoGain samples from slice " << (Int_t)fLoGainFirst
    256256        << " to " << (Int_t)fLoGainLast << " incl" << endl;
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc

    r5558 r5570  
    234234  const Float_t pedes  = ped.GetPedestal();
    235235  const Float_t ABoffs = ped.GetPedestalABoffset();
    236        
     236
    237237  Float_t pedmean[2];
    238238  pedmean[0] = pedes + ABoffs;
     
    260260        sat++;
    261261    }
    262  
     262
    263263  if (fHiLoLast != 0)
    264264    {
     
    284284        }
    285285    }
    286  
     286
    287287  //
    288288  // allow one saturated slice
     
    300300        fRandomIter = 0;
    301301      for (Int_t ids=0; ids < fWindowSizeHiGain; ids++)
    302         {
     302      {
    303303          const Int_t   idx = fBinningResolutionHiGain*ids + fRandomIter;
    304304          sum              += fAmpWeightsHiGain [idx]*fHiGainSignal[ids];
     
    364364        }
    365365    }
    366  
     366
    367367  sum = 0.;
    368368  time_sum = 0.;
     
    10121012void MExtractTimeAndChargeDigitalFilter::Print(Option_t *o) const
    10131013{
     1014    if (IsA()==Class())
     1015        *fLog << GetDescriptor() << ":" << endl;
     1016
    10141017    MExtractTimeAndCharge::Print(o);
    10151018    *fLog << " Time Shift  HiGain: " << fTimeShiftHiGain         << "  LoGain: " << fTimeShiftLoGain << endl;
    10161019    *fLog << " Window Size HiGain: " << fWindowSizeHiGain        << "  LoGain: " << fWindowSizeLoGain << endl;
    10171020    *fLog << " Binning Res HiGain: " << fBinningResolutionHiGain << "  LoGain: " << fBinningResolutionHiGain << endl;
    1018     *fLog << " Weights File:       " << fNameWeightsFile.Data() << endl;
     1021    *fLog << " Weights File:       " << fNameWeightsFile << endl;
    10191022
    10201023    TString opt(o);
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.h

    r5529 r5570  
    4848  MArrayF fTimeWeightsLoGain;                   //! Time weights Low-Gain (from weights file)
    4949
    50   TString fNameWeightsFile;                     // Name of the weights file
    51   Bool_t  fWeightsSet;                          // Flag if weights have alreayd been set
    52   UInt_t  fRandomIter;                          // Counter used to randomize weights for noise calculation
     50  TString fNameWeightsFile;                     //! Name of the weights file
     51  Bool_t  fWeightsSet;                          //! Flag if weights have alreayd been set
     52  UInt_t  fRandomIter;                          //! Counter used to randomize weights for noise calculation
    5353
    5454  Bool_t  InitArrays();
Note: See TracChangeset for help on using the changeset viewer.