Ignore:
Timestamp:
03/07/12 16:28:14 (13 years ago)
Author:
tbretz
Message:
Improved the possible combinations of how to extract the leading edge or position of maximum and the intgeral or amplitude.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mextralgo/MExtralgoSpline.h

    r9229 r13003  
    1212{
    1313public: 
    14     enum ExtractionType_t { kAmplitude, kIntegralRel, kIntegralAbs };    //! Possible time and charge extraction types
     14    enum ExtractionType_t
     15    {
     16        kIntegral = BIT(0),
     17        kTimeRel  = BIT(1),
     18        kMaximum  = BIT(2),
     19
     20        // For backward compatibility
     21        kAmplitudeAbs = 0,                   // Height of maximum, absolute height leading edge
     22        kAmplitudeRel = kTimeRel,            // Height of maximum, relative height leading edge
     23        kAmplitude    = kMaximum,            // Position and height of maximum
     24        kIntegralAbs  = kIntegral,           // Integral, absolute height leading edge
     25        kIntegralRel  = kIntegral|kTimeRel,  // Integral, relative height leading edge
     26    };
    1527
    1628private:
Note: See TracChangeset for help on using the changeset viewer.