@@ -28,10 +28,10 @@ CloseByParticleGunProducer::CloseByParticleGunProducer(const ParameterSet& pset)
28
28
fEnMin = pgun_params.getParameter <double >(" EnMin" );
29
29
fMaxEnSpread = pgun_params.getParameter <bool >(" MaxEnSpread" );
30
30
if (fControlledByEta ) {
31
- fEtaMax = pgun_params.getParameter <double >(" EtaMax " );
32
- fEtaMin = pgun_params.getParameter <double >(" EtaMin " );
31
+ fEtaMax = pgun_params.getParameter <double >(" MaxEta " );
32
+ fEtaMin = pgun_params.getParameter <double >(" MinEta " );
33
33
if (fEtaMax <= fEtaMin )
34
- LogError (" CloseByParticleGunProducer" ) << " Please fix EtaMin and EtaMax values in the configuration" ;
34
+ LogError (" CloseByParticleGunProducer" ) << " Please fix MinEta and MaxEta values in the configuration" ;
35
35
} else {
36
36
fRMax = pgun_params.getParameter <double >(" RMax" );
37
37
fRMin = pgun_params.getParameter <double >(" RMin" );
@@ -41,8 +41,8 @@ CloseByParticleGunProducer::CloseByParticleGunProducer(const ParameterSet& pset)
41
41
fZMax = pgun_params.getParameter <double >(" ZMax" );
42
42
fZMin = pgun_params.getParameter <double >(" ZMin" );
43
43
fDelta = pgun_params.getParameter <double >(" Delta" );
44
- fPhiMin = pgun_params.getParameter <double >(" PhiMin " );
45
- fPhiMax = pgun_params.getParameter <double >(" PhiMax " );
44
+ fPhiMin = pgun_params.getParameter <double >(" MinPhi " );
45
+ fPhiMax = pgun_params.getParameter <double >(" MaxPhi " );
46
46
fPointing = pgun_params.getParameter <bool >(" Pointing" );
47
47
fOverlapping = pgun_params.getParameter <bool >(" Overlapping" );
48
48
fRandomShoot = pgun_params.getParameter <bool >(" RandomShoot" );
0 commit comments