GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
f_find_peaks.h
Go to the documentation of this file.
1 // $Id: f_find_peaks.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef F_FIND_PEAKS
15 #define F_FIND_PEAKS
16 
17 #define TYPE__SHORT 0
18 #define TYPE__INT 1
19 #define TYPE__FLOAT 2
20 #define TYPE__DOUBLE 3
21 void f_find_peaks(
22  void *, // pointer to data
23  int, // data type: use definitions above
24  int, // first channel (0,...)
25  int, // number of channels
26  int, // channels to sum up (bin size in channels)
27  double, // noise factor to square root
28  double, // noise minimum (absolut)
29  double *, // array with noise (original channels)
30  int, // Maximum number of peaks. Arrays below must have this size.
31  int *, // returns number of peaks found
32  int *, // pointer to array of minima
33  double *, // pointer to array of minima values
34  int *, // pointer to array of maxima
35  int *, // pointer to array of width
36  double *); // pointer to array of integrals
37 
38 #endif
void f_find_peaks(void *, int, int, int, int, double, double, double *, int, int *, int *, double *, int *, int *, double *)
Definition: f_find_peaks.c:112