Skip to content

Commit 5febe64

Browse files
authored
Merge pull request #49 from JeffersonLab/new_UI_command2_rtj
- add print statements that empirically fix a race condition when
2 parents 65af381 + d0cf5ef commit 5febe64

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/GlueXPhotonBeamGenerator.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ GlueXPhotonBeamGenerator::GlueXPhotonBeamGenerator(CobremsGeneration *gen)
116116
&GlueXPhotonBeamGenerator::disableFixedPolarization,
117117
"Tell the photon beam generator not to force a fixed polarization\n"
118118
" on beam photons created by the simulation.");
119+
std::cout << "GlueXPhotonBeamGenerator initialization complete." << std::endl;
119120
}
120121

121122
GlueXPhotonBeamGenerator::~GlueXPhotonBeamGenerator()

src/hdgeant4.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@ int main(int argc,char** argv)
165165
runManager.SetUserInitialization(userinit);
166166

167167
// Initialize G4 kernel
168+
std::cout << "Initializing the Geant4 kernel..." << std::endl;
168169
runManager.Initialize();
169-
170+
170171
// Initialize graphics (option -v)
171172
G4VisManager* visManager = 0;
172173
if (use_visualization) {

0 commit comments

Comments
 (0)