|
gdata
|
Example demonstrating run-level integration of event data. More...
#include "run/gRunDataCollection.h"#include "event/gEventDataCollection.h"#include "glogger.h"#include "gthreads.h"#include <atomic>#include <cstdlib>#include <map>#include <mutex>#include <sstream>#include <string>#include <vector>
Go to the source code of this file.
| using | PerDetectorDoubles = std::map<std::string, std::map<std::string, double>> |
| Per-detector map of floating-point reference sums used by the example. | |
| using | PerDetectorInts = std::map<std::string, std::map<std::string, long long>> |
| Per-detector map of integer-like reference sums used by the example. | |
| int | main (int argc, char *argv[]) |
| Entry point for the run-integration example. | |
Summary:
Link to the example overview:
Definition in file run_example.cc.
| using PerDetectorDoubles = std::map<std::string, std::map<std::string, double>> |
Outer key:
Inner key:
Value:
Definition at line 118 of file run_example.cc.
| using PerDetectorInts = std::map<std::string, std::map<std::string, long long>> |
Integer observables are accumulated into long long values so the example can compare totals without depending on narrower integer types.
Definition at line 127 of file run_example.cc.
| int main | ( | int | argc, |
| char * | argv[] ) |
The program:
EXIT_SUCCESS on normal completion. Definition at line 400 of file run_example.cc.