| 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 | ---------------------
|
|---|
| 10 | This file should be used by G4 developers and category coordinators
|
|---|
| 11 | to briefly summarize all major modifications introduced in the code
|
|---|
| 12 | and keep track of all category-tags.
|
|---|
| 13 | It DOES NOT substitute the CVS log-message one should put at every
|
|---|
| 14 | committal in the CVS repository !
|
|---|
| 15 |
|
|---|
| 16 | ----------------------------------------------------------
|
|---|
| 17 | * Reverse chronological order (last date on top), please *
|
|---|
| 18 | ----------------------------------------------------------
|
|---|
| 19 |
|
|---|
| 20 | March 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 |
|
|---|
| 25 | November 30 2007, M. Verderi
|
|---|
| 26 | - Add Along methods to G4FSMP process
|
|---|
| 27 | - tag as param-V09-00-01
|
|---|
| 28 |
|
|---|
| 29 | November 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 |
|
|---|
| 35 | May 18, 2007, M. Verderi
|
|---|
| 36 | - tag as param-V08-03-00
|
|---|
| 37 |
|
|---|
| 38 | May 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 |
|
|---|
| 46 | November 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 |
|
|---|
| 56 | November 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 |
|
|---|
| 70 | November 25, 2005, M.Verderi - param-V07-01-04
|
|---|
| 71 | - put back Makoto's change: StartTracking(G4Track*)
|
|---|
| 72 |
|
|---|
| 73 | November 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 |
|
|---|
| 80 | November 21, 2005 M.Asai - param-V07-01-02
|
|---|
| 81 | - Fix warning message.
|
|---|
| 82 |
|
|---|
| 83 | November 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 |
|
|---|
| 87 | October 28, 2005 M.Asai - param-V07-01-00
|
|---|
| 88 | - Working tag for merging "envelope" to G4Region.
|
|---|
| 89 |
|
|---|
| 90 | December 07, 2004 G. Cosmo - param-V06-02-01
|
|---|
| 91 | - Implemented migration to <cmath>.
|
|---|
| 92 |
|
|---|
| 93 | November 26, 2004 M. Verderi - param-V06-02-00
|
|---|
| 94 | - Implemented migration to new G4VParticleChange interfaces.
|
|---|
| 95 |
|
|---|
| 96 | December 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 |
|
|---|
| 100 | November 10, 2003 G. Cosmo - param-V05-02-01
|
|---|
| 101 | - G4FastTrack: use G4Navigator::CreateTouchableHistoryHandle() instead of
|
|---|
| 102 | CreateTouchableHistory() in method FRecordsAffineTransformation().
|
|---|
| 103 |
|
|---|
| 104 | October 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 |
|
|---|
| 109 | May 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 |
|
|---|
| 113 | Nov 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 |
|
|---|
| 118 | Nov 15, 2002 S. Sadilov - param-V04-01-01
|
|---|
| 119 | o Fixed compilation problems on Windows in
|
|---|
| 120 | G4FastSimulationManager.cc and G4GlobalFastSimulationManager.cc
|
|---|
| 121 |
|
|---|
| 122 | Nov 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 |
|
|---|
| 133 | Oct 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 |
|
|---|
| 144 | Apr 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 |
|
|---|
| 148 | Nov 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 |
|
|---|
| 158 | Aug 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 |
|
|---|
| 163 | Jun 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 |
|
|---|
| 173 | Jun 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 |
|
|---|
| 177 | May 30, 2000 M. Verderi & P. Mora de Freitas
|
|---|
| 178 |
|
|---|
| 179 | - parameterisation category is now RW free.
|
|---|
| 180 |
|
|---|
| 181 | September 16, 1999 M. Verderi & P. Mora de Freitas
|
|---|
| 182 |
|
|---|
| 183 | - Fixed bug in G4FastStep::CheckIt() method.
|
|---|
| 184 |
|
|---|
| 185 | April 19, 1999 M. Verderi & P. Mora de Freitas
|
|---|
| 186 |
|
|---|
| 187 | Changes in G4FastStep to co-work with track-01-00-04:
|
|---|
| 188 |
|
|---|
| 189 | 1) The method void CheckIt(const G4Track&) becomes
|
|---|
| 190 | G4bool CheckIt(const G4Track&);
|
|---|
| 191 | 2) The FAST_STEP_DEBUG compiling option disappears;
|
|---|
| 192 | 3) Call to CheckIt controled by the G4VParticleChange::debugFlag attribute.
|
|---|
| 193 |
|
|---|
| 194 | Miscellaneous: the declaration "G4double mass = masss =..." in G4FastStep.hh
|
|---|
| 195 | corrected to G4double mass =...".
|
|---|
| 196 |
|
|---|
| 197 | April 15, 1999 M. Verderi & P. Mora de Freitas
|
|---|
| 198 |
|
|---|
| 199 | Tasks to decouple visualization from processes/parameterisation:
|
|---|
| 200 |
|
|---|
| 201 | 1) G4GlobalFastSimulationManager now inherites from the intercoms/
|
|---|
| 202 | G4VGlobalFastSimulationManager to allow visualisation to get a
|
|---|
| 203 | concrete instance pointer to the G4GlobalFastSimulationManager,
|
|---|
| 204 | if any.
|
|---|
| 205 |
|
|---|
| 206 | 2) G4FlavoredParallelWorld now inherites from the intercoms/
|
|---|
| 207 | G4VFlavoredParallelWorld, a pure virtual abstract class to interface
|
|---|
| 208 | parameterisation with visualization.
|
|---|
| 209 |
|
|---|
| 210 | Co-works with intercoms-01-00-01 tag
|
|---|
| 211 |
|
|---|
| 212 | Modified files:
|
|---|
| 213 | ---------------
|
|---|
| 214 | G4FlavoredParallelWorld.hh
|
|---|
| 215 | G4GlobalFastSimulationManager.hh
|
|---|
| 216 | G4GlobalFastSimulationManager.cc
|
|---|
| 217 |
|
|---|
| 218 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 219 |
|
|---|
| 220 | April 14, 1999 M. Verderi & P. Mora de Freitas
|
|---|
| 221 |
|
|---|
| 222 | Several consolidation tasks (thanks to G. Cosmo):
|
|---|
| 223 |
|
|---|
| 224 | 1) Warning:
|
|---|
| 225 | -----------
|
|---|
| 226 |
|
|---|
| 227 | Pointers usage
|
|---|
| 228 |
|
|---|
| 229 | - Setting pointers to 0 after delete:
|
|---|
| 230 |
|
|---|
| 231 | delete pA;
|
|---|
| 232 | pA = 0;
|
|---|
| 233 |
|
|---|
| 234 | - Avoid to use "NULL".
|
|---|
| 235 |
|
|---|
| 236 | Modified files:
|
|---|
| 237 | ---------------
|
|---|
| 238 | G4FastSimulationManager.hh
|
|---|
| 239 | G4FastTrack.hh
|
|---|
| 240 | G4FlavoredParallelWorld.hh
|
|---|
| 241 | G4FastSimulationManager.cc
|
|---|
| 242 | G4FastSimulationMessenger.cc
|
|---|
| 243 | G4FastSimulationManagerProcess.cc
|
|---|
| 244 | G4FastTrack.cc
|
|---|
| 245 | G4GlobalFastSimulationManager.cc
|
|---|
| 246 | G4VFastSimulationModel.cc
|
|---|
| 247 |
|
|---|
| 248 | Status:
|
|---|
| 249 | -------
|
|---|
| 250 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 251 |
|
|---|
| 252 | 2) Warning:
|
|---|
| 253 | -----------
|
|---|
| 254 | include/G4FastSimulationManager.hh:163
|
|---|
| 255 | Public member functions shall always return const handles to member data
|
|---|
| 256 | Severe violation: Universal Coding Standards item 18
|
|---|
| 257 |
|
|---|
| 258 | offending code:
|
|---|
| 259 | ---------------
|
|---|
| 260 | inline G4VParticleChange* G4FastSimulationManager::GettheParticleChange()
|
|---|
| 261 | {
|
|---|
| 262 | return &fFastStep;
|
|---|
| 263 | }
|
|---|
| 264 |
|
|---|
| 265 | Diagnostic:
|
|---|
| 266 | ----------
|
|---|
| 267 |
|
|---|
| 268 | Called by the G4FastSimulationManagerProcess to return it in the
|
|---|
| 269 | PostStepDoIt call.
|
|---|
| 270 |
|
|---|
| 271 | Action:
|
|---|
| 272 | -------
|
|---|
| 273 | The G4FastSimulationManager::GettheParticleChange() method doesn't exist any
|
|---|
| 274 | more. The G4VParticleChange* is now returned directly when invoking the
|
|---|
| 275 | G4FastSimulationManager::InvokePostStepDoIt() and
|
|---|
| 276 | G4FastSimulationManager::InvokeAtRestDoIt() methodes.
|
|---|
| 277 |
|
|---|
| 278 | Modified files:
|
|---|
| 279 | ---------------
|
|---|
| 280 | G4FastSimulationManager.hh
|
|---|
| 281 | G4FastSimulationManager.cc
|
|---|
| 282 | G4FastSimulationManagerProcess.cc
|
|---|
| 283 |
|
|---|
| 284 | Status:
|
|---|
| 285 | -------
|
|---|
| 286 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 287 |
|
|---|
| 288 | 3) Warning:
|
|---|
| 289 | -----------
|
|---|
| 290 | include/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 |
|
|---|
| 295 | offending code:
|
|---|
| 296 | ---------------
|
|---|
| 297 | ~G4FastSimulationManagerProcess();
|
|---|
| 298 |
|
|---|
| 299 | Diagnostic:
|
|---|
| 300 | ----------
|
|---|
| 301 | Nobody should inherites from G4FastSimulationManagerProcess BUT for virtual
|
|---|
| 302 | is added.
|
|---|
| 303 |
|
|---|
| 304 | Action:
|
|---|
| 305 | -------
|
|---|
| 306 | virtual ~G4FastSimulationManagerProcess();
|
|---|
| 307 |
|
|---|
| 308 | Modified files:
|
|---|
| 309 | ---------------
|
|---|
| 310 | G4FastSimulationManagerProcess.hh
|
|---|
| 311 |
|
|---|
| 312 | Status:
|
|---|
| 313 | -------
|
|---|
| 314 | Done.
|
|---|
| 315 |
|
|---|
| 316 | 4) Warning:
|
|---|
| 317 | -----------
|
|---|
| 318 | include/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 |
|
|---|
| 324 | offending code:
|
|---|
| 325 | ---------------
|
|---|
| 326 | ~G4FastSimulationMessenger();
|
|---|
| 327 |
|
|---|
| 328 | Diagnostic:
|
|---|
| 329 | ----------
|
|---|
| 330 | Nobody should inherites from G4FastSimulationMessenger BUT for virtual
|
|---|
| 331 | is added.
|
|---|
| 332 |
|
|---|
| 333 | Action:
|
|---|
| 334 | -------
|
|---|
| 335 | virtual ~G4FastSimulationMessenger();
|
|---|
| 336 |
|
|---|
| 337 | Modified files:
|
|---|
| 338 | ---------------
|
|---|
| 339 | G4FastSimulationMessenger.hh
|
|---|
| 340 |
|
|---|
| 341 | Status:
|
|---|
| 342 | -------
|
|---|
| 343 | Done.
|
|---|
| 344 |
|
|---|
| 345 | 5) Warning:
|
|---|
| 346 | -----------
|
|---|
| 347 | include/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 |
|
|---|
| 352 | offending code:
|
|---|
| 353 | ---------------
|
|---|
| 354 | G4FastStep & 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 |
|
|---|
| 375 | Diagnostic:
|
|---|
| 376 | ----------
|
|---|
| 377 | Bug detected.
|
|---|
| 378 |
|
|---|
| 379 | Action:
|
|---|
| 380 | -------
|
|---|
| 381 | Insert the call
|
|---|
| 382 | G4VParticleChange::operator=(right);
|
|---|
| 383 |
|
|---|
| 384 | Status:
|
|---|
| 385 | -------
|
|---|
| 386 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 387 |
|
|---|
| 388 | Modified files:
|
|---|
| 389 | ---------------
|
|---|
| 390 | G4FastStep.cc
|
|---|
| 391 |
|
|---|
| 392 | 6) Warning:
|
|---|
| 393 | -----------
|
|---|
| 394 | include/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 |
|
|---|
| 401 | offending code:
|
|---|
| 402 | ---------------
|
|---|
| 403 | public:
|
|---|
| 404 | ...
|
|---|
| 405 | G4bool debugFlag;
|
|---|
| 406 |
|
|---|
| 407 | Diagnostic:
|
|---|
| 408 | ----------
|
|---|
| 409 | Historical usage.
|
|---|
| 410 |
|
|---|
| 411 | Action:
|
|---|
| 412 | -------
|
|---|
| 413 | Replaced by #ifdef FAST_STEP_DEBUG in the G4FastStep.cc file.
|
|---|
| 414 |
|
|---|
| 415 | Modified files:
|
|---|
| 416 | ---------------
|
|---|
| 417 | G4FastStep.hh, G4FastStep.cc
|
|---|
| 418 |
|
|---|
| 419 | Status:
|
|---|
| 420 | -------
|
|---|
| 421 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 422 |
|
|---|
| 423 | 7) Warning:
|
|---|
| 424 | -----------
|
|---|
| 425 | include/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 |
|
|---|
| 431 | offending code:
|
|---|
| 432 | ---------------
|
|---|
| 433 | ~G4FastStep();
|
|---|
| 434 |
|
|---|
| 435 | Diagnostic:
|
|---|
| 436 | ----------
|
|---|
| 437 | Nobody should inherites from G4FastStep BUT virtual added.
|
|---|
| 438 |
|
|---|
| 439 | Action:
|
|---|
| 440 | -------
|
|---|
| 441 | virtual ~G4FastStep();
|
|---|
| 442 |
|
|---|
| 443 | Modified files:
|
|---|
| 444 | ---------------
|
|---|
| 445 | G4FastStep.hh
|
|---|
| 446 |
|
|---|
| 447 | Status:
|
|---|
| 448 | -------
|
|---|
| 449 | Done, tested, system-tested on HP-aCC with exemple N05.
|
|---|
| 450 |
|
|---|
| 451 |
|
|---|
| 452 | December 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 |
|
|---|
| 472 | November 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 |
|
|---|
| 478 | November 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 |
|
|---|
| 488 | November 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 |
|
|---|
| 501 | October 26, 1998 P.Mora de Freitas
|
|---|
| 502 | - G4FastSimulationManagerProcess and G4FastSimulationManager adapted to deal
|
|---|
| 503 | with at rest parameterisations also when using parallel geometry.
|
|---|
| 504 |
|
|---|
| 505 | October 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 |
|
|---|
| 528 | September 22, 1998 P.Mora de Freitas
|
|---|
| 529 | Fixed bug in parallel navigation.
|
|---|
| 530 | File touched: G4FastSimulationManagerProcess.cc
|
|---|
| 531 | Tested on HP-aCC.
|
|---|
| 532 |
|
|---|
| 533 | September 17, 1998 P.Mora de Freitas
|
|---|
| 534 | G4FastSimulationManager::RemoveFastSimulationModel() updated to look
|
|---|
| 535 | for also in the fInactivatedModels list.
|
|---|
| 536 |
|
|---|
| 537 | Tested on HP-aCC.
|
|---|
| 538 |
|
|---|
| 539 | September 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 |
|
|---|
| 549 | August 21, 1998 P.Mora de Freitas
|
|---|
| 550 | G4FastSimulationManagerProcess's G4ProcessType set to
|
|---|
| 551 | fParameterisation, accordingly with procman-00-02-03.
|
|---|
| 552 |
|
|---|
| 553 | Tested on HP-aCC.
|
|---|
| 554 |
|
|---|
| 555 | August 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 |
|
|---|
| 579 | August 11, 1998 P.Mora de Freitas
|
|---|
| 580 | Fix to the G4FastStep::KillPrimaryTrack() method to drop the
|
|---|
| 581 | nonsense line
|
|---|
| 582 |
|
|---|
| 583 | SetMomentumChange(0.,0.,0.) ; /* necessary ? */
|
|---|
| 584 |
|
|---|
| 585 | Tested on HP-aCC.
|
|---|
| 586 | (Thanks to Willy Langeveld)
|
|---|
| 587 |
|
|---|
| 588 |
|
|---|
| 589 | August 10, 1998 P.Mora de Freitas
|
|---|
| 590 | Fix to the SetPrimaryTrackFinalKineticEnergyAndDirection() method
|
|---|
| 591 | from the G4FastStep class the SetMomentumChange() call to insure that
|
|---|
| 592 | the new momentum direction is a unit vector (as asked by the
|
|---|
| 593 | G4DynamicParticle::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 |
|
|---|
| 601 | August 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 |
|
|---|
| 620 | August 7, 1998 P.Mora de Freitas
|
|---|
| 621 | History file Created.
|
|---|