CepGen 1.2.5
Central exclusive processes event generator
|
All useful information about a generation run. More...
#include <CepGenAddOns/ROOTWrapper/ROOTTreeInfo.h>
Public Member Functions | |
CepGenRun () | |
void | clear () |
Reinitialise the run tree. | |
void | create () |
Populate the run tree. | |
TTree * | tree () |
Retrieve the ROOT tree. | |
void | fill () |
Fill the run tree. | |
void | attach (TFile *file, const std::string &run_tree=TREE_NAME) |
Attach the run tree reader to a given tree Attach the run tree reader to a given file. | |
void | attach (const std::string &filename, const std::string &run_tree=TREE_NAME) |
Static Public Member Functions | |
static CepGenRun | load (TFile *, const std::string &run_tree=TREE_NAME) |
static CepGenRun | load (const std::string &, const std::string &run_tree=TREE_NAME) |
Public Attributes | |
double | sqrt_s {-1.} |
Centre of mass energy for beam particles. | |
double | xsect {-1.} |
Process cross section, in pb. | |
double | errxsect {-1.} |
Uncertainty on process cross section, in pb. | |
unsigned int | num_events {0} |
Number of events generated in run. | |
unsigned int | litigious_events {0} |
Number of litigious events in run. | |
std::string | process_name |
Unique name of the process generated in this run. | |
std::string | process_parameters |
Serialised process parameters. | |
Static Public Attributes | |
static constexpr const char * | TREE_NAME = "run" |
Output tree name. | |
Definition at line 29 of file ROOTTreeInfo.h.
|
explicit |
Definition at line 23 of file ROOTTreeInfo.cpp.
void attach | ( | const std::string & | filename, |
const std::string & | run_tree = TREE_NAME |
||
) |
Definition at line 51 of file ROOTTreeInfo.h.
void attach | ( | TFile * | file, |
const std::string & | run_tree = TREE_NAME |
||
) |
Definition at line 64 of file ROOTTreeInfo.cpp.
void clear | ( | ) |
Definition at line 37 of file ROOTTreeInfo.cpp.
void create | ( | ) |
Definition at line 45 of file ROOTTreeInfo.cpp.
void fill | ( | ) |
Definition at line 58 of file ROOTTreeInfo.cpp.
Definition at line 31 of file ROOTTreeInfo.cpp.
Definition at line 25 of file ROOTTreeInfo.cpp.
TTree * tree | ( | ) |
Definition at line 47 of file ROOTTreeInfo.h.
double errxsect {-1.} |
Definition at line 38 of file ROOTTreeInfo.h.
unsigned int litigious_events {0} |
Definition at line 40 of file ROOTTreeInfo.h.
unsigned int num_events {0} |
Definition at line 39 of file ROOTTreeInfo.h.
std::string process_name |
Definition at line 41 of file ROOTTreeInfo.h.
std::string process_parameters |
Definition at line 42 of file ROOTTreeInfo.h.
double sqrt_s {-1.} |
Definition at line 36 of file ROOTTreeInfo.h.
|
staticconstexpr |
Definition at line 31 of file ROOTTreeInfo.h.
double xsect {-1.} |
Definition at line 37 of file ROOTTreeInfo.h.