23 #ifndef RESTProc_TRestRawBaseLineCorrectionProcess
24 #define RESTProc_TRestRawBaseLineCorrectionProcess
26 #include "TRestEventProcess.h"
27 #include "TRestRawSignalEvent.h"
60 RESTMetadata <<
"Baseline correction applied to signals with IDs in range (" <<
fSignalsRange.X()
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestEvent * ProcessEvent(TRestEvent *eventInput) override
Process one event.
const char * GetProcessName() const override
Returns the name of this process.
void EndProcess() override
To be executed at the end of the run (outside event loop)
TRestEventProcess * Maker()
Returns a new instance of this class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
TVector2 fSignalsRange
It defines the signals id range where analysis is applied.
void Initialize() override
Making default settings.
Int_t fSmoothingWindow
Time window width in bins for the moving average filter for baseline correction.
Bool_t fRangeEnabled
Just a flag to quickly determine if we have to apply the range filter.
An event container for time rawdata signals with fixed length.