adhidevi / qsim_cbv_isu Goto Github PK
View Code? Open in Web Editor NEWThis project forked from fisibula/qsim_cbv_isu
Montecarlo simulation, qsim, with gemetries, materials, and optical properties to simulate the PREX-II/CREX detector and SAMs
This project forked from fisibula/qsim_cbv_isu
Montecarlo simulation, qsim, with gemetries, materials, and optical properties to simulate the PREX-II/CREX detector and SAMs
This version of qsim has the laterst geometries, materials, and optical properties to simulated the PREX-II/CREX and SAM detectors. -------------------------------------------------- qsim installation and running instructions Seamus Riordan [email protected] September 26, 2013 Updated June 26, 2015 --------------------------------------------------- Packages to build this: >=Geant4.10 cmake > 2.6 root --------------------------------------------------- Instructions: To build, create the directory you would like to build in, say build mkdir build cd build cmake <path to qsim> make It just needs to be downloaded and for the example, present in the directory you are running in. Otherwise, specify it in the macro as in the exmaple provided in macros/ An example macro will be found in macros/runexmaple.mac To run in batch mode, execute with a macro such as: ./qsim runexample.mac Ensure that all macros include a /run/initialization command or else they will not work. ==== Visualization =============== Visualization macros are found in vis/ To run, execute ./qsim which should bring up a graphical command interface To see the geometry: /control/execute macros/vis.mac --------------------------------------------------- ==== CLI User Commands =========== Using the Geant4 CLI it is possible to pass commands to modify behavior and utilize the vis.mac macro from the command line. These are all visible from the menu on the left. --------------------------------------------------- ==== Operational Mode Switches === There are CLI User Commands that allow the user to change the stand design and incident particle characteristics to test different configurations and experimental expectations. These commands must be passed before a visualization macro is used or the initialization command have been passed. ******************* *** Source mode *** ******************* Set by: /qsim/fSourceMode <0, 1, 2> 0 = cosmic muons Generates primary particles following cosmic muon angular distribution and energy spectrum. Energy spectrum obtained from fit to PDG data for muons with 0 deg incidence (good to 25% out to 36 GeV). Note that this does not automatically change the primary particle type to muons; this must be set by "/gun/particle mu-" 1 = beam Generates perfectly straight, monoenergetic beam. Current implementation generates particles at pinpoint, but beam spot size can be changed in qsimPrimaryGeneratorAction.cc Energy of beam can be changed in qsimPrimaryGeneratorAction.cc 2 = PREX Generates 1.063 GeV particles following position and angular distribution observed at VDCs during PREX-I. The z position of primary vertex can be changed in qsimPrimaryGeneratorAction.cc, to effectively move detector closer/farther from VDC. The distributions are stored in file primaryDistribution.root (copied to build directory when qsim is made), which has 2e6 events. ****************** *** Stand mode *** ****************** Set by: /qsim/fStandMode <0, 1> 0 = beam/PREX Detector only. 1 = cosmic Detector, top/bottom scintillators, and lead. Scintillator size/separation and lead size can be adjusted in qsimDetectorConstruction.cc ********************* *** Detector mode *** ********************* Set by: /qsim/fDetMode <0, 1> 0 = PREX-I detector Detector geometry follows PREX-I detector design. Detector rotated such that primary particles in beam mode are incident on quartz at exactly 45 deg. 1 = PREX-II detector prototype Detector geometry follows PREX-II prototype. Detector rotated such that primary particles in beam mode are incident on quartz at exactly 90 deg. Current implementation follows Stony Brook prototype (small quartz-PMT separation, no light guide). *** A NOTE ON OPTICAL PROPERTIES *** Index of refraction (quartz): Specification sheet for Heraeus Spectrosil 2000 provides >25 data points for n(E). Fit with polynomial. Absorption length (quartz): Specification sheet for Heraeus Spectrosil 2000 provides only 2 data points for L(E). Current functional form of L(E) in qsim is of unknown origin and is inconsistent with Heraeus data points. Reflectivity (mirror): Currently defined as a function of photon energy only (and possibly incorrect). Needs to be defined as a function of photon energy AND photon angle (supposedly possible in Geant 4.10 but not yet implemented in qsim).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.