DataQualityMonitor.h
1 /* -*- C++ -*-.*********************************************************************************************
2  Author: Ben Strutt
3  Email: b.strutt.12@ucl.ac.uk
4 
5  Description:
6  A class to take RawAnitaEvents and look for signs of bad data.
7 ***********************************************************************************************************/
8 
9 #ifndef DATAQUALITYMONITOR_H
10 #define DATAQUALITYMONITOR_H
11 
12 // Ryan things
13 #include "UsefulAnitaEvent.h"
14 #include "AnitaEventCalibrator.h"
15 #include "AnitaGeomTool.h"
16 #include "UsefulAdu5Pat.h"
17 
18 // standard c++ things
19 #include <iostream>
20 
21 
22 #include "CrossCorrelator.h"
23 
24 
32 
33 public:
34 
35 
38 
39  Int_t ProcessEvent(RawAnitaEvent* rawEvent);
40  void fillMaxAbsSecondDerivArray(UsefulAnitaEvent* pedEvent);
41  void fillThresholds(Double_t vals[NUM_POL][NUM_SEAVEYS]);
42 
43  Double_t lastMaxAbsSecondDeriv[NUM_POL][NUM_SEAVEYS];
44 
45 
46 private:
47 
48  Double_t threshMaxAbsSecondDeriv[NUM_POL][NUM_SEAVEYS];
49 
50 
51 };
52 #endif
Looks for SURF saturation.