GGS(GenericGEANT4Simulation)Software  2.7.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Public Member Functions
GGSTParameters Class Reference

Class for writing parameters into the output Root file. More...

#include <GGSTParameters.h>

Inheritance diagram for GGSTParameters:
Inheritance graph
[legend]
Collaboration diagram for GGSTParameters:
Collaboration graph
[legend]

Public Member Functions

 GGSTParameters ()
 Default constructor.
 
 GGSTParameters (GGSParameters &&params)
 Move constructor from base class. More...
 
- Public Member Functions inherited from GGSParameters
 GGSParameters ()
 Default constructor.
 
 GGSParameters (GGSParameters &&params)
 Move constructor.
 
template<typename T >
void SetParam (const std::string &name, T value)
 Sets a parameter. More...
 
template<class T >
GetParam (const std::string &name) const
 Gets a parameter. More...
 
bool AreSameParamsAs (const GGSParameters &params) const
 Compares two parameter objects. More...
 
GGSParametersoperator= (const GGSParameters &rhs)
 Assignment operator. More...
 
template<>
void SetParam (const std::string &name, int value)
 
template<>
void SetParam (const std::string &name, double value)
 
template<>
void SetParam (const std::string &name, bool value)
 
template<>
int GetParam (const std::string &name) const
 
template<>
double GetParam (const std::string &name) const
 
template<>
bool GetParam (const std::string &name) const
 

Detailed Description

Class for writing parameters into the output Root file.

Definition at line 15 of file GGSTParameters.h.

Constructor & Destructor Documentation

GGSTParameters::GGSTParameters ( GGSParameters &&  params)

Move constructor from base class.

Parameters
paramsThe parameters object to be moved.

Definition at line 14 of file GGSTParameters.cpp.

14 : GGSParameters{std::move(params)} {}
Class for storing parameters.
Definition: GGSParameters.h:29

The documentation for this class was generated from the following files: