-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTigSortObject.h
More file actions
36 lines (27 loc) · 857 Bytes
/
TigSortObject.h
File metadata and controls
36 lines (27 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// part of TigSortGUI
// author: Ulrike Hager
/*
Object for all kind of manipulation that can't be done by TFormula. mWhatToDo determines evaluation
( (0) TigFormula )
(1) max value (keyword _maxValue) finds max value for detector, gives channel and value
(2) select channels (keyword _selectCh), gives selected channels and values
*/
#ifndef TIGSORTOBJECT_H
#define TIGSORTOBJECT_H
#include <set>
#include "TigDataObject.h"
class TigSortObject : public TigDataObject
{
public:
TigSortObject();
//virtual void Clear();
virtual bool Evaluate();
virtual void IncreaseDataLength(int);
virtual bool Initialize();
virtual bool ParseInput(std::string line);
void SetParameters(std::vector<std::string> spec){mParameters = spec;}
protected:
std::vector<std::string> mParameters;
std::set<int> mChannels;
};
#endif /*TIGSORTOBJECT_H */