make scene able to run parallel simulations
This commit is contained in:
@@ -15,8 +15,11 @@ public:
|
||||
/// @param emitter the primary generator to use (owned by caller)
|
||||
/// @param output pointer to the results vector (owned by caller)
|
||||
ActionInitialization(EmitterPrimary *emitter = nullptr,
|
||||
Vector<GeantEvent> *output = nullptr);
|
||||
Vector<GeantEvent> *output = nullptr,
|
||||
int verbosity = 0);
|
||||
~ActionInitialization();
|
||||
|
||||
void SetVerbosity(int level) { m_Verbosity = level; }
|
||||
|
||||
// Metodo chiamato solo dal thread principale (Master)
|
||||
virtual void BuildForMaster() const;
|
||||
@@ -27,6 +30,7 @@ public:
|
||||
private:
|
||||
EmitterPrimary *m_Emitter;
|
||||
Vector<GeantEvent> *m_Output;
|
||||
int m_Verbosity = 0;
|
||||
};
|
||||
|
||||
} // namespace Geant
|
||||
|
||||
Reference in New Issue
Block a user