ODIN
qualitycontrol.h
1 /***************************************************************************
2  qualitycontrol.h - description
3  -------------------
4  begin : Tue Feb 28 2011
5  copyright : (C) 2000-2021 by Thies Jochimsen
6  email : thies@jochimsen.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QUALITYCONTROL_H
19 #define QUALITYCONTROL_H
20 
21 #include "step.h"
22 
24 
25  // implementing virtual functions of RecoStep
26  STD_string label() const {return "qcspike";}
27  STD_string description() const {return "Check for spikes in data";}
28  bool process(RecoData& rd, RecoController& controller);
29  RecoCoord input_coord() const {return RecoCoord::coord_with_mode(RecoIndex::collected,line3d,line,readout);}
30  void modify_coord(RecoCoord& coord) const {}
31  bool query(RecoQueryContext& context);
32  RecoStep* allocate() const {return new RecoQualityControlSpike;}
33  void init() {}
34 
35  STD_map<unsigned int, UInt> spikecount; // separately for each channel
36  Mutex spikemutex;
37 
38  LONGEST_INT total_acqpts;
39  Mutex totalmutex;
40 
41 };
42 
43 
44 #endif
45 
Definition: tjthread.h:46
qcspike: Check for spikes in data
static RecoCoord coord_with_mode(RecoIndex::indexMode m, recoDim d1=n_recoDims, recoDim d2=n_recoDims, recoDim d3=n_recoDims, recoDim d4=n_recoDims, recoDim d5=n_recoDims, recoDim d6=n_recoDims, recoDim d7=n_recoDims, recoDim d8=n_recoDims)
Definition: index.h:254