// 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; } Region; #endif