Changeset 8158 for trunk/MagicSoft/Mars/mextralgo
- Timestamp:
- 10/24/06 13:40:58 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mextralgo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc
r8154 r8158 50 50 #include "MExtralgoSpline.h" 51 51 52 #include <TRandom.h> 53 52 54 #include "../mbase/MMath.h" 53 55 … … 207 209 } 208 210 209 #include <TRandom.h> 210 Float_t MExtralgoSpline::ExtractNoise(Int_t iter) 211 { 211 Float_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? 212 215 const Float_t nsx = gRandom->Uniform(); //iter * fResolution; 213 216 … … 378 381 { 379 382 fTime = maxpos; 380 fTimeDev = fResolution;383 fTimeDev = 0; 381 384 fSignal = maxval; 382 385 fSignalDev = 0; // means: is valid … … 389 392 390 393 fTime = x1; 391 fTimeDev = fResolution;394 fTimeDev = 0; 392 395 fSignal = CalcIntegral(maxpos); 393 396 fSignalDev = 0; // means: is valid -
trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.h
r8154 r8158 30 30 Float_t fFallTime; 31 31 32 Float_t fResolution;32 // Float_t fResolution; 33 33 34 34 // Result … … 446 446 447 447 void SetRiseFallTime(Float_t rise, Float_t fall) { fRiseTime=rise; fFallTime=fall; } 448 void SetExtra tionType(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; } 450 450 451 451 Float_t GetTime() const { return fTime; } … … 458 458 void GetTime(Float_t &sig, Float_t &dsig) const { sig=fTime; dsig=fTimeDev; } 459 459 460 Float_t ExtractNoise( Int_t iter);460 Float_t ExtractNoise(/*Int_t iter*/); 461 461 void Extract(Byte_t sat, Int_t maxpos); 462 462 };
Note:
See TracChangeset
for help on using the changeset viewer.