source: trunk/source/processes/parameterisation/History @ 846

Last change on this file since 846 was 819, checked in by garnier, 16 years ago

import all except CVS

File size: 19.5 KB
Line 
1$Id: History,v 1.37.2.2 2008/04/23 08:51:21 gcosmo Exp $
2-------------------------------------------------------------------
3
4     =========================================================
5     Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6     =========================================================
7
8                      Category History file
9                      ---------------------
10This file should be used by G4 developers and category coordinators
11to briefly summarize all major modifications introduced in the code
12and keep track of all category-tags.
13It DOES NOT substitute the  CVS log-message one should put at every
14committal in the CVS repository !
15
16     ----------------------------------------------------------
17     * Reverse chronological order (last date on top), please *
18     ----------------------------------------------------------
19
20April 23 2008, G. Cosmo (param-V09-00-02)
21- Tag for release 9.1.p02.
22
23March 13 2008, G. Cosmo (param-V09-01-00)
24- Cleared compilation warnings in G4GeometryManager on gcc-4.3.0 for
25  ambiguous use of parentheses in nested if-else statements.
26
27November 30 2007, M. Verderi
28- Add Along methods to G4FSMP process
29  - tag as param-V09-00-01
30
31November 30 2007, M. Verderi
32- minor corrections to G4FastSimulationManagerProcess.hh/.cc :
33   * add call fPathFinder->prepareNewrack(...)
34   * deactivate ghost navigator in EndOfTracking(..) method
35   - tag as param-V09-00-00
36
37May 18, 2007, M. Verderi
38- tag as param-V08-03-00
39
40May 11, 2007, M. Verderi
41- remove include/G4FastSimulationManagerProcess81.hh
42         include/G4FlavoredParallelWorld.hh
43         include/G4GFSManager81.hh
44         src/G4FastSimulationManagerProcess81.cc
45         src/G4GFSManager81.cc
46
47
48November 10, 2006, M. Verderi - param-V08-01-00
49- Limited number of warning messages printed by the
50  G4GlobalFastSimulationManager.
51- Renamed G4FastSimulationManagerProcess_forCoupledTransportation with
52  G4FastSimulationManagerProcess81.
53  In addition, this class can now handle the case of Navigator index=0,
54  i.e., the navigator for tracking, regardless the G4Transportation or
55  G4CoupledTransportation is used. (For other navigators, there is
56  of course no choice, and G4CoupledTransportation is necessary.)
57
58November 3, 2006 M. Verderi
59- Introduced G4FastSimulationManagerProcess_forCoupledTransportation class for
60  handling fast simulation in new parallel geometry scheme. This requires
61  the G4CoupledTransportation to be active.
62- Introduced G4GFSManager81 class that gathers the future code to become the
63  default at next major release in the G4GlobalFastSimulationManager class.
64- G4FastSimulationManager: adapted to new scheme. Still has old code for
65  backward compatibilty.
66- G4FastSimulationManagerProcess: mostly the same, apart from a small bug fix.
67- G4FastSimulationMessenger: new command created "/param/showSetup", useful
68  to show the fast simulation setup (region, models, processes, etc...)
69  It is only valid for geometry closed state. Desirable to have interactive
70  command in the run manager for this.
71
72November 25, 2005, M.Verderi -  param-V07-01-04
73- put back Makoto's change: StartTracking(G4Track*)
74
75November 25, 2005, M Verderi - param-V07-01-03
76- Make ghost functionnality available with G4Region
77- ** Note ** Change back StartTracking(G4Track*) -> StartTracking() in G4FSMP
78             StartTracking(G4Track*) was introduced in  param-V07-01-02
79             because (I guess) of procman-V07-01-01
80  This is to make param-V07-01-03 compatible with geant4-07-01-ref-05
81
82November 21, 2005 M.Asai - param-V07-01-02
83- Fix warning message.
84
85November 02, 2005 G.Cosmo - param-V07-01-01
86- Corrected setting of envelope volumes and solid in G4FastTrack.
87- Migrated old scheme for G4Exception and some cosmetics...
88
89October 28, 2005 M.Asai - param-V07-01-00
90- Working tag for merging "envelope" to G4Region.
91
92December 07, 2004 G. Cosmo - param-V06-02-01
93- Implemented migration to <cmath>.
94
95November 26, 2004 M. Verderi - param-V06-02-00
96- Implemented migration to new G4VParticleChange interfaces.
97
98December 12, 2003 G. Cosmo - param-V06-00-00
99- G4FastSimulationVector.icc: use std_pvector:: scope for calls to
100  base class. Fixes compilation problem on Intel-icc compiler.
101
102November 10, 2003 G. Cosmo - param-V05-02-01
103- G4FastTrack: use G4Navigator::CreateTouchableHistoryHandle() instead of
104  CreateTouchableHistory() in method FRecordsAffineTransformation().
105
106October 4, 2003 G. Cosmo - param-V05-02-00
107- Modified GNUmakefile:
108  o added dependency to new module "geometry/navigation".
109- Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00".
110
111May 21, 2003 G. Cosmo - param-V05-01-00
112        o Fixed pedantic warnings on Linux-g++.
113        o Call base class in copy-constructor of G4FastStep.
114
115Nov 20, 2002 G. Cosmo - param-V04-01-02
116        o Patched access to public static data in G4FastStep.cc
117          and G4GlobalFastSimulationManager.cc to allow porting on
118          Windows DLLs.
119
120Nov 15, 2002 S. Sadilov - param-V04-01-01
121        o Fixed compilation problems on Windows in
122          G4FastSimulationManager.cc and G4GlobalFastSimulationManager.cc
123
124Nov 02, 2002 M. Verderi - param-V04-01-00
125        o Add method to retrieve G4VFastSimulationModel by name.
126          The user's method is in G4GlobalFastSimulationManager:
127
128             GetFastSimulationModel();
129
130          it is accompagnied by same methods name in
131          G4FastSimulationManager class.
132
133        o Add "test" directory, used to test above feature.
134
135Oct 26, 2001 M. Verderi - param-V03-02-00
136  Fixes to clear warnings produced with gcc-2.95.2:
137        - loop index, where comparison with method "size()" of
138        G4std::vector<T>, changed: int -> size_t
139        - change "if ( a=b ) {..}" by "if ( (a=b) ) {...}"
140        this makes the compiler sure you want to make an
141        assignement in the "if" condition
142        - re-order initialisations of a few variables in constructors
143        to match the declaration order.
144  Some warnings still exist, but regard the G4Propagator of geometry.
145
146Apr  3, 2001 J. Apostolakis - param-V03-00-00
147- Modified G4FastSimulationManagerProcess call to PropagatorInField ComputeStep
148   to use new interface with G4FieldTrack (in place of now obsolete interface.)
149
150Nov 14, 2000 G. Cosmo - param-V02-00-01
151- Moved specific parameterisation models to the new top category
152  "parameterisations". Moved files:
153  G4FoamXrayTRmodel[.hh.cc], G4GamDistrXrayTRmodel[.hh.cc],
154  G4IrregularXrayTRmodel[.hh.cc], G4PAIclusterModel[.hh.cc],
155  G4PhotoClusterModel[.hh.cc], G4PlateIrrGasXrayTRmodel[.hh.cc],
156  G4RegularXrayTRmodel[.hh.cc], G4VClusterModel[.hh.cc],
157  G4VXrayTRmodel[.hh.cc].
158- Cleaned-up GNUmakefile of non necessary dependencies.
159
160Aug 03, 2000 G. Cosmo - param-V02-00-00r
161- Changed RandGauss to G4RandGauss in G4IrregularXrayTRmodel.cc and
162  G4VXrayTRmodel.cc to fix events' reproducibility problem.
163- G4VXrayTRmodel.cc: fix to class destructor (V.Grichine)
164
165Jun 15, 2000 G. Cosmo - param-V01-01-04
166- The tag coworks with global-V01-01-04 and materials-V01-01-00:
167  o Fixed usage of G4complex type for ISO and non-ISO compilers.
168    Affected files: G4FoamXrayTRmodel.cc, G4GamDistrXrayTRmodel.cc, G4PlateIrrGasXrayTRmodel.cc
169                    and G4RegularXrayTRmodel.cc.
170    In case of G4complex types passed to mathematical functions, use G4std:: prefix.
171  o Fixed usage of G4Integrator class, now changed to templated to allow porting of the
172    code on SUN-CC compiler which does not implement templated member functions.
173    Affected files: G4VXrayTRmodel[.hh.cc]
174
175Jun  6, 2000 M. Verderi & P. Mora de Freitas
176- fixed compilation errors with HP-aCC for the files G4RegularXrayTRmodel.cc,
177  G4GamDistrXrayTRmodel.cc and G4FoamXrayTRmodel.cc.
178
179May 30, 2000 M. Verderi & P. Mora de Freitas
180
181- parameterisation category is now RW free.
182
183September 16, 1999 M. Verderi & P. Mora de Freitas
184
185- Fixed bug in G4FastStep::CheckIt() method.
186
187April 19, 1999 M. Verderi & P. Mora de Freitas
188
189Changes in G4FastStep to co-work with track-01-00-04:
190
1911) The method void CheckIt(const G4Track&) becomes
192G4bool CheckIt(const G4Track&);
1932) The FAST_STEP_DEBUG compiling option disappears;
1943) Call to CheckIt controled by the G4VParticleChange::debugFlag attribute.
195
196Miscellaneous: the declaration "G4double mass = masss =..." in G4FastStep.hh
197corrected to G4double mass =...".
198
199April 15, 1999 M. Verderi & P. Mora de Freitas
200
201Tasks to decouple visualization from processes/parameterisation:
202
2031) G4GlobalFastSimulationManager now inherites from the intercoms/
204G4VGlobalFastSimulationManager to allow visualisation to get a
205concrete instance pointer to the G4GlobalFastSimulationManager,
206if any.
207
2082) G4FlavoredParallelWorld now inherites from the intercoms/
209G4VFlavoredParallelWorld, a pure virtual abstract class to interface
210parameterisation with visualization.
211
212Co-works with intercoms-01-00-01 tag
213
214Modified files:
215---------------
216G4FlavoredParallelWorld.hh
217G4GlobalFastSimulationManager.hh
218G4GlobalFastSimulationManager.cc
219
220Done, tested, system-tested on HP-aCC with exemple N05.
221
222April 14, 1999 M. Verderi & P. Mora de Freitas
223
224Several consolidation tasks (thanks to G. Cosmo):
225
2261) Warning:
227-----------
228
229Pointers usage
230
231- Setting pointers to 0 after delete:
232
233  delete pA;
234  pA = 0;
235
236- Avoid to use "NULL".
237
238Modified files:
239---------------
240G4FastSimulationManager.hh
241G4FastTrack.hh
242G4FlavoredParallelWorld.hh
243G4FastSimulationManager.cc
244G4FastSimulationMessenger.cc
245G4FastSimulationManagerProcess.cc
246G4FastTrack.cc
247G4GlobalFastSimulationManager.cc
248G4VFastSimulationModel.cc
249
250Status:
251-------
252Done, tested, system-tested on HP-aCC with exemple N05.
253
2542) Warning:
255-----------
256include/G4FastSimulationManager.hh:163
257    Public member functions shall always return const handles to member data
258    Severe violation: Universal Coding Standards item 18
259
260offending code:
261---------------
262inline G4VParticleChange* G4FastSimulationManager::GettheParticleChange()
263{
264  return &fFastStep;
265}
266
267Diagnostic:
268----------
269
270 Called by the G4FastSimulationManagerProcess to return it in the
271PostStepDoIt call.
272
273Action:
274-------
275The G4FastSimulationManager::GettheParticleChange() method doesn't exist any
276more. The G4VParticleChange* is now returned directly when invoking the
277G4FastSimulationManager::InvokePostStepDoIt() and
278G4FastSimulationManager::InvokeAtRestDoIt() methodes.
279
280Modified files:
281---------------
282G4FastSimulationManager.hh
283G4FastSimulationManager.cc
284G4FastSimulationManagerProcess.cc
285
286Status:
287-------
288Done, tested, system-tested on HP-aCC with exemple N05.
289
2903) Warning:
291-----------
292include/G4FastSimulationManagerProcess.hh:52
293    If a class has virtual functions it shall have a virtual destructor
294    Severe violation: Universal Coding Standards item 17
295    class G4FastSimulationManagerProcess has virtual functions without a virtual destructor.
296
297offending code:
298---------------
299  ~G4FastSimulationManagerProcess();
300
301Diagnostic:
302----------
303  Nobody should inherites from G4FastSimulationManagerProcess BUT for virtual
304is added.
305
306Action:
307-------
308  virtual ~G4FastSimulationManagerProcess();
309
310Modified files:
311---------------
312G4FastSimulationManagerProcess.hh
313
314Status:
315-------
316Done.
317
3184) Warning:
319-----------
320include/G4FastSimulationMessenger.hh:36
321    If a class has virtual functions it shall have a virtual destructor
322    Severe violation: Universal Coding Standards item 17
323    class G4FastSimulationMessenger has virtual functions without a virtual destructor.
324
325
326offending code:
327---------------
328  ~G4FastSimulationMessenger();
329
330Diagnostic:
331----------
332  Nobody should inherites from G4FastSimulationMessenger BUT for virtual
333is added.
334
335Action:
336-------
337  virtual ~G4FastSimulationMessenger();
338
339Modified files:
340---------------
341G4FastSimulationMessenger.hh
342
343Status:
344-------
345Done.
346
3475) Warning:
348-----------
349include/G4FastStep.hh:224
350    Operator= should call base class operator=
351    Possible severe violation: Effective C++ item 16
352    operator= in class G4FastStep, should call operator= in base class G4VParticleChange
353
354offending code:
355---------------
356G4FastStep & G4FastStep::operator=(const G4FastStep &right)
357{
358   if (this != &right)
359   {
360      theListOfSecondaries          = right.theListOfSecondaries;
361      theSizeOftheListOfSecondaries = right.theSizeOftheListOfSecondaries;
362      theNumberOfSecondaries        = right.theNumberOfSecondaries;
363      theStatusChange               = right.theStatusChange;
364      theMomentumChange             = right.theMomentumChange;
365      thePolarizationChange         = right.thePolarizationChange;
366      thePositionChange             = right.thePositionChange;
367      theTimeChange                 = right.theTimeChange;
368      theEnergyChange               = right.theEnergyChange;
369      theTrueStepLength             = right.theTrueStepLength;
370      theLocalEnergyDeposit         = right.theLocalEnergyDeposit;
371      theSteppingControlFlag        = right.theSteppingControlFlag;
372      theWeightChange               = right.theWeightChange;
373   }
374   return *this;
375}
376
377Diagnostic:
378----------
379  Bug detected.
380
381Action:
382-------
383  Insert the call
384  G4VParticleChange::operator=(right);
385
386Status:
387-------
388  Done, tested, system-tested on HP-aCC with exemple N05.
389
390Modified files:
391---------------
392  G4FastStep.cc
393
3946) Warning:
395-----------
396include/G4FastStep.hh:59
397    Avoid data members in the public interface
398    Violation: Effective C++ item 20
399    Public data members for class G4FastStep:
400      debugFlag
401
402
403offending code:
404---------------
405  public:
406  ...
407  G4bool debugFlag;
408
409Diagnostic:
410----------
411  Historical usage.
412
413Action:
414-------
415  Replaced by #ifdef FAST_STEP_DEBUG in the G4FastStep.cc file.
416
417Modified files:
418---------------
419  G4FastStep.hh, G4FastStep.cc
420
421Status:
422-------
423  Done, tested, system-tested on HP-aCC with exemple N05.
424
4257) Warning:
426-----------
427include/G4FastStep.hh:59
428    If a class has virtual functions it shall have a virtual destructor
429    Severe violation: Universal Coding Standards item 17
430    class G4FastStep has virtual functions without a virtual destructor.
431
432
433offending code:
434---------------
435  ~G4FastStep();
436
437Diagnostic:
438----------
439   Nobody should inherites from G4FastStep BUT virtual added.
440
441Action:
442-------
443  virtual ~G4FastStep();
444
445Modified files:
446---------------
447  G4FastStep.hh
448
449Status:
450-------
451  Done, tested, system-tested on HP-aCC with exemple N05.
452
453
454December 7, 1998 M. Verderi
455   G4FastSimulationManagerProcess class:
456   Fixes made for ghost navigation with
457   mag-field:
458        LocateGlobalPointAndUpdateTouchable is
459        always used (in not the Locate...Setup
460        method)
461        In PostStepDoIt: correction of position and
462        direction of the track are made when
463        possible in case of mag-field.
464        This correction comes from the fact that a
465        small discrepancy appears on those quantities
466        because of the numerical integration along
467        the field on the track path: the G4FSMP
468        proposes a curve-length, the transportation
469        moves the track along this curve, however
470        the end point position and direction are
471        slightly different from those expected by
472        the G4FSMP when it proposed the length.
473
474November 20,1998 M. Verderi
475   G4FastStep class:
476   Remove track/G4BiasingTag.hh dependancy (obsolete).
477   Adapted to new shceme of Event Biasing mechanism,
478   consistently with track-00-04-01 tag.
479
480November 11,1998 M. Verderi
481   Merge of param-00-03-02 & param-00-03-02a into
482   param-00-03-04a (hopefully...)
483   The point is the chnage of signature in the
484   LocateGlobalPointAndSetup(..) of the G4Navigator making use now
485   of the track direction. The G4FastSimulationManagerProcess is
486   changed accordingly:
487   fGhostNavigator.LocateGlobalPointAndSetup(track.GetPosition(), &direction, true);
488
489
490November 6, 1998 M. Verderi
491   - Extension of the G4FastStep to allow the biasing technic.
492     Changes are made in:
493                - G4FastStep.hh/.icc:
494                        new member G4BiasingTag fBiasTag;
495                        new method SetPrimaryTrackFinalBiasingTag
496                                ( G4BiasingTag aTag );
497                - G4FastStep.cc:
498                        Initialize();
499                        operator=;   
500                        UpdateForPostStep();
501                        UpdateForAtRest(); 
502
503October 26, 1998  P.Mora de Freitas
504   - G4FastSimulationManagerProcess and G4FastSimulationManager adapted to deal
505     with at rest parameterisations also when using parallel geometry.
506
507October  8, 1998  P.Mora de Freitas
508   - The G4VFastSimulationModel::IsApplicable() becomes a pure virtual
509     methode.
510   - G4FastSimulationManager optimisation:
511     - New G4ParticleDefinition* fLastCrossedParticle data member, keeps
512       the last particle type with touched the envelope;
513     - New G4RWTPtrOrderedVector<G4VFastSimulationModel> fApplicableModelList
514       data member, keeps the model list of the applicable models for
515       the actual fLastCrossedParticle particle type;
516     - Changes in the PostStepGetFastSimulationManagerTrigger() and
517       AtRestGetFastSimulationManagerTrigger()methodes to update the
518       fApplicableModelList when needed (fLastCrossedParticle !=
519       the actual tracked particle);
520     - Changes in the
521        G4FastSimulationManager() (Constructor)
522        ActivateFastSimulationModel(),
523        InActivateFastSimulationModel(),
524        AtRestGetFastSimulationManagerTrigger(),
525        AddFastSimulationModel(),
526        RemoveFastSimulationModel()
527        methodes to set the fLastCrossedParticle to NULL, forcing the
528        fApplicableModelList to be rebuilt.
529
530September 22, 1998  P.Mora de Freitas
531   Fixed bug in parallel navigation.
532   File touched: G4FastSimulationManagerProcess.cc
533   Tested on HP-aCC.
534
535September 17, 1998  P.Mora de Freitas
536   G4FastSimulationManager::RemoveFastSimulationModel() updated to look
537for also in the fInactivatedModels list.
538
539  Tested on HP-aCC.
540
541September 16, 1998  P.Mora de Freitas
542   New /param/ control commands:
543
544  /param/ActivateModel <ModelName>
545  /param/InActivateModel <ModelName>
546
547  Activate or inactivate a given parameterisation model.
548
549  Tested on HP-aCC.
550
551August 21, 1998  P.Mora de Freitas
552  G4FastSimulationManagerProcess's G4ProcessType set to
553fParameterisation, accordingly with procman-00-02-03.
554
555  Tested on HP-aCC.
556
557August 12, 1998  P.Mora de Freitas
558  Improved the "close parameterisation control" to
559
560  1) avoid the close looping when unnecessary (mostly cases);
561  2) force re-close when necessary (insert/remove ghosts).
562
563  Changes:
564
565  1) the G4GlobalFastSimulationManager::fClosed is now initialised
566     to true by the G4GlobalFastSimulationManager constructor;
567
568  2) new method
569
570     void
571     G4GlobalFastSimulationManager::FastSimulationNeedsToBeClosed();
572
573     called by the AddGhostPlacement and RemoveGhostPlacement
574     G4FastSimulationManager methods to set false the fClosed flag;
575
576  3) changes in the G4GlobalFastSimulationManager::Notify method
577     to deal with these changes.
578
579  Tested on HP-aCC.
580
581August 11, 1998  P.Mora de Freitas
582  Fix to the G4FastStep::KillPrimaryTrack() method to drop the
583nonsense line
584
585  SetMomentumChange(0.,0.,0.) ; /* necessary ? */
586
587  Tested on HP-aCC.
588  (Thanks to Willy Langeveld)
589
590
591August 10, 1998  P.Mora de Freitas
592  Fix to the SetPrimaryTrackFinalKineticEnergyAndDirection() method
593from the G4FastStep class the SetMomentumChange() call to insure that
594the new momentum direction is a unit vector (as asked by the
595G4DynamicParticle::SetMomentumDirection method).
596
597  Touched files: G4FastStep.hh (improved comments)
598                 G4FastStep.cc (fixed)
599
600  Tested on HP-aCC.
601  (Thanks to Willy Langeveld)
602
603August 7, 1998  P.Mora de Freitas
604  New /param/ commands directory with the commands:
605
606  /param/listEnvelopes [ParticleName]
607
608  - List all the envelope names for a given particle
609    (or for all particles if without parameters).
610
611  /param/listModels [EnvelopeName]
612
613  - List all the Model names for a given envelope
614    (or for all envelopes if without parameters).
615
616  /param/listIsApplicable [ModelName]
617
618  - List all the particle names a given model is applicable
619    (or for all models if without parameters).
620
621
622August 7, 1998  P.Mora de Freitas
623  History file Created.
Note: See TracBrowser for help on using the repository browser.