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) Correcting bugs with the (multi)map treatment in routines
musrCounter.cxx and musrScintSD.cc - the elements of the (multi)maps
were erased in a loop over the (multi)maps, which is wrong.
2) Also the time variation is moved back to "process event" rather
then "end of event" in the musrScintSD.cc (is probably more realistic).
1) musrSimAna significantly rewritten, but still needs to be checked.
2) changed way how some optical photon properties are simulated,
+ added cross-talk effects (if requested).
1) change in the way how random time scattering in APD is
generated for optical photons - now the events should be
reproducible irrespective of whether the random time is
or is not requested.
2) indroducing a possibility to simulate optical photons, but
not to process them - this option, however, does not seem
to speed up the simulation significantly.
1) Bug removed from the simulation of optical photons with
the option "APDcellsEffectRequested" -- namely, when any
simulated photon hit a given APD cell, the cell became "blind"
to any other photon, irrespective of the arrival time of the
next photon. However, we need that if the "second" photon
(simulated at later phase) enters the APD cell before the
"first" one, that the time of photon arrival changes to the
earlierst photon.
2) A new keyword "sampleID ..." (defining which volume is the
sample volume) was added to the musrSimAna. The manual
was updated accordingly.
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) changed treatment for the odet_timeCFD determination
2) changed definition of odet_timeC and odet_timeD
3) corrected bug in execution time calculation for randomOption 3
4) corrected bug in eventID setting when randomOption=3
1) Correction in rundom nr generator (option 3)
- still there is a bug in the printing of time, for which the
run is running (shown is a large negative number) - should be
fixed.
2) Change in physics list which allows to set rise time in the scintillators
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.
Changes in musrPhysicsList.cc that were needed for new version of
Geant = Geant4.9.4. The changes remove G4MultipleScattering and
MultipleAndCoulombScattering, because multiple scattering has to
be treated differently for different particles in Geant4.9.4 and
"G4MultipleScattering" is not supported anymore. The documentation
has to be updated (i.e. comments about MultipleAndCoulombScattering
has to be removed from doc/musrSim.tex).
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
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.)
Added possibility to use mu- (or other particles) as the primary particles
in the G4ParticleGun (this option can be switched on by
/gun/primaryparticle ).
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.