RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
runinfo.hpp File Reference

Run metadata helpers: store how a result file was produced inside the file. More...

#include "TROOT.h"
#include "TString.h"

Go to the source code of this file.

Namespaces

namespace  runinfo
 Run metadata helpers for the test programs.
 

Functions

UInt_t runinfo::SeedFromJob (Int_t jobIndex, Long64_t seed=-1)
 Seed of one job.
 
TString runinfo::GitSHA ()
 Git revision the binary was built from.
 
void runinfo::WriteCommon (UInt_t seed, Double_t dt, const char *integrator, Long64_t nevents, const char *inspectorCriteria)
 Write the parameters every run shares.
 
Write one key/value pair

Writes a TNamed(key, value) into the current directory (gDirectory) with the key key, overwriting an earlier entry of that name. Does nothing if there is no current directory. Call before closing the file.

void runinfo::Write (const char *key, const char *value)
 
void runinfo::Write (const char *key, Double_t value)
 
void runinfo::Write (const char *key, Long64_t value)
 

Variables

const UInt_t runinfo::kDefaultSeed = 65539
 Seed used when no seed is given on the command line (job index 0).
 

Detailed Description

Run metadata helpers: store how a result file was produced inside the file.

Definition in file runinfo.hpp.