REST-for-Physics
v2.3
Rare Event Searches ToolKit for Physics
source
libraries
detector
inc
TRestDetectorReadoutEventViewer.h
1
14
15
#ifndef RestCore_TRestDetectorReadoutEventViewer
16
#define RestCore_TRestDetectorReadoutEventViewer
17
18
#include <TCanvas.h>
19
#include <TPad.h>
20
#include <TRestEventViewer.h>
21
22
#include "TH2Poly.h"
23
#include "TRestDetectorReadout.h"
24
#include "TRestDetectorSignalEvent.h"
25
26
class
TRestDetectorReadoutEventViewer
:
public
TRestEventViewer
{
27
protected
:
28
TCanvas* fCanvasXY;
29
TCanvas* fCanvasXZYZ;
30
31
TRestDetectorReadout
* fReadout;
32
33
TRestDetectorSignalEvent
* fSignalEvent;
34
35
TH2Poly* fHistoXY;
36
TH2D* fHistoXZ;
37
TH2D* fHistoYZ;
38
39
bool
isFirstevent;
40
41
double
xmin, xmax, ymin, ymax, zmin, zmax;
42
43
public
:
44
void
Initialize()
override
;
45
// Finalize initialization based on arg. TRestDetectorReadout
46
void
SetReadout(
TRestDetectorReadout
* readout);
47
48
void
AddEvent(
TRestEvent
* ev)
override
;
49
void
DrawReadoutPulses();
50
TRestDetectorReadoutChannel
* GetChannel(
int
readoutChannel);
51
TRestDetectorReadoutModule
* GetModule(
int
readoutChannel);
52
53
// Constructor
54
TRestDetectorReadoutEventViewer
();
55
// Destructor
56
~TRestDetectorReadoutEventViewer
()
override
;
57
58
ClassDefOverride(
TRestDetectorReadoutEventViewer
, 1);
// class inherited from
59
// TRestEventViewer
60
};
61
#endif
TRestDetectorReadoutChannel
Definition:
TRestDetectorReadoutChannel.h:34
TRestDetectorReadoutEventViewer
Definition:
TRestDetectorReadoutEventViewer.h:26
TRestDetectorReadoutModule
Definition:
TRestDetectorReadoutModule.h:36
TRestDetectorReadout
A metadata class to generate/store a readout description.
Definition:
TRestDetectorReadout.h:33
TRestDetectorSignalEvent
Definition:
TRestDetectorSignalEvent.h:32
TRestEventViewer
Definition:
TRestEventViewer.h:33
TRestEvent
A base class for any REST event.
Definition:
TRestEvent.h:38
Generated on Sun Dec 22 2024 05:10:14 for REST-for-Physics by
1.9.4