f93a3c070b28.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).Kamil Sedlak2011-10-28 14:04:11 +00:00
89c6f27ae114.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.Kamil Sedlak2011-10-14 08:11:54 +00:00
781fb2022c6.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.Kamil Sedlak2011-10-06 09:49:51 +00:00
0c995ad9d828.9.2011 Kamil Sedlak 1) implemented a new command /gun/turtleMomentumScalingFactor in the musrSim (see the manual) 2) some small changes in the musrSimAnaKamil Sedlak2011-09-28 10:01:31 +00:00
c10cb1791c23.9.2011 Kamil Sedlak Added new volumes needed for the GPS instrument (veto detectors, cryostat shields with windows).Kamil Sedlak2011-09-23 15:12:45 +00:00
079fd24c12Perform natural sorting on file names before plotting profilesZaher Salman2011-09-22 15:42:45 +00:00
e815b0a75215.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.Kamil Sedlak2011-09-15 13:37:48 +00:00
7e6228aa106.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.Kamil Sedlak2011-09-06 15:25:44 +00:00
0e5bdb63f931.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.Kamil Sedlak2011-08-31 11:19:09 +00:00
b4299fe10d26.8.2011 Kamil Sedlak - implementataion of volume "TubeWithHolePlusTubeHole" - some other changes in musrSimAnaKamil Sedlak2011-08-26 15:26:57 +00:00
2204f800f1Added possiblility to scan energy with sigma angle.Zaher Salman2011-08-11 14:43:55 +00:00
ce8b714e02Added possiblility to scan angle and sigma angle of implanted muons.Zaher Salman2011-08-11 11:47:09 +00:00
0de813e1f37.7.2011 - Kamil Sedlak Impementation of "/musr/command process SetLossFluctuations_OFF ..." command (allows one to swith the statistical fluctuations in the ionisation losses).Kamil Sedlak2011-07-07 14:08:45 +00:00
99f7935da920.5.2011 Kamil Sedlak 1) Implementation of variables odet_timeSecond and odep_timeThird (optical photons). Documentatin updated accordingly.Kamil Sedlak2011-05-20 11:52:22 +00:00
d1b6c8560519.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)Kamil Sedlak2011-05-19 15:08:01 +00:00
ca8f07a4d413.5.2011 Kamil Sedlak Minor print-out change.Kamil Sedlak2011-05-13 11:34:12 +00:00
c92fc6a33f13.5.2011 - Kamil Sedlak 1) Small changes before making the musrSim public 2) Slight improvement of the musrSim manualKamil Sedlak2011-05-13 11:27:15 +00:00
cb184869476.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 musrSimKamil Sedlak2011-05-06 15:16:49 +00:00
2a1c05b09b29.3.2011 Kamil Sedlak Added a GPD example (run 201) to the run directoryKamil Sedlak2011-03-29 15:30:54 +00:00
526cd9313eAdded field map files for LEM beam line.Zaher Salman2011-03-10 09:00:22 +00:00
2eb7e764d923.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=3Kamil Sedlak2011-02-23 15:22:19 +00:00
1ccd56485e18.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 scintillatorsKamil Sedlak2011-02-18 15:54:27 +00:00
a5e99ed1647.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.Kamil Sedlak2011-02-07 16:07:38 +00:00
543a0e667b24.1.2011 Kamil Sedlak Corrected small bug in musrPrimaryGeneratorAction (definition of default values of the xDirection=0, yDirection=0 and zDirection=1)Kamil Sedlak2011-01-24 09:30:35 +00:00
4bfcc6aa2921.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 improvementsKamil Sedlak2011-01-21 15:20:22 +00:00
dcc8c6119dImplemented proper beam direction and beam spot rotation as determined by /gun/direction command.Zaher Salman2011-01-04 12:14:01 +00:00
117790a661Description for proper beam direction implementation.Zaher Salman2011-01-03 14:17:54 +00:00
651bc448f0Implementation of initial beam direction command. For now works only for +-z direction.Zaher Salman2011-01-03 13:41:37 +00:00
f6ccd6cc7515.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.Kamil Sedlak2010-10-15 08:58:10 +00:00
751641e16630.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)Kamil Sedlak2010-09-30 12:24:55 +00:00
b502cc8585Fixed bugs reported by Andreas when reloading settings from a file (white spaces in string issues).Zaher Salman2010-09-03 16:15:37 +00:00
ef519149acAdded a configuration file to svn. File is not loaded by default yet.Zaher Salman2010-08-06 09:14:40 +00:00
840273d9c1Added save/load or an initialization file for GUI parameters.Zaher Salman2010-08-06 09:12:51 +00:00
b8d6f23a80Added save/load or an initialization file for GUI parameters.Zaher Salman2010-08-06 09:12:36 +00:00
7699459193Add path to enable plotting from any directory.Zaher Salman2010-06-07 12:40:20 +00:00
1fe6cd7a2f25.3.2010 Kamil Sedlak musrRootOutput - removed "_t" from most of the variable namesKamil Sedlak2010-03-25 14:53:11 +00:00
d308d597bd24.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.Kamil Sedlak2010-03-24 16:21:08 +00:00
29e49736ea15.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 GPDKamil Sedlak2010-03-15 13:19:31 +00:00
a71842dd819.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)).Kamil Sedlak2010-03-09 16:49:53 +00:00
701f17857f23.2.2010 Kamil Sedlak 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.Kamil Sedlak2010-02-23 13:24:53 +00:00
00263998df12.1.2010 - Kamil Sedlak 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.Kamil Sedlak2010-01-12 15:34:34 +00:00
d5db8dea3bAdded ROOT include files in Makefile and corrected trd90y creation.Zaher Salman2010-01-07 15:43:48 +00:00
c84f6a43b33.12.2009 Kamil Sedlak The reading of the field map files in the 3D Opera file format has been extended: 1) The lenght unit can also be specified in cm instead of in meters only. 2) Only one octant (in Kartesian coordinate system) of the field map can be specified, and the field can be extrapolated to other octants (this depends on the symmetry of the field). 3) First line of the field map does not have to be empty (but it can be). 4) Documentation has been modified accordingly.Kamil Sedlak2009-12-03 09:52:09 +00:00
334429ca20Change over to new GUI look with plotting capability.Zaher Salman2009-11-25 12:39:08 +00:00
a67b8ff3afMore work on plotting implantation profiles.Zaher Salman2009-11-24 13:50:42 +00:00
b02bad6b88Finished implelementing Andreas Suter root plotting, but still a bit buggy.Zaher Salman2009-11-23 14:52:12 +00:00
17b4ebbc2fMore work towards plotting implantation profiles.Zaher Salman2009-11-20 13:19:51 +00:00
68a38ee357Added menus for the window and start if incorporationg plotting options.Zaher Salman2009-11-20 12:10:21 +00:00
b5594b451311.20.2009. - Kamil Sedlak 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 changesKamil Sedlak2009-11-20 10:29:02 +00:00
76908ad0edImplement ability to change depth increment in an energy scan (not for E loop).Zaher Salman2009-11-18 13:05:38 +00:00
6c36e69cd1Add layer index to stop distribution output. Fixed compiler errors.Thomas Prokscha2009-11-17 08:35:57 +00:00
930402e460PerlQt3 GUI interface for trimsp7l. Requires trimsp7l binary and PerlQt3 modules.Zaher Salman2009-08-10 14:10:22 +00:00
d05e77dbe523.6.2009 - Kamil Sedlak 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.Kamil Sedlak2009-06-23 12:50:35 +00:00
464ce6f8952009-06-22 Kamil Sedlak - 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.Kamil Sedlak2009-06-22 16:39:50 +00:00
46e13dc4a02009-06-08 Kamil Sedlak 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.htmlKamil Sedlak2009-06-08 13:57:10 +00:00
b70e4ddbc7Kamil Sedlak 2009-06-05 Added possibility to use mu- (or other particles) as the primary particles in the G4ParticleGun (this option can be switched on by /gun/primaryparticle ).Kamil Sedlak2009-06-05 13:08:02 +00:00
e6083ec8942009-05-26 Kamil Sedlak Added more information to the documentation files ( doc/musrSim.tex ).Kamil Sedlak2009-05-26 15:56:15 +00:00
1e050e69762008-05-26 Kamil Sedlak - a copyright information added to all relevant *.cc and *.hh files - the file "COPYING" added to the main directory of the musrSimKamil Sedlak2009-05-26 09:49:42 +00:00
a160d4d869Kamil Sedlak 2009-05-22 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.ccKamil Sedlak2009-05-22 13:58:50 +00:00
fcd5eea567Kamil Sedlak 2009-05-18 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.Kamil Sedlak2009-05-18 09:59:52 +00:00