GGS(GenericGEANT4Simulation)Software
2.99.0
|
Class for reading output of GGSRngStateAction. More...
#include <GGSTRngStateReader.h>
Public Member Functions | |
GGSTRngStateReader () | |
Constructor. | |
bool | SetChain (TChain *rngStateChain) |
Sets the chain. More... | |
void | GetEntry (Long64_t entry) |
const std::string | GetState () |
Gets the state of the random number generator for the current event. More... | |
const std::string | GetName () |
Gets the name of the random number generator for the current event. More... | |
![]() | |
virtual | ~GGSTChainReader () |
Destructor. | |
Class for reading output of GGSRngStateAction.
Definition at line 17 of file GGSTRngStateReader.h.
|
virtual |
@ brief Reads the specified entry from the random engine state branch.
entry | The desired entry. |
Implements GGSTChainReader.
Definition at line 27 of file GGSTRngStateReader.cpp.
const std::string GGSTRngStateReader::GetName | ( | ) |
Gets the name of the random number generator for the current event.
Definition at line 33 of file GGSTRngStateReader.cpp.
|
inline |
Gets the state of the random number generator for the current event.
Definition at line 41 of file GGSTRngStateReader.h.
|
virtual |
Sets the chain.
This method sets the random engine state chain, from which the informations will be read.
rngStateChain | The chain containing the random engine state branch. |
Implements GGSTChainReader.
Definition at line 17 of file GGSTRngStateReader.cpp.