23#ifndef RESTProc_TRestRawBaseLineCorrectionProcess
24#define RESTProc_TRestRawBaseLineCorrectionProcess
26#include "TRestEventProcess.h"
27#include "TRestRawReadoutMetadata.h"
28#include "TRestRawSignalEvent.h"
48 std::set<std::string> fChannelTypes = {};
A base class for any REST event process.
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.
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.
const char * GetProcessName() const override
Returns the name of this process.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
An event container for time rawdata signals with fixed length.