23#ifndef RestCore_TRestRawFeminosRootToSignalProcess
24#define RestCore_TRestRawFeminosRootToSignalProcess
26#include <TRestEventProcess.h>
28#include "TRestRawSignalEvent.h"
29#include "TRestRawToSignalProcess.h"
39 Long64_t fInputTreeEntry = 0;
41 TFile* fInputFile =
nullptr;
42 TTree* fInputEventTree =
nullptr;
43 TTree* fInputRunTree =
nullptr;
45 ULong64_t fInputEventTreeTimestamp = 0;
46 std::vector<unsigned short>* fInputEventTreeSignalIds =
nullptr;
47 std::vector<unsigned short>* fInputEventTreeSignalValues =
nullptr;
48 ULong64_t fStartTimestamp = -1;
49 ULong64_t fEndTimestamp = 0;
50 Bool_t fUseFeminosDaqRunInfo =
true;
61 const char* GetProcessName()
const override {
return "FeminosRootToSignal"; }
66 std::string useFemDaqRunInfoStr = fUseFeminosDaqRunInfo ?
"true" :
"false";
67 RESTMetadata <<
"Use feminos-daq run information: " << useFemDaqRunInfoStr <<
RESTendl;
A base class for any REST event process.
void BeginPrintProcess()
[name, cut range]
A base class for any REST event.
void InitProcess() override
To be executed at the beginning of the run (outside event loop)
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
void EndProcess() override
To be executed at the end of the run (outside event loop)
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void Initialize() override
Making default settings.
An event container for time rawdata signals with fixed length.