We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67b420a commit 43e6a13Copy full SHA for 43e6a13
src/GlueXPrimaryGeneratorAction.cc
@@ -79,6 +79,7 @@ GlueXPrimaryGeneratorAction::GlueXPrimaryGeneratorAction()
79
fParticleGun = new GlueXParticleGun();
80
81
if (fSourceType == SOURCE_TYPE_HDDM) {
82
+ clone_photon_beam_generator();
83
fPrimaryGenerator = new GlueXPrimaryGenerator(fHDDMistream);
84
return;
85
}
@@ -493,7 +494,7 @@ GlueXPrimaryGeneratorAction &GlueXPrimaryGeneratorAction::operator=(const
493
494
else if (fSourceType == SOURCE_TYPE_PARTICLE_GUN) {
495
fParticleGun->SetParticleDefinition(fGunParticle.partDef);
496
- if (fPhotonBeamGenerator) {
497
+ if (src.fPhotonBeamGenerator) {
498
clone_photon_beam_generator();
499
500
fBeamvertex = src.fBeamvertex;
0 commit comments