9#ifndef RESTProc_TRestHaloTrimProcess
10#define RESTProc_TRestHaloTrimProcess
12#include "TRestEventProcess.h"
13#include "TRestHaloEvent.h"
32 const char* GetProcessName()
const override {
return "HaloTrim"; }
34 TRestEvent*
ProcessEvent(TRestEvent* eventInput)
override;
45 void SetTrimBins(Int_t n) {
fTrimBins = n; }
46 Int_t GetTrimBins()
const {
return fTrimBins; }
48 TRestHaloTrimProcess();
49 ~TRestHaloTrimProcess();
51 ClassDefOverride(TRestHaloTrimProcess, 1);
void BeginPrintProcess()
[name, cut range]
void EndPrintProcess()
Pre-defined printer, can be used at the ending in the implementation of PrintMetadata().
A base class for any REST event.
RESTValue GetOutputEvent() const override
Get pointer to output event. Must be implemented in the derived class.
void InitProcess() override
To be executed at the beginning of the run (outside event loop).
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
void PrintMetadata() override
Implemented it in the derived metadata class to print out specific metadata information.
void EndProcess() override
To be executed at the end of the run (outside event loop).
Int_t fTrimBins
pointer to input event
void Initialize() override
Making default settings.
TRestEvent * ProcessEvent(TRestEvent *eventInput) override
Process one event.