76 Commits

Author SHA1 Message Date
Thomas
040457f56e Begin to adapt for Geant4.10 2014-08-11 22:42:46 +02:00
9ce11b00d1 Fixed to work woth Geant4.9.3. 2013-05-22 09:52:54 +00:00
b21de56ff7 Kamil Sedlak 7.2.2013
"FindROOT.cmake_JST" ... this "root finder" for cmake is fine for James Lord,
but did not seem to work at PSI linux. We copy it, however, into the svn.
2013-02-07 14:57:30 +00:00
c5fb2ca46f Kamil Sedlak 7.2.2013
Implemented changes of James Lord.  Compiling was possible, but
no testing was done so far.
2013-02-07 14:54:04 +00:00
db7b6a80f4 Kamil Sedlak 7.2.2013
Added geometric shape  "BarWithBevelledEdgesX"  used for Alexey's 
investigation of light transport throuhg a scintillator bar.
This version is done before implementing changes made by James Lord
2013-02-07 09:43:42 +00:00
6edad3a53c Resubmit README.TXT file. 2012-06-26 14:49:15 +00:00
1463daa047 Removing symbolically linked README.TXT file 2012-06-26 14:48:31 +00:00
f2b9079625 26.6.2012 Kamil Sedlak
1) New (GPS and others) examples added.
2) The documentation updated accordingly.
2012-06-26 14:42:44 +00:00
6d467b024c 22.6.2012 Kamil Sedlak
An instruction file used for a presentation of musrSim on 25.6.2012
is stored in svn.
2012-06-22 15:07:20 +00:00
e25db0cff0 22.6.2012 Kamil Sedlak
Tiny change in an example steering file.
2012-06-22 11:14:37 +00:00
d191e96ca0 22.6.2012 - Kamil Sedlak
1) Small changes of the musrSimAna documentation
2) A new type of condition added to musrSimAna
3) A few more examples of macro files added
2012-06-22 08:40:31 +00:00
8a787cf4a0 21.6.2012 Kamil Sedlak - Adding a macro file as the High Field example 2012-06-21 09:01:15 +00:00
9aa0f99b26 5.6.2012 Kamil Sedlak
Fixed small inconsitency in CMakeLists.txt
2012-06-05 09:51:48 +00:00
b96a699841 5.6.2012 Kamil Sedlak
Added two files:   FindROOT.cmake  and   CMakeLists.txt ,
which are needed for the compilation of musrSim by using cmake
2012-06-05 09:46:53 +00:00
6220698f22 9.5.2012 Kamil Sedlak
Several smaller improvements, should not have impact on the simulation.
2012-05-09 12:02:43 +00:00
a3027f95bf Added vis.mac to repository 2012-04-23 14:57:14 +00:00
ba31e1f8a1 18.1.2012 Kamil Sedlak
Changes needed for the upgrade of Geant to version 4.9.5.
2012-01-18 14:57:59 +00:00
1b6ebb06c0 13.12.2011 Kamil Sedlak
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)
2011-12-13 08:56:25 +00:00
a8c93b1b8c 28.11.2011 Kamil Sedlak
Added more odet_time_C1 times (not a big change)
2011-11-28 11:11:01 +00:00
455786e3fd 23.11.2011 Kamil Sedlak
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.
2011-11-23 15:35:49 +00:00
4d069f990c 22.11.2011 Kamil Sedlak
Two files which I forgot to submitt to svn last time are now added.
2011-11-22 12:03:49 +00:00
35e3d27206 22.11.2011 Kamil Sedlak
Implemented posibility to write hits from musrSimAna into a "dump file",
which can be used later as an input to the analysis of a real PSI
data (as in a real experiment).
2011-11-22 12:02:25 +00:00
cac041c03d 4.11.2011 - Kamil Sedlak
Increased maximum size of the simulation output file to 100 GB.
2011-11-04 13:26:02 +00:00
db0c8f35ee 2.11.2011 Kamil Sedlak
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).
2011-11-02 14:45:44 +00:00
f93a3c070b 28.10.2011 Kamil Sedlak
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).
2011-10-28 14:04:11 +00:00
89c6f27ae1 14.10.2011 Kamil Sedlak
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.
2011-10-14 08:11:54 +00:00
781fb2022c 6.10.2011 - Kamil Sedlak
1) Added "tubsbox2" as a new volume in musrDetectorConstruction
  2) Changed the way how the double hits in M-counter and P-counter
     are treated in musrSimAna - this was a very big change which 
     still needs to be cross-checked.
2011-10-06 09:49:51 +00:00
0c995ad9d8 28.9.2011 Kamil Sedlak
1) implemented a new command /gun/turtleMomentumScalingFactor in the musrSim
   (see the manual)
2) some small changes in the musrSimAna
2011-09-28 10:01:31 +00:00
c10cb1791c 23.9.2011 Kamil Sedlak
Added new volumes needed for the GPS instrument (veto detectors,
cryostat shields with windows).
2011-09-23 15:12:45 +00:00
e815b0a752 15.9.2011 Kamil Sedlak
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.
2011-09-15 13:37:48 +00:00
7e6228aa10 6.9.2010 - Kamil Sedlak
1) bug found and corrected in the field-map extrapolation of the electric 
     and magnetic fields for the spin-rotator (3DEOpera and 3D and 
     symmetryType=1 or 2). The documentation was updated.
  2) Some new variables added to the musrSimAna - the documentation has not
     been updated yet.
2011-09-06 15:25:44 +00:00
0e5bdb63f9 31.8.2011 Kamil Sedlak
New geometry called "polycone" implemented in musrSim.
This required also an implementation of command
"/musr/command arrayDef arrayName N x1 x2 ... xN"
See the updated documentation musrSim.pdf.
2011-08-31 11:19:09 +00:00
b4299fe10d 26.8.2011 Kamil Sedlak
- implementataion of volume "TubeWithHolePlusTubeHole"
 - some other changes in musrSimAna
2011-08-26 15:26:57 +00:00
0de813e1f3 7.7.2011 - Kamil Sedlak
Impementation of "/musr/command process SetLossFluctuations_OFF ..." 
command (allows one to swith the statistical fluctuations in the
ionisation losses).
2011-07-07 14:08:45 +00:00
99f7935da9 20.5.2011 Kamil Sedlak
1) Implementation of variables odet_timeSecond and odep_timeThird 
   (optical photons).  Documentatin updated accordingly.
2011-05-20 11:52:22 +00:00
d1b6c85605 19.5.2011 Kamil Sedlak
1) bug fix in musrAnalysis.cxx for rotation reference frame causing some memory leak
2) Implementing prompt peak variables and conditions (usefull only for investigations
   of the origin of the prompt peak).
3) Updating the documentation describing changes in point 2)
2011-05-19 15:08:01 +00:00
ecbc0475dc 13.5.2011 Kamil Sedlak
Minor change
2011-05-13 15:06:58 +00:00
58c28cfc07 13.5.2011 Kamil Sedlak
musrSim.pdf was broken, fixed now.
2011-05-13 11:37:35 +00:00
ca8f07a4d4 13.5.2011 Kamil Sedlak
Minor print-out change.
2011-05-13 11:34:12 +00:00
c92fc6a33f 13.5.2011 - Kamil Sedlak
1) Small changes before making the musrSim public
 2) Slight improvement of the musrSim manual
2011-05-13 11:27:15 +00:00
cb18486947 6.5.2011 Kamil Sedlak
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
2011-05-06 15:16:49 +00:00
9bc0d53074 29.3.2011 Kamil Sedlak
1) Small change in optical photon simulation
2) Some other small changes, probably not very important
2011-03-29 15:34:13 +00:00
2a1c05b09b 29.3.2011 Kamil Sedlak
Added a GPD example (run 201) to the run directory
2011-03-29 15:30:54 +00:00
2eb7e764d9 23.2.2010 Kamil Sedlak
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
2011-02-23 15:22:19 +00:00
1ccd56485e 18.2.2011 Kamil Sedlak
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
2011-02-18 15:54:27 +00:00
c2025fea97 11.2.2011 Kamil Sedlak
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
2011-02-11 16:45:24 +00:00
a5e99ed164 7.2.2011 Kamil Sedlak
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.
2011-02-07 16:07:38 +00:00
d11e19a7d8 31.1.2011 Kamil Sedlak - changes for Geant 4.9.4
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).
2011-01-31 10:40:44 +00:00
eb3ed03c30 27.1.2011 Kamil Sedlak
A new class "musrStackingAction" added (was forgotten during the last commit)
2011-01-27 14:37:33 +00:00
7a8ea16943 27.1.2011 Kamil Sedlak
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
2011-01-27 14:36:03 +00:00