Git Product home page Git Product logo

ldmx-scripts's Introduction

LDMX-scripts

Please get started with going to https://github.com/IncandelaLab/LDMX-scripts/wiki

The tutorials can be found at https://github.com/IncandelaLab/LDMX-scripts/blob/master/TutorialFiles/README.md

Specific Notes Regarding WAB:

  • Everything related to the WAB is under pyEcalVeto
  • There are several .lhe files located under the WABSample directory. They are the most relevant WAB samples with selected form factors. We only consider form factors 2 and 4 because others are either too easy to veto or are too unlikely to happen.
  • The quickTreeMaker.py quickly extracts the recoil electron 3-momentum for you.
  • The wab_sample_analyzer.py and the wab_sample_analyzer_v12.py are the main two python files that do the WAB analysis. It figures out how deep the recoil electron penetrates through the recoil tracker and what is the correct photon and electron kinematic information. This information is directly obtained from the Target Scoring Plane, so they are true values and are not accessible in the real experiment. Looking at them simply helps us figure out what is actually going on. Do NOT USE the branch "gTheta" and "egTheta", unless you want to know how bad the usual way to find photon kinematic information is. gTheta is the angle of photon inferred from the electron kinematic information (basically just [0,0,4000MeV] - recoil electron 3-momentum, so this is to some extent an experimentally accessible value). This is how treeMaker.py usually computes photon angle, but it will give you a horrible estimate of the photon kinematics in the WAB cases because the target or other phenomena will take energy away from the initial 4GeV. So please use "gThetaNew", "gPMagnitude", "gPx","gx"... to look for photon information. The exact meaning of each of the branches is commented on the file wab_sample_analyzer.py

ldmx-scripts's People

Contributors

aechavez avatar duncanwilmot avatar danyi211 avatar tvami avatar vdutta avatar jmlazaro25 avatar aminajli avatar madivb avatar xinyixu03 avatar p-masterson 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.