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

Last change on this file since 1340 was 963, checked in by garnier, 15 years ago

update processes

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