23 #ifndef RestCore_TRestRawSignalFittingProcess
24 #define RestCore_TRestRawSignalFittingProcess
26 #include <TRestRawSignalEvent.h>
30 #include "TRestEventProcess.h"
43 Double_t fShaping = 0;
44 Double_t fStartPosition = 0;
45 Double_t fBaseline = 0;
46 Double_t fAmplitude = 0;
55 inline Double_t GetShaping()
const {
return fShaping; }
56 inline Double_t GetStartPosition()
const {
return fStartPosition; }
57 inline Double_t GetBaseline()
const {
return fBaseline; }
58 inline Double_t GetAmplitude()
const {
return fAmplitude; }
64 void LoadConfig(
const std::string& configFilename,
const std::string& name =
"");
72 const char* GetProcessName()
const override {
return "rawSignalFitting"; }
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.
void InitProcess() override
Process initialization.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
void LoadConfig(const std::string &configFilename, const std::string &name="")
Function to load the configuration from an external configuration file.
void EndProcess() override
Function to include required actions after all events have been processed. This method will write the...
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
TRestRawSignalEvent * fRawSignalEvent
A pointer to the specific TRestRawSignalEvent input.
~TRestRawSignalFittingProcess()
Default destructor.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void Initialize() override
Function to initialize input/output event members and define the section name.
TRestRawSignalFittingProcess()
Default constructor.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
The main processing event function.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.