gdata
Loading...
Searching...
No Matches
gdata_event_example.cc File Reference

Example demonstrating event data collection in the GData library. More...

#include "event/gEventDataCollection.h"
#include "glogger.h"
Include dependency graph for gdata_event_example.cc:

Go to the source code of this file.

Data Structures

class  jthread_alias
 

Functions

auto run_simulation_in_threads (int nevents, int nthreads, const std::shared_ptr< GOptions > &gopt, const std::shared_ptr< GLogger > &log) -> std::vector< std::shared_ptr< GEventDataCollection > >
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 112 of file gdata_event_example.cc.

◆ run_simulation_in_threads()

auto run_simulation_in_threads ( int nevents,
int nthreads,
const std::shared_ptr< GOptions > & gopt,
const std::shared_ptr< GLogger > & log ) -> std::vector<std::shared_ptr<GEventDataCollection>>

Definition at line 53 of file gdata_event_example.cc.