23#ifndef RestCore_TRestRawSignalViewerProcess
24#define RestCore_TRestRawSignalViewerProcess
27#include <TRestEventProcess.h>
28#include <TRestRawSignalEvent.h>
36 std::vector<TObject*> fDrawingObjects;
37 Double_t fDrawRefresh;
39 TVector2 fBaseLineRange;
44 TPad* DrawObservables();
63 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
68 std::cout <<
"Refresh value : " << fDrawRefresh << std::endl;
73 const char* GetProcessName()
const override {
return "rawSignalViewer"; }
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
An event container for time rawdata signals with fixed length.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.
TPad * DrawSignal(Int_t signal)
A helper method to draw signals in a pad.
TRestRawSignalViewerProcess()
Default constructor.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
void InitProcess() override
Process initialization. It creates the canvas available in TRestEventProcess.
void EndProcess() override
Function to include required actions after all events have been processed.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize() override
Function to initialize input/output event members and define the section name.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
~TRestRawSignalViewerProcess()
Default destructor.
void InitFromConfigFile() override
Function to read input parameters from the RML TRestRawSignalViewerProcess metadata section.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.