12#ifndef RestCore_TRestDetectorSignalViewerProcess
13#define RestCore_TRestDetectorSignalViewerProcess
16#include <TRestEventProcess.h>
18#include "TRestDetectorGas.h"
19#include "TRestDetectorHitsEvent.h"
20#include "TRestDetectorReadout.h"
21#include "TRestDetectorSignalEvent.h"
27 std::vector<TObject*> fDrawingObjects;
28 Double_t fDrawRefresh;
30 TVector2 fBaseLineRange;
39 void LoadDefaultConfig();
52 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
57 std::cout <<
"Refresh value : " << fDrawRefresh << std::endl;
62 TPad* DrawSignal(Int_t signal);
64 const char* GetProcessName()
const override {
return "rawSignalViewer"; }
void Initialize() override
Making default settings.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void EndProcess() override
To be executed at the end of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.