40#include "TRestAxionOpticsProcess.h"
76 SetName(this->ClassName());
77 SetTitle(
"Default config");
109 RESTDebug <<
"Entering ... TRestAxionGeneratorProcess::InitProcess" <<
RESTendl;
111 fOptics = GetMetadata<TRestAxionOptics>();
116 RESTError <<
"TRestAxionOptics::InitProcess. No sucess instantiating optics." <<
RESTendl;
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.
TVector3 GetPosition()
It keeps track of efficiency introduced at different helioscope components.
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.
TVector3 GetLastGoodPosition()
It returns the last valid particle position known in the particle tracking.
Double_t PropagatePhoton(const TVector3 &pos, const TVector3 &dir, Double_t energy)
Propagating photon.
TVector3 GetLastGoodDirection()
It returns the last valid particle direction known in the particle tracking.
void PrintMetadata()
Prints on screen the information about the metadata members of TRestAxionOptics.
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.