forked from avartak/TkCommissioner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmruninfo.h
34 lines (25 loc) · 785 Bytes
/
frmruninfo.h
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
#ifndef FRMRUNINFO_H
#define FRMRUNINFO_H
#include "ui_frmruninfo.h"
#include <QString>
#include <TTree.h>
class RunInfo : public QConnectedTabWidget, private Ui::RunInfo {
Q_OBJECT
public:
RunInfo(QWidget *parent = 0);
~RunInfo();
typedef QPair<QString,QString> QRunId; /**< unique ID of a run consisting of partition name and run number */
void setCurrentRun(QString);
void setCurrentPartition(QString);
void setTree(TTree*);
void setSelMap(QVector<int>);
QString getCurrentRun();
QString getCurrentPartition();
bool displayRunInfo();
private:
QString currentRun;
QString currentPartition;
TTree* tree;
QVector<int> selMap;
};
#endif