Coder Social home page Coder Social logo

cfluxim's Introduction

cfluxim

A simple cosmic ray simulation tool

More details

Only muons are implemented at the moment, but implementation of other particles is possible, if needed.
The tool is precisely described in the presentation

Dependencies

A few classes of CERN's ROOT framework is used. See the ROOT website.

Components

CuboidGenerator.cpp - generates particles and saving in ROOT tree.
FluxAnalyzer.cpp - takes generated particles as an input and creates some histograms needed for simple quality check.
TrackAnalyzer.cpp - takes generated particles as an input and performs analysis of tracks regarding defined detector geometry.

classes directory contains classes .h and .cpp files
flux_config directory contains histograms that define muon flux

test directory contains very simple tests for classes. I know these tests are not very professional, but it's better than nothing anyway ;)
presentation directory contains Latex presentation (code, images and pdf output)

How to compile

Bash scripts for all components and tests are provided. Remember to source your thisroot.sh before compilation.

You may run one of the scripts to compile a single module or test, or:

  • to compile all components at once, run compileAllComponents.sh
  • to compile all tests at once, enter test directory and run compileAllTests.sh

License

MIT. Full text here.

cfluxim's People

Contributors

kamilwojcik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.