-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTV1720Histograms.h
56 lines (38 loc) · 1.44 KB
/
TV1720Histograms.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef TV1720Histograms_h
#define TV1720Histograms_h
#include <string>
#include "THistogramArrayBase.h"
#include "TH2.h"
#include <vector>
#include "TVConstants.h"
/// Class for making histograms of Q short vs Q long
class TV1720QSQLHistograms : public THistogramArrayBase {
public:
TV1720QSQLHistograms();
virtual ~TV1720QSQLHistograms(){};
/// Update the histograms for this canvas.
/// This method works, but is generally not used; instead, TUCNAnaManager handles filling this histogram.
void UpdateHistograms(TDataContainer&){};
void UpdateHistogram(int board, int chan, Float_t QS, Float_t QL);
/// Take actions at begin run
void BeginRun(int transition,int run,int time);
/// Take actions at end run
void EndRun(int transition,int run,int time);
void CreateHistograms();
};
/// Class for making histograms of PSD vs Q long
class TV1720PSDQLHistograms : public THistogramArrayBase {
public:
TV1720PSDQLHistograms();
virtual ~TV1720PSDQLHistograms(){};
/// Update the histograms for this canvas.
/// This method works, but is generally not used; instead, TUCNAnaManager handles filling this histogram.
void UpdateHistograms(TDataContainer&){};
void UpdateHistogram(int board, int chan, Float_t PSD, Float_t QL);
/// Take actions at begin run
void BeginRun(int transition,int run,int time);
/// Take actions at end run
void EndRun(int transition,int run,int time);
void CreateHistograms();
};
#endif