19 _rngStateChain = rngStateChain;
20 if (_rngStateChain->SetBranchAddress(
"rngState", &_rngState) == 0) {
28 if (entry != _rngStateChain->GetEntries()) {
29 _rngStateChain->GetEntry(entry);
36 TKey *key = _rngStateChain->GetFile()->GetKey(
"rngName");
38 _rngName = *((std::string *)(key->ReadObjectAny(TClass::GetClass(
"std::string"))));
GGSTRngStateReader()
Constructor.
bool SetChain(TChain *rngStateChain)
Sets the chain.
const std::string GetName()
Gets the name of the random number generator for the current event.
void GetEntry(Long64_t entry)