| 1 | = depuis 0.7.3 : define CUTPHOTON = |
| 2 | J'ai totalement supprimé le define CUTPHOTON. |
| 3 | |
| 4 | * méthode ''GUINEA::makestep'' : instruction ''photon_data_.updateXX(); '' supprimée au début du code. |
| 5 | |
| 6 | * méthode ''GRID::doElossParticle'' : remplacé |
| 7 | |
| 8 | {{{ |
| 9 | #ifndef CUTPHOTON |
| 10 | energy -= photon[k]; |
| 11 | #endif |
| 12 | }}} |
| 13 | |
| 14 | par : |
| 15 | |
| 16 | {{{ |
| 17 | energy -= photon[k]; |
| 18 | }}} |
| 19 | |
| 20 | * méthode ''GRID::doElossParticle'' : supprimé au début du code l'instruction : ''photon_data.nTOi();'' |
| 21 | |
| 22 | * méthode ''GRID::distribute_photons'' : supprimé la séquence : |
| 23 | |
| 24 | {{{ |
| 25 | #ifdef CUTPHOTON |
| 26 | ratio_i_1/=photon_data.get_scal2(); |
| 27 | ratio_i_2/=photon_data.get_scal2(); |
| 28 | #endif |
| 29 | }}} |
| 30 | |
| 31 | juste avant les appels à ''distributePhotonInBeam'', à la fin. |
| 32 | |
| 33 | |
| 34 | S'il fallait rétablir cette possibilité il faudrait instancier au bon endroit un objet de la classe PHOTON_DATA et rétablir les précédentes fonctions. |