23#ifndef RestCore_TRestRawSignalChannelActivityProcess
24#define RestCore_TRestRawSignalChannelActivityProcess
27#include <TRestEventProcess.h>
29#include "TRestRawSignalEvent.h"
51 std::string fChannelType;
68 if (!fChannelType.empty()) {
69 RESTMetadata <<
"channelType : " << fChannelType <<
RESTendl;
80 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.
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.
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.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
TH1D * fDaqChannelsHisto
The daq channels histogram.
const char * GetProcessName() const override
Returns the name of this process.
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.
TRestRawSignalEvent * fInputEvent
A pointer to the specific TRestRawSignalEvent input.
An event container for time rawdata signals with fixed length.