The implementation of "muIniTime" has been finalised (i.e. the time,
when the initial muons are generated). This variable is now stored
in the root tree. The documentation of the musrSim has been updated
accordingly. Simple test of the upgraded program was done,
the implementation seems to be OK.
- introduced modifications done by Pavel Bakule at ISIS:
a) the time when the initial muon is generated can be
set according to a gaussian or flat distribution.
(all muons were generated at time 0 before this change).
b) a new volume "cylpart" has been added.
The code can be compiled, but no tests of the newly implemented
features have been done. In future, the information about the
time of the muon generation should be added to the root output
tree.
Bug correction in "G4UserLimit":
DETAILS OF THE BUG:
Call of "G4UserLimits" was inactive in the musrSim
(using the comand "/musr/command SetUserLimits log_target 0.01")
was ignored by the simulation.
I found out, that in addition to the call of "G4UserLimits",
the "G4StepLimiter" and/or "G4UserSpecialCuts" has to be called
for a given particle (particles) that needs to be limitted. These processes
were not implemented.
I corrected the musrSim code in the svn repository. From now on,
"G4StepLimiter" should function fine, IF CALLED TOGETHER WITH SOMETHING
LIKE:
/musr/command process addProcess e- G4StepLimiter -1 -1 4
/musr/command process addProcess e+ G4StepLimiter -1 -1 4
/musr/command process addProcess mu+ G4StepLimiter -1 -1 5
More details can be found in:
http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanage/702/1.html
and
http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/ForApplicationDeveloper/html/ch05s07.html
Added possibility to use mu- (or other particles) as the primary particles
in the G4ParticleGun (this option can be switched on by
/gun/primaryparticle ).
Few tiny modifications:
1) added doc/run file for easier processing of the musrSim.tex file
2) updated documentation (musrSim.pdf)
3) removed one of two definitions of "lightblue" in musrDetectorConstruction.cc
4) added the volume "G4Para" in musrDetectorConstruction.cc
5) corrected small bug for "2DBOperaXY" type of field in musrTabulatedElementField.cc
This is the first version of the muSR simulation code (musrSim)
based on the merged codes of Kamil Sedlak and Toni Shiroka.
It should be a running version of the simulation code, however
it has not been very well tested, therefore it will probably
need some further development.