23 #ifndef RestCore_TRestAxionTransmissionProcess
24 #define RestCore_TRestAxionTransmissionProcess
26 #include "TRestAxionEvent.h"
27 #include "TRestAxionEventProcess.h"
28 #include "TRestAxionXrayWindow.h"
51 void LoadConfig(std::string cfgFilename, std::string name =
"");
57 RESTMetadata <<
"X-ray window names: " <<
RESTendl;
62 RESTMetadata <<
"Printing window definitions found inside TRestAxionTransmissionProcess" <<
RESTendl;
A base class for any axion event process. Defines position, rotation and component displacement.
void BeginPrintProcess()
Pre-defined printer, can be used at the beginning in the implementation of PrintMetadata()
void EndPrintProcess()
Adds the footer for PrintMetadata.
A process to include photon transmission using a combination of TRestAxionXrayWindow definitions.
TRestEvent * ProcessEvent(TRestEvent *evInput) override
The main processing event function.
std::vector< TRestAxionXrayWindow * > fXrayWindows
A list with pointers to the windows metadata descriptions.
const char * GetProcessName() const override
Returns the name of this process.
void InitProcess() override
Process initialization. Data members that require initialization just before start processing should ...
TRestAxionTransmissionProcess()
Default constructor.
std::vector< std::string > fWindowNames
The names of the metadata TRestAxionXrayWindow that will be combined for transmission.
~TRestAxionTransmissionProcess()
Default destructor.
void InitFromConfigFile() override
Function reading input parameters from the RML TRestAxionTransmissionProcess metadata section.
void LoadDefaultConfig()
Function to load the default config in absence of RML input.
void PrintMetadata() override
It prints out the process parameters stored in the metadata structure.
void Initialize() override
Function to initialize input/output event members and define the section name.
void LoadConfig(std::string cfgFilename, std::string name="")
Function to load the configuration from an external configuration file.
A base class for any REST event.