12#ifndef RestCore_TRestDetectorDaqChannelSwitchingProcess
13#define RestCore_TRestDetectorDaqChannelSwitchingProcess
16#include <TRestDetectorGas.h>
17#include <TRestDetectorHitsEvent.h>
18#include <TRestDetectorReadout.h>
19#include <TRestDetectorSignalEvent.h>
21#include "TRestEventProcess.h"
28 std::map<int, int> fFirstDaqChannelDef;
29 bool fIgnoreUndefinedModules;
46 RESTMetadata <<
"module's daq channel re-definition: " <<
RESTendl;
47 auto iter = fFirstDaqChannelDef.begin();
48 while (iter != fFirstDaqChannelDef.end()) {
49 RESTMetadata <<
"module id: " << iter->first <<
" first daq channel: " << iter->second
void Initialize() override
Making default settings.
void EndProcess() override
To be executed at the end of the run (outside event loop)
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void InitFromConfigFile() override
To make settings from rml file. This method must be implemented in the derived class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
A metadata class to generate/store a readout description.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.