CMS 3D CMS Logo

SimRunInterface.cc
Go to the documentation of this file.
9 
10 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
11 
13  : m_runManagerMT(runm), m_runManagerMTWorker(nullptr), m_SimTrackManager(nullptr), m_isMaster(master) {}
14 
16  : m_runManagerMT(nullptr), m_runManagerMTWorker(runm), m_SimTrackManager(nullptr), m_isMaster(master) {
19  }
20 }
21 
23 
25  if (m_runManagerMT) {
26  m_runManagerMT->Connect(runAction);
27  } else if (m_runManagerMTWorker) {
28  m_runManagerMTWorker->Connect(runAction);
29  }
30 }
31 
34  m_runManagerMTWorker->Connect(eventAction);
35  }
36 }
37 
40  m_runManagerMTWorker->Connect(trackAction);
41  }
42 }
43 
46  m_runManagerMTWorker->Connect(stepAction);
47  }
48 }
49 
51 
55  }
56 }
57 
58 void SimRunInterface::abortRun(bool softAbort) {
60  m_runManagerMTWorker->abortRun(softAbort);
61  }
62 }
63 
65  TmpSimEvent* ptr = nullptr;
68  }
69  return ptr;
70 }
71 
72 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Connect(RunAction *)
void setRunManagerMTWorker(RunManagerMTWorker *run)
RunManagerMTWorker * m_runManagerMTWorker
SimTrackManager * m_SimTrackManager
void abortRun(bool softAbort)
SimTrackManager * GetSimTrackManager()
TmpSimEvent * simEvent()
void abortRun(bool softAbort=false)
RunManagerMT * m_runManagerMT
SimTrackManager * getSimTrackManager()
void Connect(RunAction *)
TmpSimEvent * simEvent()
SimRunInterface(RunManagerMT *run, bool master)
void Connect(RunAction *)