99 #include "TRestRawSignalChannelActivityProcess.h"
120 SetSectionName(this->ClassName());
121 SetLibraryVersion(LIBRARY_VERSION);
123 fSignalEvent =
nullptr;
137 fDaqChannelsHisto =
new TH1D(
"daqChannelActivityRaw",
"daqChannelActivityRaw", fDaqChannels,
138 fDaqStartChannel, fDaqEndChannel);
150 for (
int s = 0; s < fSignalEvent->GetNumberOfSignals(); s++) {
156 for (
int s = 0; s < fSignalEvent->GetNumberOfSignals(); s++) {
159 Int_t daqChannel = fSignalEvent->GetSignal(s)->
GetID();
160 fDaqChannelsHisto->Fill(daqChannel);
165 fAnalysisTree->PrintObservables();
177 fDaqChannelsHisto->Write();
A base class for any REST event.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
void InitProcess() override
Process initialization. The ROOT TH1 histograms are created here using the limits defined in the proc...
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.
An event container for time rawdata signals with fixed length.
It defines a Short_t array with a physical parameter that evolves in time using a fixed time bin.
Int_t GetID() const
Returns the value of signal ID.
Double_t GetMaxValue()
Returns the maximum value found in the data points. It includes baseline correction.
@ REST_Debug
+show the defined debug messages