[FIXED] Bug in PndDipoleMap [message #17599] |
Mon, 01 December 2014 14:14 |
Dariusch Deermann
Messages: 2 Registered: August 2014 Location: Germany
|
occasional visitor |
From: *ext.kfa-juelich.de
|
|
The following lines in the constructor of PndDipoleMap prevent using 13.0 GeV/c as beam momentum:
________________________________________________________________________ ____
36 else if (fBeamMom< 13.0 && fBeamMom >= 10.0)Suffix=".1191";
37 else if (fBeamMom> 13.0) Suffix=".1500";
________________________________________________________________________ ____
In line 37, it should be >= instead of >, otherwise the filename will not get its suffix in case of fBeamMom=13.0 and the simulation is unable to read the dipolemap1 since there is no dipolemap1.root.
Best Regards
Dariusch
[Updated on: Fri, 19 December 2014 21:52] by Moderator Report message to a moderator
|
|
|