Ignore:
Timestamp:
10/24/06 13:40:58 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mextralgo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc

    r8154 r8158  
    5050#include "MExtralgoSpline.h"
    5151
     52#include <TRandom.h>
     53
    5254#include "../mbase/MMath.h"
    5355
     
    207209}
    208210
    209 #include <TRandom.h>
    210 Float_t MExtralgoSpline::ExtractNoise(Int_t iter)
    211 {
     211Float_t MExtralgoSpline::ExtractNoise(/*Int_t iter*/)
     212{
     213    // FIXME: Shell we keep the extraction inside one slice
     214    // or randomize it along the extraction window?
    212215    const Float_t nsx = gRandom->Uniform(); //iter * fResolution;
    213216
     
    378381    {
    379382        fTime      = maxpos;
    380         fTimeDev   = fResolution;
     383        fTimeDev   = 0;
    381384        fSignal    = maxval;
    382385        fSignalDev = 0;  // means: is valid
     
    389392
    390393    fTime      = x1;
    391     fTimeDev   = fResolution;
     394    fTimeDev   = 0;
    392395    fSignal    = CalcIntegral(maxpos);
    393396    fSignalDev = 0;  // means: is valid
  • trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.h

    r8154 r8158  
    3030    Float_t fFallTime;
    3131
    32     Float_t fResolution;
     32//    Float_t fResolution;
    3333
    3434    // Result
     
    446446
    447447    void SetRiseFallTime(Float_t rise, Float_t fall) { fRiseTime=rise; fFallTime=fall; }
    448     void SetExtrationType(ExtractionType_t typ)      { fExtractionType = typ; }
    449     void SetResolution(Float_t res)                  { fResolution=res; }
     448    void SetExtractionType(ExtractionType_t typ)     { fExtractionType = typ; }
     449//    void SetResolution(Float_t res)                  { fResolution=res; }
    450450
    451451    Float_t GetTime() const      { return fTime; }
     
    458458    void GetTime(Float_t &sig, Float_t &dsig) const   { sig=fTime; dsig=fTimeDev; }
    459459
    460     Float_t ExtractNoise(Int_t iter);
     460    Float_t ExtractNoise(/*Int_t iter*/);
    461461    void Extract(Byte_t sat, Int_t maxpos);
    462462};
Note: See TracChangeset for help on using the changeset viewer.