40#include "TRestAxionOpticsProcess.h"
76 SetName(this->ClassName());
77 SetTitle(
"Default config");
109 RESTDebug <<
"Entering ... TRestAxionGeneratorProcess::InitProcess" <<
RESTendl;
116 RESTError <<
"TRestAxionOptics::InitProcess. No sucess instantiating optics." <<
RESTendl;
131 Double_t efficiency =
fOptics->PropagatePhoton(inPos, inDir, energy);
135 RESTDebug <<
"Optics efficiency: " << efficiency <<
RESTendl;
TRestAxionEvent * fAxionEvent
A pointer to the specific TRestAxionEvent.
An event data class to define the parameters related to an axion particle.
A process to introduce the response from optics in the axion signal generation chain.
void Initialize() override
Function to initialize input/output event members and define the section name.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
TRestEvent * ProcessEvent(TRestEvent *evInput) override
The main processing event function.
TRestAxionOpticsProcess()
Default constructor.
void InitProcess() override
Process initialization. Data members that require initialization just before start processing should ...
TRestAxionOptics * fOptics
A pointer to the optics description defined inside TRestRun.
void LoadConfig(std::string cfgFilename, std::string name="")
Function to load the configuration from an external configuration file.
~TRestAxionOpticsProcess()
Default destructor.
T * GetMetadata()
Get a metadata object from the host TRestRun.
void SetObservableValue(const std::string &name, const T &value)
Set observable value for AnalysisTree.
A base class for any REST event.
@ REST_Extreme
show everything
@ REST_Debug
+show the defined debug messages
Int_t GetChar(std::string hint="Press a KEY to continue ...")
Helps to pause the program, printing a message before pausing.