GithubHelp home page GithubHelp logo

janusw / haft Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 54 KB

The HADES Acceptance Filter for Theorists (HAFT)

Home Page: https://hades-wiki.gsi.de/cgi-bin/view/Public/HadesHAFT

Fortran 98.06% Makefile 1.94%

haft's Introduction

HAFT

The HADES Acceptance Filter for Theorists (HAFT)

This repository contains a Fortran2003 version of the HAFT code, based on the original F77 code from https://hades-wiki.gsi.de/cgi-bin/view/Public/HadesHAFT. This version is being used in the transport codes GiBUU and SMASH (in the latter via f2py).

In contrast to the original code, the reading of the acceptance matrices is done in a compiler-indepedent fashion. This version of the code has been verified to compile with gfortran, ifort, sunf95 and pgf95 and should work with any compiler that supports the Fortran2003 standard.

There are two modules, 'HAFT_single' and 'HAFT_pair'.

The module 'HAFT_single' provides routines for single-particle acceptance filtering. Usage:

  1. set acceptance file name with call setFileName(fname)
  2. sample single acceptance values with calls to acc = getHadesAcceptance(id,mom,theta,phi,mode)
  3. apply detector resolution with calls to call smearhadesmomentum(...)

The module 'HAFT_pair' provides routines for pair acceptance filtering. Usage:

  1. set acceptance file name with call setPairFileName(fname)
  2. sample pair acceptance values with calls to acc = getHadesPairAcceptance(mass,pt,rapidity,mode)
  3. set resolution parameters via call setResolutionParameters(...)
  4. apply detector resolution via call smearHadesPair(...)

haft's People

Contributors

janusw avatar

Stargazers

 avatar  avatar

Watchers

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