Skip to content

Commit

Permalink
Corrected tesets, adapted to GEANT4_VMC v6-5 (#1515)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhristov authored Mar 24, 2024
1 parent 09a6f30 commit 51b4692
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/genkine/sim/runrec.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
void runrec(){
gSystem->Load("libzmq");
gSystem->Load("libpythia6");
gROOT->Macro("rec.C");
}
1 change: 1 addition & 0 deletions test/genkine/sim/sim.C
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ void sim(Int_t nev=1) {
Form("local://%s",gSystem->pwd()));

simulator.SetRunHLT("default"); // In case we do not have ancored production
simulator.SetRunQA(":");

TStopwatch timer;
timer.Start();
Expand Down
1 change: 1 addition & 0 deletions test/genkine/simF/runrec.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
void runrec(){
gSystem->Load("libzmq");
gSystem->Load("libpythia6");
gROOT->Macro("rec.C");
}
1 change: 1 addition & 0 deletions test/genkine/simF/sim.C
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ void sim(Int_t nev=1) {
Form("local://%s",gSystem->pwd()));

simulator.SetRunHLT("default"); // In case we do not have ancored production
simulator.SetRunQA(":");

TStopwatch timer;
timer.Start();
Expand Down
3 changes: 2 additions & 1 deletion test/genkine/simG4/Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ void Config()
"FTFP_BERT_EMV+optical",
"specialCuts+stackPopper+stepLimiter",
true, false);

runConfiguration->SetSpecialCutsOld(); // GEANT$_VMC >= v6.5

TGeant4 * geant4 = new TGeant4("TGeant4",
"The Geant4 Monte Carlo : FTFP_BERT_EMV-EMCAL",
runConfiguration);
Expand Down
1 change: 1 addition & 0 deletions test/genkine/simG4/runrec.C
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
void runrec(){
gSystem->Load("libzmq");
gSystem->Load("libpythia6");
gROOT->Macro("rec.C");
}
1 change: 1 addition & 0 deletions test/genkine/simG4/sim.C
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ void sim(Int_t nev=1) {
Form("local://%s",gSystem->pwd()));

simulator.SetRunHLT("default"); // In case we do not have ancored production
simulator.SetRunQA(":");

TStopwatch timer;
timer.Start();
Expand Down
1 change: 1 addition & 0 deletions test/vmctest/gun/g4Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ void Config()
"FTFP_BERT_EMV+optical",
"specialCuts+stackPopper+stepLimiter",
true, false);
runConfiguration->SetSpecialCutsOld(); // GEANT4_VMC >+ v6.5
// = new TG4RunConfiguration("geomRootToGeant4",
// "FTFP_BERT_EMV+optical",
// "specialCuts+specialControls+stackPopper+stepLimiter",
Expand Down
1 change: 1 addition & 0 deletions test/vmctest/lego/g4Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ void Config(const char * det)
"FTFP_BERT_EMV+optical",
"specialCuts+stackPopper+stepLimiter",
true, false);
runConfiguration->SetSpecialCutsOld(); // GEANT4_VMC >+ v6.5
// = new TG4RunConfiguration("geomRootToGeant4",
// "FTFP_BERT_EMV+optical",
// "specialCuts+specialControls+stackPopper+stepLimiter",
Expand Down
1 change: 1 addition & 0 deletions test/vmctest/ppbench/g4Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ void Config()
"FTFP_BERT_EMV+optical",
"specialCuts+stackPopper+stepLimiter",
true, false);
runConfiguration->SetSpecialCutsOld(); // GEANT4_VMC >+ v6.5
// = new TG4RunConfiguration("geomRootToGeant4",
// "FTFP_BERT_EMV+optical",
// "specialCuts+specialControls+stackPopper+stepLimiter",
Expand Down
1 change: 1 addition & 0 deletions test/vmctest/production/Config.C
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ void Config()
Form("%s+optical",physicsListName[iList-kListMax/2]),
"specialCuts+stackPopper+stepLimiter",
true, false);
runConfiguration->SetSpecialCutsOld(); // GEANT4_VMC >+ v6.5
}
}
}
Expand Down

0 comments on commit 51b4692

Please sign in to comment.