Coder Social home page Coder Social logo

acpostuma / simc_gfortran Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeffersonlab/simc_gfortran

0.0 0.0 0.0 27.87 MB

SIMC - Physics Monte Carlo for Hall C and Hall A

Shell 14.91% C++ 2.09% Python 0.01% C 14.18% Fortran 39.16% Fancy 5.27% Forth 0.08% TeX 3.97% Gnuplot 1.34% Mathematica 2.57% Makefile 0.40% PostScript 15.73% POV-Ray SDL 0.06% Roff 0.13% RPC 0.09%

simc_gfortran's Introduction

simc_gfortran - Hall C/A Physics Monte Carlo

SIMC (simc_gfortran) is the standard Hall C Monte Carlo for coincidence reactions, written in FORTRAN.

SIMC has recently been modified to remove all explcit dependence on CERNLIB. There are now 3 ways to generate output for SIMC.

  1. Run simc as normal (use "run_simc" script or interactively). This will generate a fortran ".bin" file in the worksim directory. Probably not too useful unless your analysis code is in fortran.

  2. Run simc and then use the helper application to convert the default output to a PAW ntuple (NOTE: this WILL require use of cernlib - on the JLab machines type "setup cernlib/2005"). The helper application is in util/ntuple and must be compiled separately from simc. Running SIMC + the ntuple application can be done in one command using "run_simc_ntup".

  3. Run simc and then use the helper application to convert the default output to a root tree (this program is also in fortran, but cernlib is not needed). The helper application is in util/root_tree and must also be compiled separately from simc. Running SIMC + the root-tree application can be done in one command using "run_simc_tree".

Features

  • SIMC simulates the optics (using COSY models) and apertures of the Hall C spectrometers (HMS, SOS, SHMS) and other spectrometers at Jefferson Lab (HRS's, BigCal, ...)
  • Radiative effects, multiple scattering, ionization energy loss and particle decay are included
  • Simple presecriptions are available for Final State Interactions, Coulomb Corrections and other effects.

Reactions

SIMC has physics models for the following reactions.

  • Elastic and quasi-elastic scatering: H(e,e'p), A(e,e'p)
  • Exclusive pion production: H(e,e'pi+)n, A(e,e'pi+/-) (quasifree or coherent)
  • Kaon electroproduction: H(e,e'K+)Lambda,Sigma, A(e,e'K+/-),A(e,e'K-)
  • Semi-inclusive pion production: H(e,e'pi+/-)X, D(e,e'pi+/-)X
  • Semi-inclusive kaon production: H(e,e'K+/-)X, D(e,e'K+/-)X
  • Diffractive rho production: H(e,e'rho->pi+ pi-)p, D(e,e'rho->pi+ pi-)

SIMC is NOT

  • Not a full detector response simulation a la GEANT/GEANT4
  • Does NOT simulate a large class of processes simultaneously to gerate backgrounds (like Pythia for example)
  • Not a generic event generator. Processes are generated over a limited phase space matching the spectrometer acceptances
  • Not hard to modify

Overview

An overview of SIMC can be found in this presentation at the 2009 Hall A Collaboration Meeting

Documentation

For more information, see the SIMC Monte Carlo page in the Hall C Wiki

simc_gfortran's People

Contributors

gaskelld avatar markkjones avatar sawjlab avatar yero1990 avatar huberg 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.