musrSim:
1) implemented volume type "boxbox" (box with a box hole)
2) suppressing optical photon output in case optical photons are not simulated
musrSimAna:
3) musrWriteDump modified (needed only for a dump-file creation)
Three major changes in the photon simulation:
1) Added timeC1 ... timeC20
2) Added odet_nPhotPrim[odet_n] (number of primary photons)
3) Added all individual photons: phot_time[nOptPhotDet]
Documentation has not been updated yet.
1) Adding/improving the simulation of light signals and APD
2) Many small changes and improvements
3) Adding manual to musrSimAna to the svn repository
4) Adding some example files for musrSim
1) correction of GNUmakefile - by mistake a musrSimTest was set there
instead of musrSim
2) replacing odet_timeE variable by odet_timeMean
3) replacing one obsolete method from stepping action
(Geant 4.9.4 was complaining) by a proper method
4) update of the first part of the documentation
5) implementing a possibility to write out output Root data
into a different directory
6) perhaps some other minor changes
1) Constant fraction discriminator added to the analysis of the
optical photon signal.
2) Bug fixes in the optical photon simulation.
3) A few other small improvements.
1) correction of volume that is assigned to optical photons
(odet_ID) - now it is the volume from postStepPoint instead of
preStepPoint
2) new variable added (nOptPhot) - number of optical photons
generated in the event
This version contains many changes!
1) Optical photon simulation is now possible - some work still may need to be done
(e.g. the manual is not updated yet), but it should basically work already now.
2) Changes in the musrSimAna - correction of some bugs (mainly in the coincidence
of coincidence and veto detectors) and some other improvements
New variable "timeToNextEvent" added in order to simulate time differences between subsequent events.
1) /gun/meanarrivaltime meanArrivalTime (defines the mean time difference betweent
the subsequent events).
2) timeToNextEvent - new variable written out to the root tree.
This new variable is needed for the pile-up studies
Changes needed by Pavel Bakule for low energy moun beem excited by laser.
(The user can restrict a box-like region for the generated particles (muons)).
1) UPGRADE TO GEANT 4.9.3
- Physics list had been modified
- List of the physics processes in *.mac has to be modified too!
(otherwise results of 4.9.3 do not reproduce well the results
of 4.9.2).
Example *.mac files still use the old implementation of the physics
processes, i.e. they have to be corrected in future!
2) POSSIBILITY TO WRITE OUT DERIVATIVES OF THE MAGNETIC FIELD
AT A GIVEN POINT (see the documentation,
"/musr/command globalfield printFieldDerivativeAtPoint".)
Several things were added in this version:
1) varibale save_time() has been added to the root output tree
2) possibility to read in field maps, in which varibles x,y,z
increase differently than previously expected
(see the description of "variableIncreasingOrder" in the
"3DEOpera" paragraph of the documentation).
3) Added "3DEOpera" format of the fieldmap
4) Added file G4EqEMFieldWithSpin.cc_for_Geant4.9.2p02_only that
should be used only in the Geant version 4.9.2p02 (there was
a bug in this file, which is not present for any other version of Geant4)
5) Examples 101.mac and 102.mac added, but its description has not
been completed yet in the musrSim.pdf.
1) The filling of the root tree was called from musrScintSD.cc, which was
problematic, because no variables were written out if there was no
sensitive volume defined (problem for example when one wants to study
the beam-line properties using just save volumes).
Therefore the tree filling is now called from musrEventAction.cc.
2) A possibility to gently stop the run by creating a file with the
name "RUNNUMBER.stop" in the working directory has been introduced.
("Gently" means that root output file is closed properly.)
Histogram "hGeantParameters" added to the output file. This can be helpful
when more output files are merged together by "hadd" command, and info about
the number of events is needed by the analysis program.
The documentation was updated accordingly.
This svn update includes several smaller corrections and updates accumulated
over last few months:
1) For the Geant4.9.2 it was necessary to remove the privately modified file
src/G4EqEMFieldWithSpin.cc. Our corrections in this file (and also in
the file src/G4DecayWithSpin.cc) were adopted by the Geant developers into
the official Geant code, and therefore these two files were deleted.
However, if one uses older version of Geant (i.e. Geant4.9.1 or older),
one should rename the G4EqEMFieldWithSpin.cc_for_Geant4.9.1_and_older in
his/her src directory to G4EqEMFieldWithSpin.cc to correct for a Geant
bug.
2) Implementation of save_polx, save_poly and save_polz variables
3) Implementation of the field map normalisation within the field map
itself (was already possible for the field-map formats generated by Toni,
now it is extended also for the field maps generated by OPERA).
4) Possibility to swap and invert x and y axis read out from the TURTLE
file.
5) Perhaps some other tiny changes
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.
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.