23 #ifndef RestCore_TRestRawSignalChannelActivityProcess
24 #define RestCore_TRestRawSignalChannelActivityProcess
27 #include <TRestRawSignalEvent.h>
29 #include "TRestEventProcess.h"
82 const char*
GetProcessName()
const override {
return "rawSignalChannelActivity"; }
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
Int_t fDaqChannels
The number of bins at the daq channels histogram.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
TRestRawSignalEvent * fSignalEvent
A pointer to the specific TRestRawSignalEvent input.
Int_t fDaqStartChannel
The first channel at the daq channels histogram.
void InitProcess() override
Process initialization. The ROOT TH1 histograms are created here using the limits defined in the proc...
Int_t fDaqEndChannel
The last channel at the daq channels histogram.
TRestRawSignalChannelActivityProcess()
Default constructor.
~TRestRawSignalChannelActivityProcess()
Default destructor.
const char * GetProcessName() const override
Returns the name of this process.
void EndProcess() override
Function to include required actions after all events have been processed. In this process it will ta...
void Initialize() override
Function to initialize input/output event members and define the section name.
Double_t fHighThreshold
The value of the higher signal threshold to add it to the histogram.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
TH1D * fDaqChannelsHisto
The daq channels histogram.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
Double_t fLowThreshold
The value of the lower signal threshold to add it to the histogram.
An event container for time rawdata signals with fixed length.