GithubHelp home page GithubHelp logo

tck199732 / e15190-filter Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 241 KB

A light-weighted program for applying experimental filter to transport model results

License: MIT License

Shell 0.12% C++ 99.57% Makefile 0.31%

e15190-filter's Introduction

e15190-filter

Transport models are used to simulate the dynamics of the system in heavy ion collisions at intermediate energies. However, the results obtained assume no experimental condition and thus poses ambiguity when compared to data. This repository offers a light-weighted program to filter out the "visible" content from the raw output. These codes are usually written in fortran and thus their raw output would be large-sized text file. For experimentalist, it is advantageous to use a ROOT file to store millions of events. The main program will output a new ROOT file where particles not seen by detectors are discarded. This repository only offers filter for the NSCL E15190 experiment.

1. Installation options


Simply clone the repository

git clone https://github.com/tck199732/e15190-filter.git

The only dependency is ROOT. To use this repository, either use conda or docker (local installation is not recommended but should work without problem):

conda env create -f environment.yml --prefix ./env

2. Get started


Simply . activate.sh to activate the environment. The user should only modified tree.hpp to change the branch settings according to their ROOT file. After compiling the program,

./main.exe -r Ca40Ni58E56 -i ${input.root} -o ${output.root} -n {chain-name} -f cms

To see all options, ./main.exe -h,

Optional arguments:
  -h, --help                                                     shows help message and exits 
  -v, --version                                                  prints version information and exits 
  -r, --reaction, reaction name                                  [default: "Ca40Ni58E56"]
  -i, --input-files, list of input paths, separated by comma     [nargs: 1 or more] [required]
  -o, --output-file, output file path                            [default: "output.root"]
  -n, --chain-name, name of the TChain                           [default: "AMD"]
  -f, --reference-frame, reference frame of the input particles  [default: "cms"]
  -d, --debug, debug mode                                        
  --progress-bar, show progress bar

3. Remarks


  • the filters applied are simple and only include

    • detector signal correction
    • $\theta_{\mathrm{lab}}$, $\phi$ cut
    • threshold energy
  • the detector systems in E15190 mainly include

    • Microball
    • HiRA10
    • veto wall
    • neutron wall A/B

e15190-filter's People

Contributors

tck199732 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.