Tags:
tag this topic
create new tag
,
view all tags
-- Main.PeterKammel - 28 Mar 2009 ---+ Introduction We had a Geant3 simulation for !MuCap for some time. The code was in FORTRAN mainly developed by Peter K and Bernhard. Documentation: * [[http://www.npl.illinois.edu/exp/mucapture/coll/gmu.html][Original documentation by Peter]] * [[http://weak0.physics.berkeley.edu/weakint/research/muons/][Bernhard's webpage]] * [[http://www.npl.illinois.edu/exp/mucapture/coll/meetings/uiuc_may_05/may_05.html][check Bernhard's MC presentation]] * [[https://w3.physics.uiuc.edu/cgi-bin/cvsweb/mc/][CVS archive]] In March 2009 Peter started the development of a GEANT4 version of this program motivated by the following issues * We need intense MC effort to study important issues in the ongoing final MuCap analysis, e.g. like the electron/muon interference. * We need a Monte Carlo for MuSun to optimize the pad geometry and to simulate and study fusion processes and tracking. A skeleton version has been released to CVS and Serdar will continue to develop this tool. The detector modeling and mapping to the input stream might proceed with the help of Fred, Volodya and Bernhard. ---+ !G4MuCap ---++ Setup Define your <literal>G4WORKDIR.</literal> Run on pion1 to have correct libraries. CVS the [[https://w3.physics.uiuc.edu/cgi-bin/cvsweb/G4MuCap/][G4MuCap]] there. cd G4MuCap. source setup after adjusting it. cd $G4WORKDIR. cp -R examples from $G4INSTALL (probably not necessary but educational. Different vis drivers installed. !OpenGl, !DAWNFILE, !HepRep, jas3+WIRED4 according to Geant Manual. First you login to pion1 machine and from you home directory, get G4MuCap from cvs by, yourname@pion1 ~> cvs co G4MuCap In the pion1 machine, go to the cshell by entering, yourname@pion1 ~> csh at the cshell window then yourname@pion1 ~/G4MuCap > source setup yourname@pion1 ~/G4MuCap > gmake Then you can run the G4 to get some events, yourname@pion1 ~/G4MuCap > MuCap results are saved in a zip file named such as, scene-0.heprep.zip In order to see the output file, you will need to have jas3 downloaded from [[http://jas.freehep.org/jas3/download.html][link]] and unzipped into the G4MuCap directory. Then in order to visualize events, You will need to get Wired4 from [[http://geant4.slac.stanford.edu/g4cd/August2005/AdditionalSoftware/WIRED4/README.html][link]] where all .jar files listed there should be downloaded into your G4MuCap/jas3-0.8.3/extensions directory. After that, in your G4MuCap directory enter yourname@pion1 ~/G4MuCap > jas3-0.8.3/jas3 scene-0.heprep.zip or from your pion1 machine yourname@pion1 ~> jas3-0.8.3/jas3 scene-0.heprep.zip Once you have Jas3 window opened, It is going to ask whether you want to install new plugins, say yes and you are done. In order to see events, on the jas3 window, click on File->New->Wired4 on you Jas3 window. ---++ Documentation MuCap is derived from example !ExN02. cd $G4MuCap. * gmake clean * gmake * MuCap * jas3 scene-0.heprep.zip There is a const static G4int nSegScale=10; // scales the segmentation for easier display in <literal>MuCapDetectorConstruction.hh</literal> to scale the real segmentation for graphic viewing. The relevant detector geometry parameters are private data member of the class and are defined in one block of code within <literal>MuCapDetectorConstruction.cc.</literal> All relevant parameters should be defined there. ---++ Todo List * Refine geometry (lower priority) * Refine gun (lower priority) * Include missing sensitive detectors * Install some messengers for interactive change of beam parameters and switch on/of geometry elements * Perform <literal>EndOfEvent(G4HCofThisEvent*) </literal>processing in sensitive detector to define tree of hits and MC generated information * Identify mapping between geometry and readout * Tune and explore performance with/without graphics * Include hard trajecory filtering ---++ Studies There are several studies we want to perform. They include Pre analysis * Stopping distribution on individual anodes with cuts * Electron-muon track interference * m+p scattering (<literal>G4SingleScattering?</literal>) * * Diffusion? Full Analysis * Blue cont anode studies ---++ Pictures <img width="1017" alt="pic.png" src="%ATTACHURLPATH%/pic.png" height="825" /> <img width="1013" alt="pic1.png" src="%ATTACHURLPATH%/pic1.png" height="822" />
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
pic.png
r1
manage
49.4 K
2009-03-28 - 17:48
PeterKammel
png
pic1.png
r1
manage
50.5 K
2009-03-28 - 17:48
PeterKammel
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2009-05-01
-
PeterKammel
Home
Site map
Main web
SPhenix web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback