23#ifndef RestCore_TRestDetectorTriggerAnalysisProcess
24#define RestCore_TRestDetectorTriggerAnalysisProcess
26#include <TRestEventProcess.h>
28#include "TRestDetectorSignalEvent.h"
63 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
A process to generate integral observables for signal ADC windows found above the defined energy thre...
RESTValue GetOutputEvent() const override
Returns a pointer to the input signal event.
Int_t fADCLength
It defines the number of bins used to define the sampling depth.
TRestDetectorSignalEvent * fSignalEvent
A pointer to the specific TRestSignalEvent input.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
TRestDetectorTriggerAnalysisProcess()
Default constructor.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.
RESTValue GetInputEvent() const override
Returns a pointer to the input signal event.
const char * GetProcessName() const override
Returns a std::string with the process name.
void PrintMetadata() override
Prints on screen the metadata information registered by this process.
~TRestDetectorTriggerAnalysisProcess()
Default destructor.
std::vector< double > fThreshold
A std::vector to temporary the extracted threshold value from the corresponding observable.
void Initialize() override
Function to initialize input/output event members and define the section name.
Double_t fSampling
It defines the sampling time in us to treat the signal as if it would be a rawsignal.
void InitProcess() override
Process initialization. Observable names are interpreted here.
std::vector< std::string > fIntegralObservables
A std::vector to temporary store the name of threshold observables.
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.