Skip to content

Simple web interface to Monte Carlo event files

Notifications You must be signed in to change notification settings

giovixo/x-ray-fun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-ray-fun

A web interface to Monte Carlo event file for a super simple X- and gamma-ray detector.

The mass model is a box of CdZnTe, or Silicon, or CsI. The source is a monoenergetic photon beam. The results are plotted using Plotly.js.

Click here to see a demo on the web.

Contributors

  • G. De Cesare - decesare.giovanni at gmail.com
  • Valentina Fioretti

Setting up

Make sure you have node.js installed in your pc

download the Monte Carlo event files (see below) into the "data" directory
npm install
node nodeServer.js

Go to localhost:1337.

You should see:

Input page

Event files

The Monte Carlo event files in data directory are generated by the Geant4-based BoGEMMS simulation framework (Bulgarelli et al. 2012, Fioretti et al. 2014). You can download these files from here.

License

This software is licensed under the MIT License.

The MIT License (MIT)

Copyright (c) 2017 Giovanni De Cesare IASF Bologna - INAF

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Simple web interface to Monte Carlo event files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published