output file

This commit is contained in:
Jan Kieseler
2023-10-13 09:09:02 +02:00
parent 69cc376c5f
commit 381aa6ea91
9 changed files with 42 additions and 9 deletions
+3 -1
View File
@@ -19,6 +19,7 @@
#include "Randomize.hh"
class G4System{
friend class GeometryDescriptor;
public:
G4System(bool Gui=false):gui(Gui){};
@@ -37,7 +38,8 @@ void init(GeometryDescriptor &cw);
void run_visualize(const std::string& partSpecies, double minEnergy_GeV, double maxEnergy_GeV);
//runs the whole gui if available
void run_gui();
void run_batch(int nEvents, const std::string& partSpecies, double minEnergy_GeV, double maxEnergy_GeV);
void run_batch(int nEvents, const std::string& partSpecies, double minEnergy_GeV,
double maxEnergy_GeV, std::string filename="_1234567890_Hits.root");
void applyUICommand(const std::string& command){
check();