23 #ifndef RestCore_TRestRawSignalRemoveChannelsProcess
24 #define RestCore_TRestRawSignalRemoveChannelsProcess
26 #include <TRestRawSignalEvent.h>
28 #include "TRestEventProcess.h"
48 std::vector<Int_t> fChannelIds;
50 TVector2 fSignalRange = TVector2(-1, -1);
58 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
64 for (
unsigned int n = 0; n < fChannelIds.size(); n++)
65 RESTMetadata <<
"Channel id to remove : " << fChannelIds[n] <<
RESTendl;
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
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.
const char * GetProcessName() const override
Returns the name of this process.
void InitFromConfigFile() override
Function reading input parameters from the RML TRestDetectorSignalToRawSignalProcess metadata section...
TRestRawSignalEvent * fInputSignalEvent
A pointer to the specific TRestDetectorSignalEvent input.
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.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
TRestEventProcess * Maker()
Returns a new instance of this class.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
~TRestRawSignalRemoveChannelsProcess()
Default destructor.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
TRestRawSignalEvent * fOutputSignalEvent
A pointer to the specific TRestRawSignalEvent input.
TRestRawSignalRemoveChannelsProcess()
Default constructor.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.