Ignore:
Timestamp:
05/09/07 13:15:53 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h

    r8304 r8478  
    44#ifndef MARS_MExtractTimeAndCharge
    55#include "MExtractTimeAndCharge.h"
     6#endif
     7
     8#ifndef MARS_MExtralgoSpline
     9#include "MExtralgoSpline.h"
    610#endif
    711
     
    4145
    4246    Float_t fLoGainStretch;                  // The stretch of the low-gain w.r.t. the high-gain pulse
     47    Float_t fHeightTm;
    4348
    4449//    Int_t   fRandomIter;                     //! Counter used to randomize weights for noise calculation
     
    4752    Bool_t  InitArrays(Int_t n);
    4853
    49 public:
    50     enum ExtractionType_t { kAmplitude, kIntegral };    //! Possible time and charge extraction types
    51 
    5254private:
    53     ExtractionType_t fExtractionType;
     55    MExtralgoSpline::ExtractionType_t fExtractionType;
    5456
    5557public:
    5658    MExtractTimeAndChargeSpline(const char *name=NULL, const char *title=NULL);
    57     ~MExtractTimeAndChargeSpline() {}
    5859
    5960    Float_t GetRiseTimeHiGain() const { return fRiseTimeHiGain; }
     
    8384    void SetLoGainStretch(const Float_t f=fgLoGainStretch) { fLoGainStretch = f;   }
    8485
    85     void SetChargeType(const ExtractionType_t typ=kIntegral);
     86    void SetChargeType(const MExtralgoSpline::ExtractionType_t typ=MExtralgoSpline::kIntegralRel);
    8687/*
    8788    void FindTimeAndChargeHiGain(Byte_t *first, Byte_t *logain, Float_t &sum, Float_t &dsum,
     
    100101                                  Byte_t sat, Int_t maxpos) const;
    101102
    102     ClassDef(MExtractTimeAndChargeSpline, 4)   // Task to Extract Arrival Times and Charges using a Cubic Spline
     103    ClassDef(MExtractTimeAndChargeSpline, 5)   // Task to Extract Arrival Times and Charges using a Cubic Spline
    103104};
    104105
Note: See TracChangeset for help on using the changeset viewer.