Muon Tracking Geometry

Working with control version git (but in parallel with svn using the git svn tool).

Repository from svn
Just using the asetup X.Y.Z,here the SVNROOT variable is already set. Anyway, it should be
And obtaining the code with
git svn clone svn+ssh:// -s
Note that initially I did just: git svn clone MuonSpectrometer/MuonDetDescr/MuonTrackingGeometry -s assuming the previous export variable, but appears the error: E: 'trunk' is not a complete URL and a separate URL is not specified.

Note also that the whole process lasts some time due that git is localizing and keeping track of all branches and tags. The svn and git link explains how to work with a git repository pushing to a remote svn. The repository has been cloned in the lxplus path: /afs/

Apart from the atlasoff repository, a remote repository has been put in place in github, just to push the commits and have a double copy of the work. The forked repository can be found at MuonTrackingGeometry github repo.

Muon Tracking Geometry package validation

Problem: Geometry defined in Geant4 presents important discrepancies with the tracking geometry (a optimized and non-detailed geometry to perform tracking).
Tentative Strategy:
  • ....

Setting-up the tools

  • Athena release: 19.2.0. Needs some fixes in the following packages:
Package cmt version
Generators/ParticleGenerator 00-00-61

--- src/ParticleKinematics.cxx	(revisión: 618359)
+++ src/ParticleKinematics.cxx	(copia de trabajo)
@@ -217,7 +217,8 @@
     const HepPDT::ParticleData* particle 
       = p_particleTable->particle(HepPDT::ParticleID(abs( m_pdg )));
-    m_mass = particle->mass().value();
+    m_mass = particle ? particle->mass().value() : 0.;
     m_time = getValue(kTime);
    • Simulation/G4Atlas/G4AtlasApps
Index: Simulation/G4Atlas/G4AtlasApps/python/
--- Simulation/G4Atlas/G4AtlasApps/python/	(revisión: 592906)
+++ Simulation/G4Atlas/G4AtlasApps/python/	(copia de trabajo)
@@ -266,6 +266,11 @@
           from G4AtlasApps import AtlasG4Eng,PyG4Atlas
           actions = AtlasG4Eng.G4Eng.menu_UserActions()
+          # PhysicsValidationUserAction
+          AtlasG4Eng.G4Eng.log.verbose('ISF_AtlasSimSkeleton::do_UserActions add ISF_G4PhysicsValidation')
+          ISF_G4PhysicsValidation = PyG4Atlas.UserAction('ISF_Geant4Tools','ToolSvc.ISFG4PhysicsValidationUserAction',['BeginOfEvent','EndOfEvent','BeginOfRun','EndOfRun','Step'])
+          actions.add_UserAction(ISF_G4PhysicsValidation)
           # TrackProcessorUserAction
           AtlasG4Eng.G4Eng.log.verbose('ISF_AtlasSimSkeleton::do_UserActions add ISF_G4TrackProcessor')
           ISF_G4TrackProcessor = PyG4Atlas.UserAction('ISF_Geant4Tools','ToolSvc.ISFG4TrackProcessorUserAction',['BeginOfEvent','EndOfEvent','BeginOfRun','EndOfRun','Step'])
@@ -636,7 +641,7 @@
         from G4AtlasApps.SimFlags import simFlags
         if not simFlags.ISFRun:
-            from atlas_utilities import G4SimTimer
+            from atlas_utilities import G4SimTimer           

-- JordiDuarte - 02 Oct 2014

Edit | Attach | Watch | Print version | History: r8 | r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2014-10-05 - JordiDuarte
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback