Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/basic/B2/History is written in an unsupported language. File is not indexed.

0001 # Example B2 History
0002 
0003 See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
0004 which **must** added in reverse chronological order (newest at the top).
0005 It must **not** be used as a substitute for writing good git commit messages!
0006 
0007 -------------------------------------------------------------------------------
0008 
0009 ## 2024-01-22 Gabriele Cosmo (exampleB2-V11-02-00)
0010 - Updated PrimaryGeneratorAction::GeneratePrimaries() in all B2 examples to
0011   avoid nonsense placing of the initial position on the world boundary.
0012 
0013 ## 2023-11-07 I. Hrivnacova (exampleB2-V11-01-03)
0014 - Fixed and improved setting of G4VisAttribute
0015   - Do not create vis attributes with new (causing memory leak)
0016   - Use Geant4 predefined colours (for clarity)
0017 
0018 ## 2023-11-07 I. Hrivnacova (exampleB2-V11-01-02)
0019 - Removed unsused and unimplemented method declaration
0020   PrimaryGeneratorAction::SetRandomFlag
0021 
0022 ## 2023-11-03 I. Hrivnacova (exampleB2-V11-01-01)
0023 - Applied auto in main where suitable and not done by clang-tidy
0024 - Minor formatting changes
0025 
0026 ## 2023-09-06 John Allison (exampleB2-V11-01-00)
0027 - For the new flexible run-time graphics system options:
0028 - B2a and B2b:
0029   - main programs:
0030     - Use constructor with arguments: new G4VisExecutive(argc, argv).
0031   - EventAction.cc, TrackerSD.cc:
0032     - Change G4int to std::size_t to eliminate precision loss warnings.
0033 - vis.mac in B2a/, B2b/ and macros/:
0034     - Change "/vis/open OGL 600x600-0+0" to "/vis/open" to allow run-time choices.
0035 
0036 ## 2022-05-20 I. Hrivnacova (exampleB2-V11-00-01)
0037 - Restore the top UI commands directory name ("B2") in B2a::DetectorMessenger
0038   removed by mistake in exampleB2-V10-07-02
0039   (https://github.com/Geant4/geant4/pull/46)
0040 
0041 ## 2021-12-10 Ben Morgan (exampleB2-V11-00-00)
0042 - Change to new Markdown History format
0043 
0044 ---
0045 
0046 # History entries prior to 11.0
0047 
0048 13-07-21 I. Hrivnacova (exampleB2-V10-07-02)
0049 - Introduced namespace instead of a class names prefix
0050 - Declare overriding functions 'override' (and removed 'virtual' keyword)
0051 
0052 31-05-21 I. Hrivnacova (exampleB2-V10-07-01)
0053 - Use nullptr instead of 0, NULL
0054 - Clean trailing whitespaces from all files
0055 
0056 30-05-21 M.Maire (exampleB2-V10-07-00)
0057 - exampleB2a,b.cc: use G4SteppingVerboseWithUnits
0058 
0059 02/11/20 B.Morgan (exampleB2-V10-06-02)
0060 - Support same CMake version range as core Geant4
0061 
0062 30/06/20 G. Cosmo (exampleB2-V10-06-01)
0063 - Migrated examples to use G4RunManagerFactory, therefore implicitly enabling
0064   tasking by default in MT builds.
0065 
0066 13/02/20 I. Hrivnacova  (exampleB2-V10-06-00)
0067 - Updated READMEs and added a comment in B2PrimaryGeneratorAction
0068   that starting a primary particle on the world boundary
0069   requires shooting in a direction towards inside the world
0070 
0071 21/11/19 G. Cosmo (exampleB2-V10-05-00)
0072 - Use default MixMax random engine.
0073 
0074 13/03/18 I. Hrivnacova  (exampleB2-V10-04-00)
0075 - Modified exampleB2.in test to reduce the output
0076 
0077 19/11/16 A. Dotti   (exampleB2-V10-02-01)
0078 - explitic set of SD to manager
0079 
0080 01/11/16 L. Garnier (exampleB2-V10-02-00)
0081 - Remove icons.mac. Automatically include since interfaces-V10-02-07
0082 
0083 29/11/14 I. Hrivnacova
0084 - Use G4endl instead of \n in G4cout;
0085   this makes each new line in the output on threads preceded with
0086   G4WTN >
0087 
0088 06/11/14 I. Hrivnacova
0089 - Finalized modifications in previous tags (02, 03):
0090   - Removed G4UI_USE/G4VIS_USE tests and init.mac macro (not needed)
0091   - Moved G4UIExecutive at the beginning of main() in all examples
0092   - Perform run initialization in macros instead of main()
0093 
0094 31/10/14 L. Garnier (exampleB2-V10-00-02 - exampleB2-V10-00-03)
0095  exampleB2b :
0096   - Fix a warning (perhaps a crash)
0097   - Fix a warning "'ui' may be used uninitialized in this function"
0098 
0099 31/10/14 L. Garnier (exampleB2-V10-00-01)
0100  exampleB2a/exampleB2b :
0101   - Remove old G4UI_USE/G4VIS_USE
0102   - Move G4UIExecutive at the beginning of main()
0103 
0104 02 December 2013 Ivana Hrivnacova
0105 - Fixed gui.mac:
0106   corrected wireframe parameter, removed run2.mac from gui
0107 
0108 30/11/13 I. Hrivnacova
0109 - Fixed B2a/gui.mac
0110 
0111 28/11/13 I. Hrivnacova (exampleB2-V09-06-12)
0112 - Clean-up macros (fixed B2a/gui.mac, removed obsolete comments)
0113 
0114 26/11/13 I. Hrivnacova (exampleB2-V09-06-11)
0115 - Fixed deleting fMagFieldMessenger with use of G4AutoDelete utility
0116 
0117 12/11/13 I. Hrivnacova (exampleB2-V09-06-10)
0118 - Avoid long lines
0119 
0120 29/10/13 I. Hrivnacova (exampleB2-V09-06-09)
0121 - Using G4RunManager::SetPrintProgress()
0122 - Removed SetNumberOfThreads(4) from main (use Geant4 default)
0123 - Fixed deleting fMagFieldMessenger in DetectorConstruction
0124 - Updated README
0125 
0126 10/09/13 I. Hrivnacova (exampleB2-V09-06-08)
0127 - Removed "tcsh" selection from G4UIExecutive in exampleB2b.cc
0128   (unwantedly introduced with previous update)
0129 
0130 04/09/13 I. Hrivnacova (exampleB2-V09-06-07)
0131 - Magnetic field classes (B2MagneticField, B2FieldMessenger) replaced
0132   with use of new G4GlobalMagFieldMessenger class.
0133 
0134 27/08/13 G.Cosmo (exampleB2-V09-06-06)
0135 - Added G4Ellipsoid among solids enabled for parameterisation in B2b.
0136 
0137 14/08/13 P. Gumplinger (exampleB2-V09-06-05)
0138 - Removed static comment in B2MagneticField.hh for GetGlobalFieldManager.
0139 
0140 26/06/13 G. Cosmo (exampleB2-V09-06-04)
0141 - Fixed use of G4Random instead of HepRandom in B2b.
0142 
0143 04/06/13 I. Hrivnacova (exampleB2-V09-06-03)
0144 - Fixed reference to B2ActionInitialization in README and .README
0145 
0146 04/06/13 P. Gumplinger (exampleB2-V09-06-02)
0147 - add section about ACTION INITALIZATION to README and .README
0148 
0149 10/05/13 I. Hrivnacova (exampleB2-V09-06-01)
0150 - Minor fixes in documentation
0151 - Added initialization of base class in constructors where missing
0152 
0153 09/05/13 M. Asai
0154 - Migration to multi-threading
0155 
0156 28/02/13 I. Hrivnacova
0157 - When building materials with NistManager
0158   do not set fromIsotopes argument (which was set to false),
0159   as since 9.6 all materials have to be built from isotopes.
0160   Thanks to V. Ivantchenko for pointing at this.
0161 
0162 02/02/13 V.Ivanchenko (exampleB2-V09-06-00)
0163 - Renamed G4StepLimiterBuilder by G4StepLimiterPhysics
0164 - minor fix of GNUmakefile
0165 
0166 18/09/12 I. Hrivnacova
0167 - Updated vis.mac (on suggestions by John Al.):
0168   - Activating drawing hits in vis.mac macros
0169   - Increased hit screen size (from 2 to 4)
0170   - In TrackerSD: removing obsolete line with
0171   //newHit->Draw();
0172 - General changes (see basic/History)
0173 
0174 15/11/11 I. Hrivnacova
0175 - Migration to new G4Exception in B2aDetectorConstruction.cc
0176   and B2bChamberParameterisation.cc.
0177 
0178 14/11/11 I. Hrivnacova
0179 - The first tagged version of the new B2 example created from N02
0180   example by P. Gumplinger (tagged in basic).
0181   Started from novice/N03.
0182 
0183 05-07-11 gum
0184 migrate to new novice example code guidelines
0185 
0186 03-06-11 mma (exampleN02-V09-04-02)
0187 PhysicsList migrated to new scheme G4PhysListHelper
0188 
0189 10-02-11 mma (exampleN02-V09-04-01)
0190 - update SteppingVerbose
0191 
0192 01-02-11 mma (exampleN02-V09-04-00)
0193 - /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1
0194 
0195 04-06-10 J.Perl (exampleN02-V09-03-01)
0196 - Updated vis usage
0197 
0198 22-01-10 mma (exampleN02-V09-03-00)
0199 - DetectorConstruction::SetMagField() : fpMagField->SetMagFieldValue()
0200 
0201 15-11-09 mma (exampleN02-V09-02-01)
0202 - Use G4MuMultipleScattering for muons
0203 - Separate alpha from GenericIon
0204 
0205 30 October 2009 John Allison (exampleN02-V09-02-00)
0206 - Introduced G4UIExecutive.
0207 
0208 17-12-08 mma
0209 - vis.mac : /vis/scene/add/trajectories smooth
0210 
0211 31-10-08 mma (exampleN02-V09-01-04)
0212 - Use G4hMultipleScattering for muons and protons
0213 
0214 26-10-08 mma (exampleN02-V09-01-03)
0215 - Update PhysicsList for proton and ions
0216 
0217 22-09-08 mma (exampleN02-V09-01-02)
0218 - PhysicsList : AddStepMax() for G4StepLimiter
0219 - DetectorConstruction : SetMaxStep(value)
0220 - DetectorMessenger : /N02/det/stepMax
0221 
0222 07-05-08 J.Allison (exampleN02-V09-01-01)
0223 - Protected "/control/execute vis.mac" with G4VIS_USE flag.
0224 
0225 03-05-08 mma (exampleN02-V09-01-00)
0226 - PhysicsList : replace G4MultipleScattering by G4eMultipleScattering
0227 
0228 17-10-07 G.Cosmo (exampleN02-V09-00-02)
0229 - Explicitely delete allocated parameterisation and step-limit objects
0230   in ExN02DetectorConstruction class.
0231 
0232 22-08-07 G.Cosmo (exampleN02-V09-00-01)
0233 - Fixed implementation of ExN02MagneticField class in way field is set...
0234 
0235 25-06-07 M.Maire (exampleN02-V08-03-01, exampleN02-V09-00-00)
0236 - Cosmetics in main().
0237 
0238 11-05-07 G.Cosmo (exampleN02-V08-03-00)
0239 - Show usage of G4GeometryTolerance tuned for the geometry topology.
0240 
0241 12-12-06 G.Cosmo (exampleN02-V08-01-01)
0242 - Commented out drawing of hits in vis.mac.
0243 
0244 06-11-06 J.Allison (exampleN02-V08-01-00)
0245 - Improved vis.mac to vis best practice.
0246 
0247 16-06-06 G.Cosmo (exampleN02-V08-00-03)
0248 - Use coherent allocation scheme for user-classes and
0249   initialisation in main().
0250 
0251 15-06-06 G.Cosmo (exampleN02-V08-00-02)
0252 - Separate instantiation of the user-stepping-verbose class from
0253   initialisation of the G4VSteppingVerbose singleton.
0254 
0255 02-06-06 mma (exampleN02-V08-00-01)
0256 - ExN02TrackerSD.cc: replace Touchable by TouchableHandle
0257 
0258 31-03-06 mma (exampleN02-V08-00-00)
0259 - Add a sentence in README for G4UserLimits and G4StepLimiter.
0260 
0261 01-06-05 J.Allison  (exampleN02-V07-00-03)
0262 - ExN02TrackerHit.cc: Changed screen size to 2 pixels.
0263 
0264 31-05-05 mma (exampleN02-V07-00-02)
0265 - G4UserLimits + G4StepLimiter become uncommented
0266 
0267 30-05-05  J.Allison  (exampleN02-V07-00-01)
0268 - Completed replacement of vis manager with G4VisExecutive.
0269 
0270 3rd May 2005 J.Allison  (examples-V07-00-03)
0271 - Replaced vis manager with G4VisExecutive.
0272 
0273 28-01-05 mma (exampleN02-V07-00-00)
0274 - PhysicsList: add G4StepLimiter (in a commented line)
0275 
0276 16-09-04 mma (exampleN02-V06-02-01)
0277 - DetectorConstruction: modify a comment in PVPlacement. // copy number
0278 
0279 08-09-04 J.Allison (exampleN02-V06-02-00)
0280 - Removed trajectory printing from ExN02EventAction - now available
0281   with /vis/scene/add/trajectories, which is now included in vis.mac.
0282 
0283 05-04-04 mma (exampleN02-V06-01-00)
0284 - ExN02DetectorConstruction: correct definition of XenonGas
0285 
0286 19-03-04 mma (exampleN02-V06-00-01)
0287 - ExN02PhysicsList: cleanup of include
0288 
0289 08-03-04 mma (exampleN02-V06-00-00)
0290 - ExN02RunAction: removed ApplyCommand("/vis/...") statements.
0291 
0292 10-11-03 G.Cosmo (exampleN02-V05-02-03)
0293 - Removed OPACS driver from vis-manager.
0294 - Cleared warnings for parameterised detectors.
0295 
0296 30-10-03 G.Cosmo (exampleN02-V05-02-02)
0297 - Cleared compilation warnings due to new class G4Orb.
0298 
0299 24-10-03 mma (exampleN02-V05-02-01)
0300 - PhysicsList: AddProcess(Bremsstrahlung,-1,3,3) ..etc..
0301 
0302 06-10-03 mma (exampleN02-V05-02-00)
0303 - cosmetic cleanup in material definitions
0304 
0305 28-05-03 G.Cosmo (exampleN02-V05-01-00)
0306 - Get rid of pedantic warnings...
0307 
0308 25-03-03 mma (exampleN02-V05-00-02)
0309 - Use G4PVPlacement and G4PVParametrised constructors in logical mother.
0310 
0311 11-02-03 mma (exampleN02-V05-00-00)
0312 - a blank in SteppingVerbose
0313 
0314 27-11-01 mma (exampleN02-V03-02-04)
0315 - vis.mac: /vis/viewer/set/viewpointThetaPhi
0316 
0317 19-11-01 J.Allison (exampleN02-V03-02-03)
0318 - Updated ExN02VisManager.cc for new graphics systems and defaults.
0319 
0320 07-11-01 S.Tanaka (exampleN02-V03-02-02)
0321 - vis.mac: /vis/viewer/refresh + /vis/viewer/update is replaced
0322   with their equivalent command /vis/viewer/flush.
0323 
0324 24-10-01 mma (exampleN02-V03-02-01)
0325 - initInter.mac renamed vis.mac
0326 
0327 19-10-01 S.O'Neale (examples-V03-02-00)
0328 - Update reference output
0329 
0330 11-10-01 mma (exampleN02-V03-02-00)
0331 - adapted to new visualisation commands (initInter and EventAction)
0332 - 80 columns max everywhere
0333 
0334 12-07-01 mma
0335 - DetectorMessenger: setField, help: magnetic field in X dirction
0336 
0337 20-02-01 S.O'Neale (exampleN02-V03-00-03) update reference outputs following
0338    materials-V03-00-04 (tagset 268)
0339 
0340 09-02-01 M.Asai (exampleN02-V03-00-02)
0341 - Migration to STL vector classes
0342  affected file : ExN02SteppingVerbose.cc
0343 
0344 31-02-05 S.O'Neale (exampleN02-V03-00-01)
0345 - update reference output for Batch Mode system testing for
0346   exampleN02-V03-00-00 and recent EM Physics tags.
0347 
0348 31-01-01 G.Cosmo (exampleN02-V03-00-00)
0349 - fix to ExN02ChamberParameterisation and ExN02DetectorConstruction
0350   to cope with bug report #186. Parameterisation of chambers was not
0351   taking into account that copyNo starts from 0, therefore dimensions
0352   of the first chamber (parametrised G4Box) were set to negative values (!).
0353   This was causing the side-effect of visualising a "ghost" chamber (the
0354   first one close to the target), which was correctly not seen by tracking.
0355   Therefore, number of chambers is now reduced to 5 but global positioning
0356   and parameters have been preserved.
0357 
0358 06-12-00 S.O'Neale (exampleN02-V02-00-03)
0359 - update reference output for Batch Mode system testing
0360   in this context 0 trajectories stored is normal.
0361 
0362 03-12-00 M.Maire (exampleN02-V02-00-02)
0363 - README updated
0364 - prerun.g4mac updated for new vis commands, and renamed initInter.mac
0365 - new examples of macro: run1.mac, ruN2.mac
0366 - G4UItcsh in the main, under the control of G4UI_USE_TCSH (for Linux)
0367 - visualisation on interactive mode
0368 - DetectorConstruction: tracker region in the centre of the world.
0369   default target material: Pb, chamber material: Xenon
0370 - interactive commands to change the materials and to setup a magnetic field
0371 - the magnetic field is transverse to the beam (i.e. along x)
0372 - PhysicsList: copy of N03. defaultCut = 1 cm
0373 - PrimaryGenerator: default momentum direction corrected: along z.
0374   Suppress the possibility of random impact and the associated messenger.
0375 - RunAction and EventAction updated for vis commands
0376 - SteppingAction: cleanup because no specific actions
0377 - SteppingVerbose: see README
0378 - TrackerHit: a Hit = 4 informations: trackID, chamberNb, edep, position.
0379   Draw and Print
0380 - TrackerSD: ProcessHits.
0381   Print HitsCollection at end of event
0382 
0383 25th November 2000 Steve O'Neale (tagset210)
0384 - Update test outputs for min.delta energy cut
0385 - Update test outputs for emlowen-V02-00-22 and stand,muon,xray,utils.
0386 
0387 Nov 09, 2000  V.Grichine     (exampleN02-V02-00-00)
0388 - Fix in ExN02MagneticField constructors: added call to SetDetectorField()
0389   to activate user-defined magnetic-field.
0390 - Updated exampleN02.out.
0391 
0392 June 24, 2000  John Allison  (exampleN02-V01-01-03)
0393 - Updated exampleN02.out for stand-V01-01-05 and utils-V01-01-03.
0394 
0395 June 17, 2000  John Allison  (exampleN02-V01-01-02)
0396 - Updated exampleN02.out for exampleN02-V01-01-01.
0397 
0398 June 19, 2000  G.Cosmo  (exampleN02-V01-01-01)
0399 - Fixed length of detector box to include tracker in ExN02DetectorConstruction.
0400 - Cosmetic changes to comments.
0401 
0402 June 17, 2000  John Allison  (exampleN02-V01-01-00)
0403 - Updated exampleN02.out for geant4-01-01-ref-06.
0404 
0405 25-02-00 H.Kurashige
0406 - removed RhoZeroDefinition from PhysicsList
0407 
0408 15-11-99 M.Maire
0409 - example of user SteppingVerbose class: verbose with units
0410 
0411 16th April 1999 H.Kurashige
0412 - modify ExN02SteppingAction::UserSteppingAction
0413 - modify ExN02PhysicsList::SetCuts
0414 
0415  4th December 1998 John Apostolakis
0416 
0417 - corrected the Magnetic Field  SetField methods
0418 - cosmetic change to the name of a volume (chamber), as it was too long.
0419 
0420 12th Sptember 1998 Michel Maire
0421 - removed the function SetEmProcess() ( contained cin)
0422   and the class ExN02PhysicsListMessenger
0423 
0424     Interchanged N02 and N03.
0425 
0426 9th August 1998  John Allison
0427 - Removed trackerChamber_logVisAtt->SetForceWireframe(true);
0428 - Removed G4_SOLVE_TEMPLATES macros (now done in architecture.gmk).
0429 - Change G4UIterminal to G4UIGAG.
0430 
0431 16th July 1998  John Allison
0432 - Changed /vis~/Draw... to /vis~/draw.
0433 
0434 9th July 1998  John Allison
0435 - Added G4VIS_USE_DAWNFILE and G4VIS_USE_OPENGLWIN32 to ExN03VisManager.cc.
0436 
0437 8th July 1998  G.Cosmo
0438 - Protected visualization code with G4VIS_USE.
0439 
0440 6th July 1998  John Allison
0441 - Simplified ExN03VisManager.
0442 
0443 June 29 , 98 H.Kurashige
0444 - Modified ExN03PhysicsList.
0445 
0446 May   15, 98 G. Cosmo
0447 
0448 - Added #ifdef protection to ExN03MagneticField.hh. Header now
0449   included explicitly in ExN03DetectorConstruction.hh. Example now
0450   links.
0451 
0452 May   07, 98 J. Apostolakis
0453 
0454 - Created Physical Volume Parameterisation for Tracker Chambers.
0455 - Copied from example6:
0456        MyTrackerHit into ExN03TrackerHit
0457 
0458 May   05, 98 J. Apostolakis
0459 
0460 - Changed the geometry in DetectorConstruction.
0461 - Created the Magnetic Field
0462 
0463 May   01, 98 J. Apostolakis
0464 
0465 - Files created by copying from exampleEmPhys2, renaming the files
0466     and the classes within them, changing the string "My" into
0467 
0468 - Major changes made:
0469   * Event action: deleted energy counting.
0470 
0471 
0472 April 09, 98 G. Cosmo
0473 
0474 - Created.