--- /dev/null
+#ifndef ANALYSE_H\r
+#define ANALYSE_H\r
+\r
+#include <vector>\r
+#include <cstdlib>\r
+#include <string>\r
+#include <map>\r
+\r
+using namespace std;\r
+\r
+class Analysis\r
+{\r
+ public:\r
+ //Analyse data\r
+ static void AnalyseData(std::vector<int> & input, std::map<float, std::vector<int> > & output, float peakEnergy, float timeRes, float m, float L, float peakCutOff, int spectraNumber);\r
+\r
+ private:\r
+ //Find the index of the peak value\r
+ static int FindMaximum(std::vector<int> & data);\r
+ static void AnalyseSpectrum(std::vector<int> & spectrum, std::map<float, std::vector<int> > & output, float peakEnergy, float timeRes, float m, float L, float peakCutOff);\r
+\r
+\r
+ \r
+ Analysis() {}\r
+ ~Analysis() {}\r
+};\r
+\r
+#endif //ANALYSE_H\r
+\r
+//EOF\r
+\r