352 Commits

Author SHA1 Message Date
c791103628 Documentations updates. 2011-09-23 12:23:56 +00:00
079fd24c12 Perform natural sorting on file names before plotting profiles 2011-09-22 15:42: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
45f076bef8 Some arranging. 2011-08-11 14:46:03 +00:00
2204f800f1 Added possiblility to scan energy with sigma angle. 2011-08-11 14:43:55 +00:00
ce8b714e02 Added possiblility to scan angle and sigma angle of implanted muons. 2011-08-11 11:47:09 +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
32d3458389 Some cleanup 2011-04-08 15:43:12 +00:00
d0dd678d02 Added field maps of elements. 2011-04-08 15:42:30 +00:00
d14a857d9d Added possibility to save and load initial values. 2011-04-08 13:46:38 +00:00
d86fdde7b1 Can create a mac file.. 2011-04-07 15:26:15 +00:00
8d8e5a27cc Preliminary GUI for the musrSim simulation for the LEM beamline, current and with spin rotator 2011-04-01 11:18:21 +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
526cd9313e Added field map files for LEM beam line. 2011-03-10 09:00:22 +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
543a0e667b 24.1.2011 Kamil Sedlak
Corrected small bug in musrPrimaryGeneratorAction (definition of default
  values of the xDirection=0, yDirection=0 and zDirection=1)
2011-01-24 09:30:35 +00:00
4bfcc6aa29 21.1.2011 Kamil Sedlak
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
2011-01-21 15:20:22 +00:00
dcc8c6119d Implemented proper beam direction and beam spot rotation as determined by /gun/direction command. 2011-01-04 12:14:01 +00:00
117790a661 Description for proper beam direction implementation. 2011-01-03 14:17:54 +00:00
651bc448f0 Implementation of initial beam direction command. For now works only for +-z direction. 2011-01-03 13:41:37 +00:00
f6ccd6cc75 15.10.2010 Kamil Sedlak
Added new subdirectory (analysis package) "musrSimAna".  This is 
a general analysis program that allows one to plot histograms
out of the simulated trees.  The detector setup of the veto and
coincidence relations with the positron/muon counters is defined 
in *.v1190 files.  Also the histograms that should be plotted/saved 
are defined in this file.
Thus (at least in principle) the user does not need to write
an analysis program dedicated for his/her instrument. One just
needs to modify the *.v1190 file.  The "musrSimAna" is still
in the development phase, no documentation is available at this
stage.
2010-10-15 08:58:10 +00:00
751641e166 30.9.2010 Kamil Sedlak
- added special geometry of GPDmHolder for the m-counter light guide at GPD
  - added specail case of 3DBQuadVrankovic field map for the quadrupoles
    (format defined by Vjeran Vrankovic)
2010-09-30 12:24:55 +00:00
f22687fd80 Fix more bugs with white spaces. 2010-09-28 11:05:12 +00:00
b502cc8585 Fixed bugs reported by Andreas when reloading settings from a file (white spaces in string issues). 2010-09-03 16:15:37 +00:00
ef519149ac Added a configuration file to svn. File is not loaded by default yet. 2010-08-06 09:14:40 +00:00
840273d9c1 Added save/load or an initialization file for GUI parameters. 2010-08-06 09:12:51 +00:00
b8d6f23a80 Added save/load or an initialization file for GUI parameters. 2010-08-06 09:12:36 +00:00
7699459193 Add path to enable plotting from any directory. 2010-06-07 12:40:20 +00:00
1fe6cd7a2f 25.3.2010 Kamil Sedlak
musrRootOutput - removed "_t" from most of the variable names
2010-03-25 14:53:11 +00:00
d308d597bd 24.3.2010 Kamil Sedlak
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
2010-03-24 16:21:08 +00:00
29e49736ea 15.3.2010 Kamil Sedlak
1) Implemented a posibility to add "Models" to physics processes
     (this should be a first step towards the implementation of the
     Meyer scattering.  The documentation has not been updated yet.
  2) Minor change - implementation of a special volume for GPD
2010-03-15 13:19:31 +00:00
a71842dd81 9.3.2010 Kamil Sedlak
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)).
2010-03-09 16:49:53 +00:00
610abf6591 4.3.2010 - Kamil Sedlak
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".)
2010-03-04 12:52:07 +00:00