diff --git a/Simple.cpp b/Simple.cpp index 13e3abb..0a1fbb0 100644 --- a/Simple.cpp +++ b/Simple.cpp @@ -1342,11 +1342,11 @@ QStringList Simple::CreateParticleSource(QString particle, QString sourceType, Q commands.append(QString("/gps/pos/shape %1").arg(sourceType) ); } -// else if((sourceType=="Sphere")) -// { -// commands.append("/gps/pos/type Surface"); -// commands.append(QString("/gps/pos/shape %1").arg(sourceType) ); -// } + // else if((sourceType=="Sphere")) + // { + // commands.append("/gps/pos/type Surface"); + // commands.append(QString("/gps/pos/shape %1").arg(sourceType) ); + // } else if ((sourceType=="Cube" )|| (sourceType =="Cylinder") || (sourceType=="Sphere")) { commands.append("/gps/pos/type Volume"); @@ -2397,3 +2397,108 @@ void Simple::on_switch_off_mag_fields_stateChanged(int arg1) o->setMagFieldOff(ui->switch_off_mag_fields->isChecked()); UpdateGeometry(); } + +void Simple::on_auto_search_g4variables_clicked() +{ + QMessageBox::information(this, tr("Warning"), + tr("For this process to work properly, all your geant4 data files must be inside a single folder, say G4DATA, which you will set in the next dialog box. The program will then automatically set the paths to the datasets.")); + + QString dir = QFileDialog::getExistingDirectory(this, "Select a directory inside which all your G4 datasets reside.."); + + QDirIterator dirIt(dir, QDirIterator::Subdirectories); + + QStringList dir_keys{"pixe/alpha/l/pwba/l3-24.dat","z72.a185","RoughESRGrease_LUTR.dat","pi0pi0.dat","ENSDFSTATE.dat","table_radius_hfb.dat","frldm.dat","ThermalScattering/Coherent/FS/al_metal.z","livermore/comp/ce-cs-47.dat","z65.a150","alpha/inel34"}; + QStringList g4_ds_env_var{"G4PIIDATA","G4RADIOACTIVEDATA","G4REALSURFACEDATA","G4SAIDXSDATA","G4ENSDFSTATEDATA","G4INCLDATA","G4ABLADATA","G4NEUTRONHPDATA","G4LEDATA","G4LEVELGAMMADATA","G4PARTICLEXSDATA"}; + // QStringList g4_ds_env_paths; + + + // we search for the keys in the folder and retrieve the folder name. This will ensure that this works even if the version of the dataset changes + while(dirIt.hasNext()){ + //qDebug()<SetEnvVar(g4_ds_env_var.at(0),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(0)).arg(folder)); + + } + + else if(folder.contains(dir_keys.at(1)) && folder.contains("RadioactiveDecay")){ + folder= folder.remove(dir_keys.at(1)); + dbManager->SetEnvVar(g4_ds_env_var.at(1),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(1)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(2))){ + folder= folder.remove(dir_keys.at(2)); + dbManager->SetEnvVar(g4_ds_env_var.at(2),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(2)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(3))){ + folder= folder.remove(dir_keys.at(3)); + dbManager->SetEnvVar(g4_ds_env_var.at(3),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(3)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(4))){ + folder= folder.remove(dir_keys.at(4)); + dbManager->SetEnvVar(g4_ds_env_var.at(4),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(4)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(5))){ + folder= folder.remove(dir_keys.at(5)); + dbManager->SetEnvVar(g4_ds_env_var.at(5),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(5)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(6))){ + folder= folder.remove(dir_keys.at(6)); + dbManager->SetEnvVar(g4_ds_env_var.at(6),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(6)).arg(folder)); + } + + else if(folder.contains(dir_keys.at(7))){ + folder= folder.remove(dir_keys.at(7)); + dbManager->SetEnvVar(g4_ds_env_var.at(7),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(7)).arg(folder)); + } + else if(folder.contains(dir_keys.at(8))){ + folder= folder.remove(dir_keys.at(8)); + dbManager->SetEnvVar(g4_ds_env_var.at(8),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(8)).arg(folder)); + } + else if(folder.contains(dir_keys.at(9)) && folder.contains("PhotonEvaporation")){ + folder= folder.remove(dir_keys.at(9)); + dbManager->SetEnvVar(g4_ds_env_var.at(9),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(9)).arg(folder)); + } + else if(folder.contains(dir_keys.at(10))){ + folder= folder.remove(dir_keys.at(10)); + dbManager->SetEnvVar(g4_ds_env_var.at(10),folder); + output(QString("Setting %1 to %2").arg(g4_ds_env_var.at(10)).arg(folder)); + } + + } + //refresh + ui->db_type->setCurrentIndex(1); + ui->db_type->setCurrentIndex(0); + + + // G4_ENV_VARIABLE FILE INSIDE THE FOLDER DATASET LOCATION + //0 G4PIIDATA g4data/G4PII.1.3/G4PII1.3/pixe/alpha/l/pwba/l3-24.dat /home/samuel/g4/g4-data/G4PII1.3 + //1 G4RADIOACTIVEDATA g4data/G4RadioactiveDecay.5.3/RadioactiveDecay5.3/z72.a185 /home/samuel/g4/g4-data/RadioactiveDecay5.3 + //2 G4REALSURFACEDATA g4data/G4RealSurface.2.1.1/RealSurface2.1.1/RoughESRGrease_LUTR.dat /home/samuel/g4/g4-data/RealSurface2.1.1 + //3 G4SAIDXSDATA g4data/G4SAIDDATA.2.0/G4SAIDDATA2.0/pi0pi0.dat /home/samuel/g4/g4-data/G4SAIDDATA2.0 + //4 G4ENSDFSTATEDATA g4data/G4ENSDFSTATE.2.2/G4ENSDFSTATE2.2/ENSDFSTATE.dat /home/samuel/g4/g4-data/G4ENSDFSTATE2.2 + //5 G4INCLDATA g4data/G4INCL.1.0/G4INCL1.0/table_radius_hfb.dat /home/samuel/g4/g4-data/G4INCL1.0 + //6 G4ABLADATA g4data/G4ABLA.3.1/G4ABLA3.1/frldm.dat /home/samuel/g4/g4-data/G4ABLA3.1 + //7 G4NEUTRONHPDATA g4data/G4NDL.4.5/G4NDL4.5/ThermalScattering /home/samuel/g4/g4-data/G4NDL4.5 + //8 G4LEDATA g4data/G4EMLOW.7.7/G4EMLOW7.7/comp/ce-cs-47.dat /home/samuel/g4/g4-data/G4EMLOW7.7 + //9 G4LEVELGAMMADATA g4data/G4PhotonEvaporation.5.3/PhotonEvaporation5.3/z65.a150 /home/samuel/g4/g4-data/PhotonEvaporation5.3 + //10 G4PARTICLEXSDATA g4data/G4PARTICLEXS.2.0/G4PARTICLEXS2.0/alpha/inel34 /home/samuel/g4/g4-data/G4PARTICLEXS2.0 + + +} diff --git a/Simple.h b/Simple.h index 23c6895..64a86d1 100644 --- a/Simple.h +++ b/Simple.h @@ -266,6 +266,8 @@ private slots: void on_switch_off_mag_fields_stateChanged(int arg1); + void on_auto_search_g4variables_clicked(); + private: Ui::Simple *ui; G4UImanager* UImanager; diff --git a/SimpleDatabaseManager.cpp b/SimpleDatabaseManager.cpp index db13aa3..b5cf3d8 100644 --- a/SimpleDatabaseManager.cpp +++ b/SimpleDatabaseManager.cpp @@ -75,7 +75,7 @@ QStringList SimpleDatabaseManager::GetListOfEnvVarValues() void SimpleDatabaseManager::SetEnvVar(QString name, QString path) { QSqlQuery query; - QString sqlcommand = QString("UPDATE env_vars SET env_var='%1' WHERE value='%2'").arg(path).arg(name); + QString sqlcommand = QString("UPDATE env_vars SET value='%1' WHERE env_var='%2'").arg(path).arg(name); qDebug()< +//#include #include "G4GlobalMagFieldMessenger.hh" #include "SimpleObject.h" diff --git a/db.sqlite b/db.sqlite index e0ae551..09f81e1 100755 Binary files a/db.sqlite and b/db.sqlite differ diff --git a/physics_lists/F04PhysicsListMessenger.cc b/physics_lists/F04PhysicsListMessenger.cc index f7750a0..4499062 100644 --- a/physics_lists/F04PhysicsListMessenger.cc +++ b/physics_lists/F04PhysicsListMessenger.cc @@ -29,7 +29,7 @@ #include "globals.hh" #include "F04PhysicsListMessenger.hh" -#include "F04PhysicsList.hh" +#include "PhysicsList_MuDecayWithSpin.hh" #include #include "G4UIcmdWithABool.hh" diff --git a/physics_lists/PhysListEmStandard.cc b/physics_lists/PhysListEmStandard.cc index 358ed95..80c6e39 100644 --- a/physics_lists/PhysListEmStandard.cc +++ b/physics_lists/PhysListEmStandard.cc @@ -59,7 +59,7 @@ #include "G4StepLimiter.hh" -#include "F04PhysicsList.hh" +#include "PhysicsList_MuDecayWithSpin.hh" #include "G4LivermoreBremsstrahlungModel.hh" // ku #include "G4LivermorePhotoElectricModel.hh" diff --git a/simple.pro b/simple.pro index 4829b7a..41e85bc 100644 --- a/simple.pro +++ b/simple.pro @@ -129,16 +129,34 @@ qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target + +#Enable this section for Ubuntu 19 version of our code +##generated from Geant4-config +#QMAKE_CXXFLAGS=-DG4INTY_USE_XT -DG4VIS_USE_OPENGL -DG4UI_USE_TCSH -DG4INTY_USE_QT -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -I/usr/include/x86_64-linux-gnu/qt5/ -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -DG4VIS_USE_OPENGLX -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -pthread -ftls-model=initial-exec -std=c++11 -I/home/samuel/g4/g4-install/bin/../include/Geant4 +#LIBS+=-L/home/samuel/g4/g4-install/bin/../lib -lG4OpenGL -lG4gl2ps -lG4Tree -lG4FR -lG4GMocren -lG4visHepRep -lG4RayTracer -lG4VRML -lG4vis_management -lG4modeling -lG4interfaces -lG4persistency -lG4analysis -lG4error_propagation -lG4readout -lG4physicslists -lG4run -lG4event -lG4tracking -lG4parmodels -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4materials -lG4graphics_reps -lG4intercoms -lG4global -lG4clhep -lG4expat -lG4zlib + +## the following line is required for Geant4 to work +#LIBS+= -L/usr/lib/x86_64-linux-gnu/ -lxerces-c-3.2 + +##generated from root-config +#LIBS+=-L/home/samuel/root_v6.18.04.source/root-install/lib -lGui -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic +#QMAKE_CXXFLAGS+=-pthread -std=c++11 -m64 -I/home/samuel/root_v6.18.04.source/root-install/include + + +#Enable this section for Ubuntu 18 version of our code #generated from Geant4-config -QMAKE_CXXFLAGS=-DG4INTY_USE_XT -DG4VIS_USE_OPENGL -DG4UI_USE_TCSH -DG4INTY_USE_QT -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -I/usr/include/x86_64-linux-gnu/qt5/ -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -DG4VIS_USE_OPENGLX -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -pthread -ftls-model=initial-exec -std=c++11 -I/home/samuel/g4/g4-install/bin/../include/Geant4 -LIBS+=-L/home/samuel/g4/g4-install/bin/../lib -lG4OpenGL -lG4gl2ps -lG4Tree -lG4FR -lG4GMocren -lG4visHepRep -lG4RayTracer -lG4VRML -lG4vis_management -lG4modeling -lG4interfaces -lG4persistency -lG4analysis -lG4error_propagation -lG4readout -lG4physicslists -lG4run -lG4event -lG4tracking -lG4parmodels -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4materials -lG4graphics_reps -lG4intercoms -lG4global -lG4clhep -lG4expat -lG4zlib +QMAKE_CXXFLAGS=-DG4INTY_USE_XT -DG4VIS_USE_OPENGL -DG4UI_USE_TCSH -DG4INTY_USE_QT -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -I/usr/include/x86_64-linux-gnu/qt5/ -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -DG4VIS_USE_OPENGLX -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -pthread -ftls-model=initial-exec -std=c++11 -I/home/samuel/geant4/source/analysis/g4tools/include -I/home/samuel/geant4/source/analysis/accumulables/include -I/home/samuel/geant4/source/analysis/csv/include -I/home/samuel/geant4/source/analysis/g4tools/include -I/home/samuel/geant4/source/analysis/hntools/include -I/home/samuel/geant4/source/analysis/management/include -I/home/samuel/geant4/source/analysis/root/include -I/home/samuel/geant4/source/analysis/xml/include -I/home/samuel/geant4/source/digits_hits/detector/include -I/home/samuel/geant4/source/digits_hits/digits/include -I/home/samuel/geant4/source/digits_hits/hits/include -I/home/samuel/geant4/source/digits_hits/scorer/include -I/home/samuel/geant4/source/digits_hits/utils/include -I/home/samuel/geant4/source/error_propagation/include -I/home/samuel/geant4/source/event/include -I/home/samuel/geant4/source/externals/clhep/include -I/home/samuel/geant4/source/externals/expat/include -I/home/samuel/geant4/source/externals/zlib/include -I/home/samuel/g4/g4-build/source/geometry/include -I/home/samuel/geant4/source/geometry/biasing/include -I/home/samuel/geant4/source/geometry/divisions/include -I/home/samuel/geant4/source/geometry/magneticfield/include -I/home/samuel/geant4/source/geometry/management/include -I/home/samuel/geant4/source/geometry/navigation/include -I/home/samuel/geant4/source/geometry/solids/Boolean/include -I/home/samuel/geant4/source/geometry/solids/CSG/include -I/home/samuel/geant4/source/geometry/solids/specific/include -I/home/samuel/geant4/source/geometry/volumes/include -I/home/samuel/g4/g4-build/source/global/include -I/home/samuel/geant4/source/global/HEPGeometry/include -I/home/samuel/geant4/source/global/HEPNumerics/include -I/home/samuel/geant4/source/global/HEPRandom/include -I/home/samuel/geant4/source/global/management/include -I/home/samuel/geant4/source/graphics_reps/include -I/home/samuel/geant4/source/intercoms/include -I/home/samuel/geant4/source/interfaces/GAG/include -I/home/samuel/geant4/source/interfaces/basic/include -I/home/samuel/geant4/source/interfaces/common/include -I/home/samuel/geant4/source/materials/include -I/home/samuel/geant4/source/parameterisations/gflash/include -I/home/samuel/geant4/source/particles/adjoint/include -I/home/samuel/geant4/source/particles/bosons/include -I/home/samuel/geant4/source/particles/hadrons/barions/include -I/home/samuel/geant4/source/particles/hadrons/ions/include -I/home/samuel/geant4/source/particles/hadrons/mesons/include -I/home/samuel/geant4/source/particles/leptons/include -I/home/samuel/geant4/source/particles/management/include -I/home/samuel/geant4/source/particles/shortlived/include -I/home/samuel/geant4/source/particles/utils/include -I/home/samuel/geant4/source/persistency/ascii/include -I/home/samuel/geant4/source/persistency/mctruth/include -I/home/samuel/geant4/source/physics_lists/builders/include -I/home/samuel/geant4/source/physics_lists/constructors/decay/include -I/home/samuel/geant4/source/physics_lists/constructors/electromagnetic/include -I/home/samuel/geant4/source/physics_lists/constructors/factory/include -I/home/samuel/geant4/source/physics_lists/constructors/gamma_lepto_nuclear/include -I/home/samuel/geant4/source/physics_lists/constructors/hadron_elastic/include -I/home/samuel/geant4/source/physics_lists/constructors/hadron_inelastic/include -I/home/samuel/geant4/source/physics_lists/constructors/ions/include -I/home/samuel/geant4/source/physics_lists/constructors/limiters/include -I/home/samuel/geant4/source/physics_lists/constructors/stopping/include -I/home/samuel/geant4/source/physics_lists/lists/include -I/home/samuel/geant4/source/physics_lists/util/include -I/home/samuel/geant4/source/processes/biasing/management/include -I/home/samuel/geant4/source/processes/biasing/generic/include -I/home/samuel/geant4/source/processes/biasing/importance/include -I/home/samuel/geant4/source/processes/cuts/include -I/home/samuel/geant4/source/processes/decay/include -I/home/samuel/geant4/source/processes/electromagnetic/adjoint/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/processes/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/models/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/utils/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/management/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/molecules/management/include -I/home/samuel/geant4/source/processes/electromagnetic/dna/molecules/types/include -I/home/samuel/geant4/source/processes/electromagnetic/highenergy/include -I/home/samuel/geant4/source/processes/electromagnetic/lowenergy/include -I/home/samuel/geant4/source/processes/electromagnetic/muons/include -I/home/samuel/geant4/source/processes/electromagnetic/pii/include -I/home/samuel/geant4/source/processes/electromagnetic/polarisation/include -I/home/samuel/geant4/source/processes/electromagnetic/standard/include -I/home/samuel/geant4/source/processes/electromagnetic/utils/include -I/home/samuel/geant4/source/processes/electromagnetic/xrays/include -I/home/samuel/geant4/source/processes/hadronic/cross_sections/include -I/home/samuel/geant4/source/processes/hadronic/management/include -I/home/samuel/geant4/source/processes/hadronic/models/abla/include -I/home/samuel/geant4/source/processes/hadronic/models/abrasion/include -I/home/samuel/geant4/source/processes/hadronic/models/binary_cascade/include -I/home/samuel/geant4/source/processes/hadronic/models/cascade/cascade/include -I/home/samuel/geant4/source/processes/hadronic/models/coherent_elastic/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/ablation/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/evaporation/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/fermi_breakup/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/fission/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/gem_evaporation/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/handler/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/management/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/multifragmentation/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/photon_evaporation/include -I/home/samuel/geant4/source/processes/hadronic/models/de_excitation/util/include -I/home/samuel/geant4/source/processes/hadronic/models/em_dissociation/include -I/home/samuel/geant4/source/processes/hadronic/models/fission/include -I/home/samuel/geant4/source/processes/hadronic/models/im_r_matrix/include -I/home/samuel/geant4/source/processes/hadronic/models/inclxx/utils/include -I/home/samuel/geant4/source/processes/hadronic/models/inclxx/incl_physics/include -I/home/samuel/geant4/source/processes/hadronic/models/inclxx/interface/include -I/home/samuel/geant4/source/processes/hadronic/models/gamma_nuclear/include -I/home/samuel/geant4/source/processes/hadronic/models/lend/include -I/home/samuel/geant4/source/processes/hadronic/models/lepto_nuclear/include -I/home/samuel/geant4/source/processes/hadronic/models/management/include -I/home/samuel/geant4/source/processes/hadronic/models/particle_hp/include -I/home/samuel/geant4/source/processes/hadronic/models/parton_string/diffraction/include -I/home/samuel/geant4/source/processes/hadronic/models/parton_string/hadronization/include -I/home/samuel/geant4/source/processes/hadronic/models/parton_string/management/include -I/home/samuel/geant4/source/processes/hadronic/models/parton_string/qgsm/include -I/home/samuel/geant4/source/processes/hadronic/models/pre_equilibrium/exciton_model/include -I/home/samuel/geant4/source/processes/hadronic/models/qmd/include -I/home/samuel/geant4/source/processes/hadronic/models/quasi_elastic/include -I/home/samuel/geant4/source/processes/hadronic/models/radioactive_decay/include -I/home/samuel/geant4/source/processes/hadronic/models/rpg/include -I/home/samuel/geant4/source/processes/hadronic/models/theo_high_energy/include -I/home/samuel/geant4/source/processes/hadronic/models/util/include -I/home/samuel/geant4/source/processes/hadronic/processes/include -I/home/samuel/geant4/source/processes/hadronic/stopping/include -I/home/samuel/geant4/source/processes/hadronic/util/include -I/home/samuel/geant4/source/processes/management/include -I/home/samuel/geant4/source/processes/optical/include -I/home/samuel/geant4/source/processes/solidstate/phonon/include -I/home/samuel/geant4/source/processes/solidstate/channeling/include -I/home/samuel/geant4/source/processes/parameterisation/include -I/home/samuel/geant4/source/processes/scoring/include -I/home/samuel/geant4/source/processes/transportation/include -I/home/samuel/geant4/source/readout/include -I/home/samuel/geant4/source/run/include -I/home/samuel/geant4/source/track/include -I/home/samuel/geant4/source/tracking/include -I/home/samuel/geant4/source/visualization/FukuiRenderer/include -I/home/samuel/geant4/source/visualization/HepRep/include -I/home/samuel/geant4/source/visualization/RayTracer/include -I/home/samuel/geant4/source/visualization/Tree/include -I/home/samuel/geant4/source/visualization/VRML/include -I/home/samuel/geant4/source/visualization/XXX/include -I/home/samuel/geant4/source/visualization/externals/gl2ps/include -I/home/samuel/geant4/source/visualization/gMocren/include -I/home/samuel/geant4/source/visualization/management/include -I/home/samuel/geant4/source/visualization/modeling/include -I/home/samuel/geant4/source/visualization/OpenGL/include +#-DG4INTY_USE_XT -DG4VIS_USE_OPENGL -DG4UI_USE_TCSH -DG4INTY_USE_QT -DG4UI_USE_QT -DG4VIS_USE_OPENGLQT -I/usr/include/x86_64-linux-gnu/qt5/ -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/lib/x86_64-linux-gnu/qt5//mkspecs/linux-g++ -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -DG4VIS_USE_OPENGLX -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -pthread -ftls-model=initial-exec -std=c++11 -I/home/samuel/g4/g4-install/bin/../include/Geant4 +LIBS+=-L/home/samuel/g4/g4-build/bin/../lib -lG4OpenGL -lG4gl2ps -lG4Tree -lG4FR -lG4GMocren -lG4visHepRep -lG4RayTracer -lG4VRML -lG4vis_management -lG4modeling -lG4interfaces -lG4persistency -lG4analysis -lG4error_propagation -lG4readout -lG4physicslists -lG4run -lG4event -lG4tracking -lG4parmodels -lG4processes -lG4digits_hits -lG4track -lG4particles -lG4geometry -lG4materials -lG4graphics_reps -lG4intercoms -lG4global -lG4clhep -lG4expat -lG4zlib # the following line is required for Geant4 to work LIBS+= -L/usr/lib/x86_64-linux-gnu/ -lxerces-c-3.2 #generated from root-config -LIBS+=-L/home/samuel/root_v6.18.04.source/root-install/lib -lGui -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic -QMAKE_CXXFLAGS+=-pthread -std=c++11 -m64 -I/home/samuel/root_v6.18.04.source/root-install/include +LIBS+=-L/home/samuel/root_v6.18.04.Linux-ubuntu18-x86_64-gcc7.4/root/lib -lGui -lCore -lImt -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lROOTVecOps -lTree -lTreePlayer -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -lMultiProc -lROOTDataFrame -pthread -lm -ldl -rdynamic +QMAKE_CXXFLAGS+=-pthread -std=c++11 -m64 -I/home/samuel/root_v6.18.04.Linux-ubuntu18-x86_64-gcc7.4/root/include + + DISTFILES += \ db.sqlite \ diff --git a/simple.ui b/simple.ui index ce8e69f..23265c5 100644 --- a/simple.ui +++ b/simple.ui @@ -860,7 +860,7 @@ QTabWidget::Rounded - 0 + 1 false @@ -2144,8 +2144,8 @@ font: 8pt "Ubuntu Condensed"; 0 0 - 1429 - 207 + 1406 + 226 @@ -2228,6 +2228,19 @@ font: 8pt "Ubuntu Condensed"; + + + + + 65 + 16777215 + + + + Auto search + + +