Ivana Hrivnacova [Wed, 14 Aug 2013 10:00:43 +0000 (12:00 +0200)]
Making last update in TG4PhysicsManager compatible with Geant6 9.6.x
Ivana Hrivnacova [Wed, 14 Aug 2013 09:23:12 +0000 (11:23 +0200)]
Migration to Geant4 10.00.b01
(kept compatibility with 9.6.x via preprocessor option)
- removed TG4RootSolid::CreateNURBS()
- changed theParticleIterator with aParticleIterator in physics
constructor classes
- get physicsVector via new G4VMPLData class in modular physics
list classes (it is not a data member anymore)
- added new processes names in TG4ProcessControlMapPhysics and
TG4ProcessMCMapPhysics
Ivana Hrivnacova [Wed, 14 Aug 2013 09:10:04 +0000 (11:10 +0200)]
Removed unsused data member TG4StepManager::fTouchableHistory
Ivana Hrivnacova [Mon, 17 Jun 2013 08:08:36 +0000 (10:08 +0200)]
- Added printing in SetIsUserMaxStep() and SetIsMaxStepInLowDensityMaterials()
- Extended guidelines for /mcDet/setLimitDensity and /mcDet/setMaxStepInLowDensityMaterials commands
Ivana Hrivnacova [Fri, 14 Jun 2013 13:25:38 +0000 (15:25 +0200)]
- Making applying step limit in low density materials optional (default is
off, what is different from previous)
- Adding commands:
/mcDet/setIsUserMaxStep true|false
/mcDet/setIsMaxStepInLowDensityMaterials true|false
Ivana Hrivnacova [Thu, 23 May 2013 14:33:38 +0000 (16:33 +0200)]
Fix g4libs.C to handle correctly using external CLHEP
(From I. Das)
ivana [Fri, 10 May 2013 21:39:23 +0000 (23:39 +0200)]
Fixed missing initialization of fIsPrint in ctor
(reported by Oliver Freyermuth)
Fons Rademakers [Sun, 5 May 2013 15:44:01 +0000 (17:44 +0200)]
Add default .gitattributes.
Fons Rademakers [Sun, 5 May 2013 15:43:47 +0000 (17:43 +0200)]
Convert svn:ignore properties to .gitignore.
Ivana Hrivnacova [Mon, 25 Feb 2013 14:32:24 +0000 (14:32 +0000)]
- Added -b option to root.exe (to suppress opening visualization window)
- Fixed destination file in A01 test with G4 native geometry
Ivana Hrivnacova [Mon, 25 Feb 2013 14:29:50 +0000 (14:29 +0000)]
Adding setting media parameters (needed for Geant3)
Ivana Hrivnacova [Mon, 25 Feb 2013 12:01:38 +0000 (12:01 +0000)]
- Fixed setting of PAI model to selected particles in TG4EmModelPhysics
and TG4EmModelPhysics default name (needed for mcVerbose command)
- Fixed units in TG4RegionsManager::PrintRegions()
Ivana Hrivnacova [Tue, 12 Feb 2013 09:55:05 +0000 (09:55 +0000)]
Commented out debug line
Ivana Hrivnacova [Tue, 12 Feb 2013 09:40:09 +0000 (09:40 +0000)]
Fix in loading Geant4 libraries: now libG3toG4 is included in the
geant4-config --libs output
Ivana Hrivnacova [Sat, 26 Jan 2013 10:45:07 +0000 (10:45 +0000)]
Fixed filling optical photon status in TVirtualMC::StepProcess(),
as the G4StepPoint::GetProcessDefinedStep() now returns G4Transportation
and not G4OpBoundaryProcess as before.
Ivana Hrivnacova [Fri, 14 Dec 2012 13:30:33 +0000 (13:30 +0000)]
Making version v2.14
Ivana Hrivnacova [Fri, 14 Dec 2012 13:28:14 +0000 (13:28 +0000)]
Adding reference logs for new A01 example
Ivana Hrivnacova [Fri, 14 Dec 2012 13:27:20 +0000 (13:27 +0000)]
Making version v2.14
Ivana Hrivnacova [Fri, 14 Dec 2012 13:25:08 +0000 (13:25 +0000)]
Adding test macro in A01
Ivana Hrivnacova [Fri, 14 Dec 2012 11:59:21 +0000 (11:59 +0000)]
Putting all G3toG4 dependend code behind USE_G3TOG4 option,
which is activated by default and can be inactivated via NO_G3TOG4
environment variable
Ivana Hrivnacova [Thu, 13 Dec 2012 15:03:16 +0000 (15:03 +0000)]
In g4root:
Added TG4RootNavigator::GetGlobalExitNormal(), required with Geant4 9.6.
(Andrei)
Ivana Hrivnacova [Wed, 12 Dec 2012 10:56:18 +0000 (10:56 +0000)]
Adding comments for Doxygen also in files in A01/geant4 and E03/geant4
Ivana Hrivnacova [Wed, 12 Dec 2012 10:54:59 +0000 (10:54 +0000)]
Adding *.hh in FILE_PATTERNS
Ivana Hrivnacova [Mon, 10 Dec 2012 16:25:02 +0000 (16:25 +0000)]
Fixed comments for Doxygen (moving to Doxygen 1.8.x)
Ivana Hrivnacova [Mon, 10 Dec 2012 14:59:24 +0000 (14:59 +0000)]
Adding gMC->SetCollectTracks(kTRUE);
Ivana Hrivnacova [Mon, 10 Dec 2012 14:57:28 +0000 (14:57 +0000)]
Reduced default number of particles (to 10) and events (to 5)
to get reasonable visualization
Ivana Hrivnacova [Mon, 10 Dec 2012 14:56:49 +0000 (14:56 +0000)]
- Fixed default parameters to get reasonable visualization:
default primary changed to muon+; 5 event
Ivana Hrivnacova [Mon, 10 Dec 2012 14:55:47 +0000 (14:55 +0000)]
Updated visualization with TGeo
Ivana Hrivnacova [Mon, 10 Dec 2012 14:55:13 +0000 (14:55 +0000)]
Updated comments about drawing tracks with TGeo
Ivana Hrivnacova [Mon, 10 Dec 2012 13:56:34 +0000 (13:56 +0000)]
Removed setting of optical surface model (not available in 9.6)
Ivana Hrivnacova [Mon, 10 Dec 2012 13:43:57 +0000 (13:43 +0000)]
Adding A01 example in run_suite.sh and test_suite.sh
Ivana Hrivnacova [Mon, 10 Dec 2012 13:43:02 +0000 (13:43 +0000)]
Fixed documentation for Doxygen 1.8.x (indention has to be < 4 characters)
Ivana Hrivnacova [Mon, 10 Dec 2012 13:41:29 +0000 (13:41 +0000)]
Reduced default number of particles (to 10) and events (to 5)
to get reasonable visualization
Ivana Hrivnacova [Mon, 10 Dec 2012 13:39:39 +0000 (13:39 +0000)]
Default physics list changed to FTFP_BERT to be consistent with
the examples in Geant4 9.6
Ivana Hrivnacova [Mon, 10 Dec 2012 12:20:35 +0000 (12:20 +0000)]
Renamed headers in geant4 with .hh extension
(to be consistent with E03)
Ivana Hrivnacova [Mon, 10 Dec 2012 12:07:35 +0000 (12:07 +0000)]
- Fixed default parameters to get reasonable visualization:
default primary changed to muon+; 5 event
_ Fixed geant4/src/A01DetectorConstruction.cxx:
ContructMaterials() was commented out by mistake
Ivana Hrivnacova [Thu, 6 Dec 2012 13:30:00 +0000 (13:30 +0000)]
Migration to Geant4 9.6
Ivana Hrivnacova [Thu, 6 Dec 2012 13:28:32 +0000 (13:28 +0000)]
In examples:
Improved g4vis.in macros and removed use of gean4_vmc commands (now removed)
Ivana Hrivnacova [Thu, 6 Dec 2012 13:23:10 +0000 (13:23 +0000)]
- Removed obsolete classes handling volume tree:
TG4LVStructure, TG4LVTree, TG4LVTreeMessenger
- Removed obsolete methood TG4EventAction::DisplayEvent
- Removed obsolete command /mcEvent/drawTracks
Ivana Hrivnacova [Wed, 5 Dec 2012 16:44:22 +0000 (16:44 +0000)]
Updated according to source/Makefile:
use of root-config, geant4-config; fixed list of headers
Ivana Hrivnacova [Wed, 5 Dec 2012 16:42:12 +0000 (16:42 +0000)]
- Added explicit includes of G4SystemOfUnits.hh (required for Geant4 9.6);
- Fixed compiler warnings
- Updated welcome message
Ivana Hrivnacova [Wed, 5 Dec 2012 16:06:47 +0000 (16:06 +0000)]
In geant4_vmc:
Migration to Geant 9.6: mapping new processes.
Ivana Hrivnacova [Wed, 5 Dec 2012 14:07:09 +0000 (14:07 +0000)]
Added explicit includes of G4SystemOfUnits.hh and G4PhysicalConstants.hh
(required by Geant4 9.6)
Ivana Hrivnacova [Wed, 5 Dec 2012 14:06:30 +0000 (14:06 +0000)]
Added explicit include of G4SystemOfUnits.hh;
commented out declaration of unused variables
Ivana Hrivnacova [Wed, 5 Dec 2012 14:05:08 +0000 (14:05 +0000)]
Added explicit includes of G4SystemOfUnits.hh and G4PhysicalConstants.hh
(required by Geant4 9.6)
Ivana Hrivnacova [Mon, 15 Oct 2012 10:22:57 +0000 (10:22 +0000)]
Improving TG4VSpecialCuts:
reorganized code to avoid unnecessary calculations before tests
Ivana Hrivnacova [Mon, 14 May 2012 14:22:41 +0000 (14:22 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:21:09 +0000 (14:21 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:11:56 +0000 (14:11 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:11:37 +0000 (14:11 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:08:48 +0000 (14:08 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:08:05 +0000 (14:08 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:07:38 +0000 (14:07 +0000)]
Adding new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:05:06 +0000 (14:05 +0000)]
Adding a directory for new example A01
Ivana Hrivnacova [Mon, 14 May 2012 14:00:57 +0000 (14:00 +0000)]
In E02, E03: fixing comments for Doxygen
Ivana Hrivnacova [Sat, 12 May 2012 22:47:34 +0000 (22:47 +0000)]
In geant4_vmc:
Fix in TG4OpGeometryManager::AddUnit(): all the "*SCINTILLATIONYIELD" properties
(for specific particles) are defined without a unit.
Ivana Hrivnacova [Sat, 12 May 2012 22:35:31 +0000 (22:35 +0000)]
In geant4_vmc:
- In GetCurrentOffPhysicalVolume(..): use G4VTouchable::GetVolume(level)
instead of GetHistory()->GetVolume(index)
- Adjust copyNo offset also for replicated physical volumes besides
the parameterised ones (needed to support G4 native geometries)
- Taking into account the user limits defined in Geant4 native geometry
- Minor fix in handling the user physics selection in TG4RunConfiguration
(to avoid building an empty extra physics list)
Ivana Hrivnacova [Wed, 9 May 2012 10:17:55 +0000 (10:17 +0000)]
In geant4_vmc:
In TVirtualMC::SetMaterialProperty(..) implementation:
Added TG4OpGeometryManager::AddUnit() function which checks
the applicability of the defined material property and adds
unit where required in a consistent way.
Ivana Hrivnacova [Wed, 9 May 2012 10:17:08 +0000 (10:17 +0000)]
In geant4_vmc:
Fix in TVirtualMC::GetSecondary implementation:
get track global time instead of the local one
Ivana Hrivnacova [Mon, 7 May 2012 21:48:03 +0000 (21:48 +0000)]
In geant4_vmc:
Removing TGeant4 functions not defined in TVirtualMC interface:
TrackVertexPostion(), TrackVertexMomentum()
Ivana Hrivnacova [Wed, 2 May 2012 13:58:03 +0000 (13:58 +0000)]
In TG4TrackManager:
Fixing units in PrimaryToStack() and TrackToStack();
thanks to Vito Di Benedetto (INFN) for reporting this.
Ivana Hrivnacova [Wed, 28 Mar 2012 12:18:43 +0000 (12:18 +0000)]
In geant4_vmc:
Fixing bug in TVirtualMC::Gdtom() implementation (introduced in rev. 562)
Ivana Hrivnacova [Wed, 28 Mar 2012 11:28:06 +0000 (11:28 +0000)]
In geant4_vmc:
Fix implementation of TGeant4::DefineParticle() with short argument list
(print a warning about a deprecated function).
Ivana Hrivnacova [Wed, 28 Mar 2012 11:21:22 +0000 (11:21 +0000)]
In geant4_vmc:
Fixed mapping between Rootino and geantino;
user can now introduce chargedgeantino by setting the title "ChargedRootino"to
Rootino particle.
Ivana Hrivnacova [Tue, 28 Feb 2012 15:50:28 +0000 (15:50 +0000)]
Removing redundant printing from TG4RunAction.cxx
Ivana Hrivnacova [Tue, 28 Feb 2012 11:10:30 +0000 (11:10 +0000)]
Fixing previous commit (TG4RunActionMessenger class).
Ivana Hrivnacova [Tue, 28 Feb 2012 09:40:26 +0000 (09:40 +0000)]
In geant4_vmc:
Implemented commands for activating saving random number status
and restoring it from a file:
/mcEvent/saveRandom [true|false]
/mcRun/saveRandom [true|false]
/mcRun/readRandom [true|false]
/mcRun/setRandomFile fileName
Ivana Hrivnacova [Thu, 5 Jan 2012 16:20:03 +0000 (16:20 +0000)]
Fix in TG4ParticlesChecker:
Explicitly declare std::string (instead of G4String) when accessing
a char element via [0] to avoid compilation problem on Debian Lenny
(reported by Mohhamad Al-Turany)
Ivana Hrivnacova [Tue, 13 Dec 2011 13:39:51 +0000 (13:39 +0000)]
Making version v2.13
Ivana Hrivnacova [Mon, 12 Dec 2011 14:25:54 +0000 (14:25 +0000)]
In Doxyfile (all packages)
Set COLLABORATION_GRAPH = NO
Ivana Hrivnacova [Wed, 7 Dec 2011 20:25:39 +0000 (20:25 +0000)]
In examples/E03:
Now really adding G4 detector construction classes in example
(as G4 example libraries are not built with cmake),
- missing in rev. 559
Ivana Hrivnacova [Wed, 7 Dec 2011 16:25:54 +0000 (16:25 +0000)]
In geant4_vmc:
Adding checking of duplicate particles names (in TG4ParticlesChecker)
Ivana Hrivnacova [Wed, 7 Dec 2011 16:12:08 +0000 (16:12 +0000)]
In geant4_vmc:
Faster implementation of TVirtualMC::GetMediumID()
(the medium ID is now added in TG4SensitiveDetector object)
Ivana Hrivnacova [Wed, 7 Dec 2011 15:53:54 +0000 (15:53 +0000)]
In geant4_vmc:
- Accessing current volume in track vertex via touchable
(use of extra G4Navigat or is not needed anymore)
- Merging code executed on several lines in one line where suitable
Ivana Hrivnacova [Wed, 7 Dec 2011 11:57:30 +0000 (11:57 +0000)]
In geant4_vmc:
Mapping photoNuclear and stackPopper processes to newly added TMCProcess codes (instead of kPNoProcess, kPNull)
Ivana Hrivnacova [Tue, 6 Dec 2011 16:58:01 +0000 (16:58 +0000)]
Migration to Geant4 9.5:
geant4_vmc:
Modified building of physics list:
- Adding TG4ExtraPhysicsList with the following optional Geant4 builders:
G4ExtraPhysics - moved from TG4EmPhysicsList;
G4OpticalPhysics - which has replaced TG4OpticalPhysics;
this implies the changes of commands for configuring optical processes
G4RadioactiveDecayBuilder - new
- The selection of builders in extra physics list is done via
the following options added after PL:
[+ extra][+ optical][+ radDecay]
Example E06:
- Adding setting parameters for Optical Mie Scattering (according N06)
- Update configuration optical processes using G4 commands
Ivana Hrivnacova [Tue, 6 Dec 2011 14:29:22 +0000 (14:29 +0000)]
Migration to Geant4 9.5:
- Makefiles:
use of geant4-config if G4INSTALL is not defined
- g4root:
migration to new G4Exception
- geant4_vmc:
- migration to changes in G4PhysListFactory
(now all hadronic lists can be combined with all EM options)
- adding process codes for PiMinusAbsorptionBertini and FTFNuclearCaptureAtRest
- migration to changes in G4PhysicsOrderedFreeVector
- examples:
- new g4libs.C macro with use of geant4-config;
the macro based on liblist renamed to g4libs_old.C;
previous g4libs_old.C (explicit loading) removed
- E03:
- adding G4 detector construction classes in example
(as G4 example libraries are not built with cmake)
- cleanup loading obsolete G4 physics list libraries
- E06:
removing special setting for G3 (it causes G4 exception
and seems not to be needed for G3)
Ivana Hrivnacova [Fri, 21 Oct 2011 19:26:46 +0000 (19:26 +0000)]
In geant4_vmc:
Fixing compilation with G4UI_NONE and G4VIS_NONE
Ivana Hrivnacova [Thu, 13 Oct 2011 15:12:54 +0000 (15:12 +0000)]
In geant4_vmc:
Adding the user physics selection in the TGeant4 title, so that
it can be retrievable in a user application.
Ivana Hrivnacova [Thu, 1 Sep 2011 09:30:48 +0000 (09:30 +0000)]
In geant4_vmc:
Adding checking particle name in TG4ParticlesChecker; improved printing format.
Ivana Hrivnacova [Thu, 1 Sep 2011 09:29:44 +0000 (09:29 +0000)]
In geant4_vmc:
Fixing a bug in GetSecondary(..) reported by L. Zambelli:
there was missing conversion of units in the returned value of particle momentum.
Ivana Hrivnacova [Mon, 25 Jul 2011 14:02:58 +0000 (14:02 +0000)]
In geant4_vmc:
Fixes in comments for Doxygen
Ivana Hrivnacova [Mon, 25 Jul 2011 13:29:56 +0000 (13:29 +0000)]
In TG4SDConstruction:
Improved warning message.
Ivana Hrivnacova [Mon, 25 Jul 2011 12:29:08 +0000 (12:29 +0000)]
In geant4_vmc:
Implemented a possibility to select sensitive volumes by the user;
in this case TVirtualMCApplication::Stepping() function is called only when
track is located in a sensitive volume.
Ivana Hrivnacova [Fri, 15 Jul 2011 07:29:31 +0000 (07:29 +0000)]
In history:
Corrected date for v1.12 version.
Ivana Hrivnacova [Thu, 14 Jul 2011 17:12:41 +0000 (17:12 +0000)]
Making version v2.12
Ivana Hrivnacova [Thu, 14 Jul 2011 16:47:00 +0000 (16:47 +0000)]
In examples/E01:
Removing test for TVirtualMC::Gfmate (not available in Root 5.30/00);
putting test for new TVirtualMC::GetMaterial() within a condition on
Root version (to keep the example compiling with Root 5.28/00x)
Ivana Hrivnacova [Thu, 14 Jul 2011 16:36:00 +0000 (16:36 +0000)]
In examples:
Adding a test for Geant4 physics lists: test_physics_lists.sh
Ivana Hrivnacova [Thu, 14 Jul 2011 08:26:16 +0000 (08:26 +0000)]
In g4libs_old.C:
Adding new library libG4had_lend.so (needed with 9.5.b01)
Ivana Hrivnacova [Thu, 14 Jul 2011 08:25:03 +0000 (08:25 +0000)]
In TG4HadronPhysicsList:
Adding ShieldingLEND selection (available in G4PhysListFactory
since 9.5.b01)
Ivana Hrivnacova [Fri, 27 May 2011 13:06:21 +0000 (13:06 +0000)]
In geant4_vmc:
Adding missing processes (present in Geant4 9.4.p01 physics lists)
in the maps.
Ivana Hrivnacova [Wed, 20 Apr 2011 09:42:14 +0000 (09:42 +0000)]
In geant4_vmc:
- Fix in TG4ParticlesManager for handling particles which have no equivalent in TDatabasePDG: the particle is now added in TDatabasePDG without issuing an exception
- Adding light anti-ions (ani_deuteron, anti_triton, anti_alpha, anti_He3) so that users do not to define them themselves via TVirtualMC::DefineParticle.
- Mapping processes from QGSP_FTFP_BERT physics list
- Fixing warning from Geant4 visualization
In examples:
- In E03:
Adding an enum for primary particle generator selection and a primary
generator with anti_nuclei and added this test in test_suite
- In E02, E03:
Fixing warning from Root IO (no dictionary for class stack<Ex02Particle*)
Ivana Hrivnacova [Wed, 9 Mar 2011 17:06:04 +0000 (17:06 +0000)]
In geant4_vmc:
- Adding a new TVirtualMC function:
Bool_t GetMaterial(Int_t imat, TString& name,
Double_t& a, Double_t& z, Double_t& density,
Double_t& radl, Double_t& inter, TArrayD& par);
... which will replace the current Gfmate(...) functions
- Adding test test for this function in E01in E01
- Adding a warning in Gfmate() about deprecating of this function in the
TVirtualMC interface
In examples:
- Adding a test for the new function GetMaterial() in E01
- Removing code calling Geant3 visualization functions from all
examples code and macros
Ivana Hrivnacova [Sat, 19 Feb 2011 11:00:23 +0000 (11:00 +0000)]
In g4root, geant4_vmc:
Fixing Coverity defects
Ivana Hrivnacova [Mon, 14 Feb 2011 20:48:30 +0000 (20:48 +0000)]
Removing obsolete include paths from Makefiles
Ivana Hrivnacova [Wed, 26 Jan 2011 13:30:57 +0000 (13:30 +0000)]
In geant4_vmc, examples:
- Fixing implementation of TVirtualMC::Gfmate()
- Adding test for this function in E01
Ivana Hrivnacova [Fri, 21 Jan 2011 15:11:45 +0000 (15:11 +0000)]
In geant4_vmc, examples:
Fixing Coverity defects.
Ivana Hrivnacova [Wed, 22 Dec 2010 21:12:28 +0000 (21:12 +0000)]
Making version v2.11
Ivana Hrivnacova [Wed, 22 Dec 2010 17:54:38 +0000 (17:54 +0000)]
In examples/macro:
Updated list of Geant4 libraries (to geant4.9.4) in g4libs_old.C
Ivana Hrivnacova [Wed, 22 Dec 2010 15:57:38 +0000 (15:57 +0000)]
Updating Doxyfile for Doxygen v 1.7.1