Changeset 6769 for trunk


Ignore:
Timestamp:
03/07/05 17:46:37 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6768 r6769  
    2525   * mjobs/MJPedestal.[h,cc]
    2626     - modified range setting according Thomas S. suggestions
     27
     28   * msignal/MArrivalTime.[h,cc]
     29     - took out some commented code which will not be used any more
     30     - improve Print() function
    2731
    2832
  • trunk/MagicSoft/Mars/msignal/MArrivalTime.h

    r6038 r6769  
    4242    void Print(Option_t *o="") const;
    4343
    44     // Do not do such things! It is highly dangerous to use two very similar operators
    45     // to do completely different things! People won't recognize it...
    46     //Double_t operator()(int i) { return fDataErr[i]; }
    47 
    4844    Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
    4945    void DrawPixelContent(Int_t num) const;
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.cc

    r6742 r6769  
    175175MExtractTimeAndChargeSpline::MExtractTimeAndChargeSpline(const char *name, const char *title)
    176176    : fAbMax(0.), fAbMaxPos(0.), fHalfMax(0.),
    177       fRiseTimeHiGain(fgRiseTimeHiGain), fFallTimeHiGain(fgFallTimeHiGain),
    178177      fRandomIter(0), fExtractionType(kIntegral)
    179178{
     
    185184  SetLoGainStretch();
    186185  SetOffsetLoGain(fgOffsetLoGain);
     186
     187  SetRiseTimeHiGain();
     188  SetFallTimeHiGain();
    187189
    188190  SetRange(fgHiGainFirst, fgHiGainLast, fgLoGainFirst, fgLoGainLast);
     
    241243      fSqrtLoGainSamples = TMath::Sqrt(fNumLoGainSamples);
    242244      fWindowSizeHiGain  = (Int_t)(fRiseTimeHiGain + fFallTimeHiGain);
    243       fWindowSizeLoGain  = (Int_t)(fRiseTimeLoGain + fFallTimeLoGain);
     245      fWindowSizeLoGain  = (Int_t)((fRiseTimeLoGain + fFallTimeLoGain)*fLoGainStretch);
    244246      //      fNumLoGainSamples  *= 0.75;     
    245247    }
Note: See TracChangeset for help on using the changeset viewer.