Code Monkey home page Code Monkey logo

djangoh's Introduction

DJANGOH - version 4.6.20 [eic] (24 June 2022)

Monte Carlo simulation for deep inelastic lepton nucleon scattering

Overview (as given by the original developer)

DJANGOH performs event simulation of neutral and charged current lepton nucleon scattering. The program was developed originally for deep inelastic electron proton scattering at HERA, but has been extended and includes options for muon scattering, heavy nuclear targets, elastic scattering and polarized protons. The emphasis is put on the inclusion of radiative corrections, comprising single soft and hard photon emission and the complete set of electroweak 1-loop corrections in the Standard Model. Large-mass hadronic final states are generated by an interface to LEPTO which simulates QCD effects. Low-mass hadronic final states are included by an interface to SOPHIA.

Please send complaints, observations, suggestions to [email protected]

Additional notes for EIC/BNL use:

This repository is a fork of the original DJANGOH code. The main simulation code is untouched, but modifications have been made to the user routine HSUSER such that the event record contains the necessary information to make EICTrees. In addition, the config.mk file has been changed to direct the system to the correct location of the LHAPDF libraries.

To install, first check where your LHAPDF libraries are. This may be in a couple different environment variables:

echo $LHAPDF
echo $LHAPDF5
echo $LHAPDF6

Whichever one gives the LHAPDF libraries, go to config.mk and make the necessary modifications to line 11. For example, if LHAPDF5 contains the libraries, then change line 11 to

LHAPDF=${LHAPDF5}

Next, cd into this local repository, rename makefile-sample to makefile and run make. In my experience, there were a ton of warnings, mostly yelling about obsolescent features in the Fortran code, but no errors. The executable will be built in this directory. Finally, add the following line of code to your startup script(s) such that it can find the right DJANGOH executable (if there are multiple):

export PATH="/path/to/DJANGOH:${PATH}"

Verify by trying

which djangoh

which should yield /path/to/DJANGOH.

djangoh's People

Contributors

spiesber avatar tch285 avatar bschmookler 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.