Changes between Initial Version and Version 1 of 2007/08/17/14.34


Ignore:
Timestamp:
Aug 17, 2007, 2:50:58 PM (17 years ago)
Author:
/C=FR/O=CNRS/OU=UMR8607/CN=Guy Le Meur/emailAddress=lemeur@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2007/08/17/14.34

    v1 v1  
     1= depuis 0.7.3 : define CUTPHOTON =
     2J'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
     31juste avant les appels à ''distributePhotonInBeam'', à la fin.
     32
     33
     34S'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.