23#ifndef RestCore_TRestRawSignalRemoveChannelsProcess
24#define RestCore_TRestRawSignalRemoveChannelsProcess
26#include <TRestEventProcess.h>
28#include "TRestRawReadoutMetadata.h"
29#include "TRestRawSignalEvent.h"
50 std::vector<Int_t> fChannelIds;
51 std::vector<std::string> fChannelTypes;
53 std::map<Int_t, std::string> fChannelTypesToRemove;
61 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
63 std::vector<std::string> GetChannelTypes()
const {
return fChannelTypes; }
64 std::vector<Int_t> GetChannelIds()
const {
return fChannelIds; }
A base class for any REST event process.
A base class for any REST event.
An event container for time rawdata signals with fixed length.
A process allowing to remove selected channels from a TRestRawSignalEvent.
void InitFromConfigFile() override
Function reading input parameters from the RML TRestDetectorSignalToRawSignalProcess metadata section...
TRestRawSignalEvent * fOutputEvent
A pointer to the specific TRestRawSignalEvent input.
TRestRawReadoutMetadata * fReadoutMetadata
A pointer to the readout metadata.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void Initialize() override
Function to initialize input/output event members and define the section name.
TRestEventProcess * Maker()
Returns a new instance of this class.
TRestRawSignalEvent * fInputEvent
A pointer to the specific TRestDetectorSignalEvent input.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
const char * GetProcessName() const override
Returns the name of this process.
~TRestRawSignalRemoveChannelsProcess()
Default destructor.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestRawSignalRemoveChannelsProcess()
Default constructor.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.