5#ifndef REST_TRESTDETECTORLIGHTATTENUATIONPROCESS_H
6#define REST_TRESTDETECTORLIGHTATTENUATIONPROCESS_H
9#include <TRestEventProcess.h>
11#include "TRestDetectorHitsEvent.h"
12#include "TRestDetectorReadout.h"
30 void LoadDefaultConfig() {}
46 const char* GetProcessName()
const override {
return "lightAttenuation"; }
A process to include detector energy resolution in a TRestDetectorHitsEvent.
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)
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)
void Initialize() override
Making default settings.
Double_t fVetoEffectiveLightSpeed
RESTValue GetInputEvent() const override
Get pointer to input event. Must be implemented in the derived class.
TRestEvent * ProcessEvent(TRestEvent *inputEvent) override
Process one event.
Double_t fVetoLightAttenuationLength
A metadata class to generate/store a readout description.
A base class for any REST event process.
A base class for any REST event.
constexpr double lightSpeed
Speed of light in m/s.