// file: Region.h // // for details please read fpeakWriteRoot.C #ifndef __REGION_H #define __REGION_H typedef struct { int begin; // left border of search window int maxPos; // position of Maximum within search window int end; // right border of search window float maxVal; // Height of maximum within search window (in mV) int halfRisingEdgePos; float interceptRisingEdge; float slopeOfRisingEdge; int lengthOfRisingEdge; int distanceEdgeToMax; int cfdMinPos; int cfdNegZerocrossing; int cfdPosZerocrossing; float halfHeight; float maxSlope; // Height of maximum within search window (in mV) int maxSlopePos; // Height of maximum within search window (in mV) } Region; #endif