ROOTANA
TTRB3Histogram.hxx
Go to the documentation of this file.
1 #ifndef TTRB3Histograms_h
2 #define TTRB3Histograms_h
3 
4 #include <string>
5 #include "THistogramArrayBase.h"
6 
7 /// Class for making histograms of TRB3 FPGA-TDC data.
9  public:
11  virtual ~TTRB3Histograms(){};
12 
13  /// Update the histograms for this canvas.
14  void UpdateHistograms(TDataContainer& dataContainer);
15 
16  /// Take actions at begin run
17  void BeginRun(int transition,int run,int time);
18 
19  /// Take actions at end run
20  void EndRun(int transition,int run,int time){};
21 
22 private:
23 
24  void CreateHistograms();
25 
26 };
27 
28 /// Class for making histograms of TRB3 raw fine times .
30  public:
32  virtual ~TTRB3FineHistograms(){};
33 
34  /// Update the histograms for this canvas.
35  void UpdateHistograms(TDataContainer& dataContainer);
36 
37  /// Take actions at begin run
38  void BeginRun(int transition,int run,int time);
39 
40  /// Take actions at end run
41  void EndRun(int transition,int run,int time){};
42 
43 private:
44 
45  void CreateHistograms();
46 
47 };
48 
49 /// Class for making diff histograms of TRB3 FPGA-TDC data.
51  public:
53  virtual ~TTRB3DiffHistograms(){};
54 
55  /// Update the histograms for this canvas.
56  void UpdateHistograms(TDataContainer& dataContainer);
57 
58  /// Take actions at begin run
59  void BeginRun(int transition,int run,int time);
60 
61  /// Take actions at end run
62  void EndRun(int transition,int run,int time){};
63 
64 private:
65 
66  void CreateHistograms();
67 
68  // specify the reference FPGA and Ch
71 
72 };
73 
74 #endif
75 
76 
Class for making diff histograms of TRB3 FPGA-TDC data.
TTRB3DiffHistograms()
Reset the histograms for this canvas.
virtual ~TTRB3DiffHistograms()
void BeginRun(int transition, int run, int time)
Take actions at begin run.
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
void CreateHistograms()
Function to create histograms; users will want to implement this function.
void EndRun(int transition, int run, int time)
Take actions at end run
Class for making histograms of TRB3 raw fine times .
TTRB3FineHistograms()
Reset the histograms for this canvas.
void BeginRun(int transition, int run, int time)
Take actions at begin run.
virtual ~TTRB3FineHistograms()
void EndRun(int transition, int run, int time)
Take actions at end run
void CreateHistograms()
Function to create histograms; users will want to implement this function.
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
Class for making histograms of TRB3 FPGA-TDC data.
TTRB3Histograms()
Reset the histograms for this canvas.
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
virtual ~TTRB3Histograms()
void EndRun(int transition, int run, int time)
Take actions at end run
void CreateHistograms()
Function to create histograms; users will want to implement this function.
void BeginRun(int transition, int run, int time)
Take actions at begin run.