![]() |
Project
|
#include "SimConfig/G4ScoringMerger.h"#include <fairmq/TransportFactory.h>#include <fairmq/Channel.h>#include <fairmq/Message.h>#include <cstdlib>#include <unistd.h>#include <ctime>#include <sstream>#include <iostream>#include <cstdio>#include <fcntl.h>#include <SimConfig/SimConfig.h>#include <sys/wait.h>#include <vector>#include <functional>#include <thread>#include <csignal>#include "TStopwatch.h"#include <fairlogger/Logger.h>#include "CommonUtils/ShmManager.h"#include "TFile.h"#include "TTree.h"#include <sys/types.h>#include "CommonUtils/NameConf.h"#include "SimulationDataFormat/MCEventHeader.h"#include "O2Version.h"#include <unordered_map>#include <filesystem>#include <atomic>#include "Framework/SourceInfoHeader.h"#include "Headers/Stack.h"#include "SimPublishChannelHelper.h"#include <CommonUtils/FileSystemUtils.h>#include <CCDB/BasicCCDBManager.h>Go to the source code of this file.
Functions | |
| std::string | getServerLogName () |
| std::string | getWorkerLogName () |
| std::string | getMergerLogName () |
| void | remove_tmp_files () |
| void | cleanup () |
| int | checkresult () |
| std::string | getControlAddress () |
| std::string | getInternalControlAddress () |
| bool | isBusy () |
| void | launchControlThread () |
| void | launchWorkerListenerThread () |
| void | launchThreadMonitoringEvents (int pipefd, std::string text, std::vector< int > &eventcontainer, std::function< bool(std::vector< int > const &)> callback=[](std::vector< int > const &) { return true;}) |
| void | launchShutdownThread () |
| void | empty (int) |
| void | sighandler (int sig) |
| std::vector< char * > | checkArgs (int argc, char *argv[]) |
| int | main (int argc, char *argv[]) |
Variables | |
| std::vector< int > | gChildProcesses |
| std::vector< int > | gDistributedEvents |
| std::vector< int > | gFinishedEvents |
| int | gAskedEvents |
| std::atomic< bool > | gPrimServerIsInitialized = false |
Definition at line 395 of file o2sim_parallel.cxx.
| int checkresult | ( | ) |
Definition at line 147 of file o2sim_parallel.cxx.
| void cleanup | ( | ) |
Definition at line 93 of file o2sim_parallel.cxx.
| void empty | ( | int | ) |
Definition at line 365 of file o2sim_parallel.cxx.
| std::string getControlAddress | ( | ) |
Definition at line 187 of file o2sim_parallel.cxx.
| std::string getInternalControlAddress | ( | ) |
Definition at line 193 of file o2sim_parallel.cxx.
| std::string getMergerLogName | ( | ) |
Definition at line 68 of file o2sim_parallel.cxx.
| std::string getServerLogName | ( | ) |
Definition at line 52 of file o2sim_parallel.cxx.
| std::string getWorkerLogName | ( | ) |
Definition at line 60 of file o2sim_parallel.cxx.
| bool isBusy | ( | ) |
Definition at line 206 of file o2sim_parallel.cxx.
| void launchControlThread | ( | ) |
Definition at line 216 of file o2sim_parallel.cxx.
| void launchShutdownThread | ( | ) |
Definition at line 339 of file o2sim_parallel.cxx.
| void launchThreadMonitoringEvents | ( | int | pipefd, |
| std::string | text, | ||
| std::vector< int > & | eventcontainer, | ||
| std::function< bool(std::vector< int > const &)> | callback = [](std::vector<int> const&) { return true; } |
||
| ) |
Definition at line 309 of file o2sim_parallel.cxx.
| void launchWorkerListenerThread | ( | ) |
Definition at line 282 of file o2sim_parallel.cxx.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 436 of file o2sim_parallel.cxx.
| void remove_tmp_files | ( | ) |
Definition at line 76 of file o2sim_parallel.cxx.
| void sighandler | ( | int | sig | ) |
Definition at line 368 of file o2sim_parallel.cxx.
| int gAskedEvents |
Definition at line 184 of file o2sim_parallel.cxx.
| std::vector<int> gChildProcesses |
Definition at line 179 of file o2sim_parallel.cxx.
| std::vector<int> gDistributedEvents |
Definition at line 181 of file o2sim_parallel.cxx.
| std::vector<int> gFinishedEvents |
Definition at line 183 of file o2sim_parallel.cxx.
| std::atomic<bool> gPrimServerIsInitialized = false |
Definition at line 185 of file o2sim_parallel.cxx.