Changeset 2474 for trunk/MagicSoft/Mars/Changelog
- Timestamp:
- 11/05/03 14:47:52 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2473 r2474 1 1 -*-*- END OF LINE -*-*- 2 2003/11/05: Marcos Lopez 3 4 * mmontecarlo/MMcWeightEnergySpecCalc.[h,cc] 5 - Now, if the new spectrum for the MC showers is a power law, we don't 6 convert it to a TF1 function. 7 - Changed the constructor for the case in which the new spectrum is 8 passed as a TF1 function. Now we pass the TF1 object by reference. 9 - Thanks to the suggestions of T. Bretz, added three more constructors to 10 give the possibility of passing the shape of the new spectrum in other 11 different ways. Now, if the new spectrum that you want for the MC 12 showers is different from a power law, you can especify its shape either 13 with a TF1 function, with a string (char*), or with a general C++ 14 function defined by your own. 15 - In function Reinit(): added a sanity check to prevent from dividing 16 by zero. 17 - In PreProcess(): removed an unnecessary sentence. 18 - Fixed a compiling error which appeared under gcc 3.3 19 20 * macros/weights.C 21 - addapted to show the new features introduced. 22 23 24 2 25 2003/11/05: Thomas Bretz 3 26
Note:
See TracChangeset
for help on using the changeset viewer.