23#ifndef RestCore_TRestRealTimeDrawingProcess
24#define RestCore_TRestRealTimeDrawingProcess
26#include "TRestAnalysisPlot.h"
27#include "TRestEventProcess.h"
42 static std::vector<TRestAnalysisPlot*>
fPlots;
A base class for any REST event process.
A base class for any REST event.
static Long64_t fLastDrawnEntry
Last drawn entry of analysis tree.
const char * GetProcessName() const override
Returns the name of this process.
static std::vector< TRestAnalysisPlot * > fPlots
TRestAnalysisPlot object called for drawing.
static std::map< TRestRealTimeDrawingProcess *, bool > fPauseResponse
Pause response flag from other threads when recieving pause signal.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestEvent * fEvent
The event pointer is not used in this process.
static std::vector< std::string > fProcessesToDraw
TRestAnalysisPlot object called for drawing.
void EndProcess() override
Function to use when all events have been processed.
void DrawWithNotification()
Returns a new instance of this class.
Int_t fThreadWaitTimeoutMs
How many events passed when it starts next drawing.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
void InitProcess() override
Function to use in initialization of process members before starting to process the event.
TRestRealTimeDrawingProcess()
Default constructor.
void Initialize() override
Function to initialize input/output event members and define the section name and library version.
int fDrawInterval
How many events passed when it starts next drawing.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
static bool fPauseInvoke
Pause signal send for other threads when start drawing.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
~TRestRealTimeDrawingProcess()
Default destructor.