REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Protected Attributes
TRestDetectorReadoutEventViewer Class Reference

Detailed Description




         RESTSoft : Software for Rare Event Searches with TPCs

         TRestDetectorReadoutEventViewer.h inherited from TRestEventViewer

         dec 2015:   First concept
             Viewer class for a TRestDetectorSignalEvent and TRestDetectorReadout
             JuanAn Garcia

Definition at line 26 of file TRestDetectorReadoutEventViewer.h.

#include <TRestDetectorReadoutEventViewer.h>

Inheritance diagram for TRestDetectorReadoutEventViewer:
TRestEventViewer

Public Member Functions

void AddEvent (TRestEvent *ev) override
 
 ClassDefOverride (TRestDetectorReadoutEventViewer, 1)
 
void DrawReadoutPulses ()
 
TRestDetectorReadoutChannelGetChannel (int readoutChannel)
 
TRestDetectorReadoutModuleGetModule (int readoutChannel)
 
void Initialize () override
 
void SetReadout (TRestDetectorReadout *readout)
 
- Public Member Functions inherited from TRestEventViewer
virtual void AddEvent (TRestEvent *ev)
 
virtual void DeleteCurrentEvent ()
 
virtual void Embed (TBrowser *b)
 
TRestEventGetEvent ()
 
TGeoManager * GetGeometry ()
 
Double_t GetGeomScale () const
 
virtual void Plot (const char *option)
 
void SetEvent (TRestEvent *event)
 
virtual void SetGeometry (TGeoManager *geo)
 
void SetGeomScale (Double_t scale)
 

Protected Attributes

TCanvas * fCanvasXY
 
TCanvas * fCanvasXZYZ
 
TH2Poly * fHistoXY
 
TH2D * fHistoXZ
 
TH2D * fHistoYZ
 
TRestDetectorReadoutfReadout
 
TRestDetectorSignalEventfSignalEvent
 
bool isFirstevent
 
double xmax
 
double xmin
 
double ymax
 
double ymin
 
double zmax
 
double zmin
 
- Protected Attributes inherited from TRestEventViewer
TCanvas * fCanvas = nullptr
 
TRestEventfEvent = nullptr
 
TGeoManager * fGeometry = nullptr
 
Double_t fGeomScale = 0.1
 
TPad * fPad = nullptr
 

Additional Inherited Members

virtual void Initialize ()
 

Constructor & Destructor Documentation

◆ ~TRestDetectorReadoutEventViewer()

TRestDetectorReadoutEventViewer::~TRestDetectorReadoutEventViewer ( )
override

Definition at line 27 of file TRestDetectorReadoutEventViewer.cxx.

Member Function Documentation

◆ AddEvent()

void TRestDetectorReadoutEventViewer::AddEvent ( TRestEvent ev)
overridevirtual

Reimplemented from TRestEventViewer.

Definition at line 55 of file TRestDetectorReadoutEventViewer.cxx.

◆ DrawReadoutPulses()

void TRestDetectorReadoutEventViewer::DrawReadoutPulses ( )

Definition at line 89 of file TRestDetectorReadoutEventViewer.cxx.

◆ GetChannel()

TRestDetectorReadoutChannel * TRestDetectorReadoutEventViewer::GetChannel ( int  readoutChannel)

Definition at line 180 of file TRestDetectorReadoutEventViewer.cxx.

◆ GetModule()

TRestDetectorReadoutModule * TRestDetectorReadoutEventViewer::GetModule ( int  readoutChannel)

Definition at line 191 of file TRestDetectorReadoutEventViewer.cxx.

◆ Initialize()

void TRestDetectorReadoutEventViewer::Initialize ( )
overridevirtual

Reimplemented from TRestEventViewer.

Definition at line 29 of file TRestDetectorReadoutEventViewer.cxx.

◆ SetReadout()

void TRestDetectorReadoutEventViewer::SetReadout ( TRestDetectorReadout readout)

Definition at line 43 of file TRestDetectorReadoutEventViewer.cxx.

Field Documentation

◆ fCanvasXY

TCanvas* TRestDetectorReadoutEventViewer::fCanvasXY
protected

Definition at line 28 of file TRestDetectorReadoutEventViewer.h.

◆ fCanvasXZYZ

TCanvas* TRestDetectorReadoutEventViewer::fCanvasXZYZ
protected

Definition at line 29 of file TRestDetectorReadoutEventViewer.h.

◆ fHistoXY

TH2Poly* TRestDetectorReadoutEventViewer::fHistoXY
protected

Definition at line 35 of file TRestDetectorReadoutEventViewer.h.

◆ fHistoXZ

TH2D* TRestDetectorReadoutEventViewer::fHistoXZ
protected

Definition at line 36 of file TRestDetectorReadoutEventViewer.h.

◆ fHistoYZ

TH2D* TRestDetectorReadoutEventViewer::fHistoYZ
protected

Definition at line 37 of file TRestDetectorReadoutEventViewer.h.

◆ fReadout

TRestDetectorReadout* TRestDetectorReadoutEventViewer::fReadout
protected

Definition at line 31 of file TRestDetectorReadoutEventViewer.h.

◆ fSignalEvent

TRestDetectorSignalEvent* TRestDetectorReadoutEventViewer::fSignalEvent
protected

Definition at line 33 of file TRestDetectorReadoutEventViewer.h.

◆ isFirstevent

bool TRestDetectorReadoutEventViewer::isFirstevent
protected

Definition at line 39 of file TRestDetectorReadoutEventViewer.h.

◆ xmax

double TRestDetectorReadoutEventViewer::xmax
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.

◆ xmin

double TRestDetectorReadoutEventViewer::xmin
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.

◆ ymax

double TRestDetectorReadoutEventViewer::ymax
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.

◆ ymin

double TRestDetectorReadoutEventViewer::ymin
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.

◆ zmax

double TRestDetectorReadoutEventViewer::zmax
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.

◆ zmin

double TRestDetectorReadoutEventViewer::zmin
protected

Definition at line 41 of file TRestDetectorReadoutEventViewer.h.


The documentation for this class was generated from the following files: