Project

General

Profile

Task #14590

Milestone #14454: Refactoring LArG4

2. improve on the current code

Added by Katherine Lato almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Simulation
Target version:
-
Start date:
06/15/2016
Due date:
01/26/2017
% Done:

100%

Estimated time:
35.00 h
Spent time:
Duration: 226

Description

2. improve on the current code
2.1 investigate if simple step limiter can replace voxels to match to wire pitch.
2.1.1 provide alternative code using step limiter [DONE]
2.1.2 provide and run test suite that:
a) profiles the code (CPU, memory...).
b) checks that the physics is ok. (see also 3.1)
2.2 proper handling of saturation effects (Birks).
2.3 use new Geant4 interface to access optical photon processes (scintillation/Cerenkov)
2.4 add info on sub processes to persistent info. → current info is not sufficient e.g. for capture
processes..


Related issues

Related to LArSoft - Feature #15746: Provide module-independent ionization transportation functionAssigned03/06/2017

History

#1 Updated by Katherine Lato almost 4 years ago

  • Status changed from New to Assigned

#2 Updated by Katherine Lato almost 4 years ago

  • Estimated time set to 35.00 h

#3 Updated by Hans-Joachim Wenzel over 3 years ago

subtask 2.3 worked with the Geant 4 collaboration. Now a new interface is in place that let's you control if optical photons are put on the stack or not. The new interface let's us access the number of photons that have been produced. So the LArG4 routine that did that is now obsolete :-)
Also the optical physics constructor allows to add and configure optical physics to the physicslist. Other changes include the use of spline to smooth optical properties that need to be provided by the user.
Wrote a routine that tests and benchmarks all the new features. The new features will be included in the next patch release of Geant4 (10.3.p01) which is expected to come out soon. As soon as it's out we will build LArG4 against the new version of Geant 4 and will then make use of the new interface.

Update:
The new version of Geant 4 (10.3.p01) was released and has all the features that we asked for. It allows to:
  • add the optical physics constructors to a given reference physics list. All optical process can be activated and and configured.
  • An option allows that the optical photons are not put on the stack for the Cerenkov and scintillation process. The number of produced photons can be accessed after all post steps are done in G4. Provided a routine (sensitive detector) that accesses the photons and adds them to the hits collection.
  • the example can be found in github: https://github.com/hanswenzel/lArTest. This routine can be used to profile the application. As soon as the new version of geant4.10.3.p01 is compiled and available in SCiSoft will start to add the functionality to LAr4.
  • the example also allows to activate and configure a step limiter physics process and attach it to an active volume. This allows to match the step in the liquid Argon to the readout pitch of the sense wires. Added analysis that show that the dE/dx distributions look ok. This would replace the voxel readout.

#4 Updated by Hans-Joachim Wenzel over 3 years ago

  • % Done changed from 10 to 30

#5 Updated by Gianluca Petrillo over 3 years ago

  • Related to Feature #15746: Provide module-independent ionization transportation function added

#6 Updated by Hans-Joachim Wenzel over 3 years ago

  • % Done changed from 30 to 40

#7 Updated by Hans-Joachim Wenzel over 3 years ago

  • % Done changed from 40 to 60

#8 Updated by Katherine Lato over 3 years ago

  • % Done changed from 60 to 100

#9 Updated by Katherine Lato over 3 years ago

  • Status changed from Assigned to Resolved

#10 Updated by Katherine Lato about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF