Giter Site home page Giter Site logo

alice_djets's Introduction

  • Prepare root files with an output of your analysis: data + MC for efficiencies and response matrix

  • If a separete bkg.fluctuation matrix is needed, prepare it first

  • Prepare configs:

    • config *.h file, examples are: Dzero.h or Dstar.h
      • adjust variables to your needs: set up the system, D meson specie, D bins that you want to use, used R parameter, signal and SB ranges, if you want reflections (for D0), sigma in, etc ...
      • IMPORTANT -- set up also names (and description) of your non-prompt (needed for the B feed-down subtraction) and prompt (needed only at the last step when comparing the measured x-section to a model, otherwise can be skipped) D-jet simulation files (path to the files needs to be given in diffrerent place)
      • in case of running with reflections for D0, you must already have the reflection files prepared
  • running scripts: here you need to define your configuration

    • run.sh: the main script running the whole analysis -- steps to be run - settings are passed via a script that runs this one, usually this script doesn't have to be modified, unless you want to skip one of the analysis steps -- !! you may want to change the jet pT ranges for the efficiency evaluation: jetpteffmin, jetpteffmax; and how the denominator is define.
    • run_analysis.csh: this script runs run.sh, define here paths to data and MC output files, file names, the *.h configuration file name, if reflections are used, if external bkg. fluctuation matrix is used ... -- !!!! setup number of POWHEG sim files !
    • run_main.csh: this script runs run_analysis.sh, define here unfolding algorithm, reg. parameter for the unfolding, prior, prior type and bkg. Fluctuation matrix type (this you need to set once you use an external bkg. fluctuation matrix, then based on this type name of a root file with the corresponding bkg. fluctuation matrix will be set in the run_analysis.csh script - you should set path to your file). Set up also flags and RELEVANT SCRIPTS if you want to run analysis for systematic unc. evaluation.

All analyses happen inside Djets. Enter Djets.

$ bash run_main.csh

Edit run_analysis.csh for toggling between default runs, and systematics-runs.
Change outputdirectorybase accordingly.

Example: for multi-trial systematics,

  1. Change jet radius at two places: run_analysis.csh and configDzero_pp.h.
  2. Use outputdirectorybase=$HOME/Work/alice/analysis/pp5TeV/D0jet/results_APW/FinalSys/RawSysFinal_DzeroR0${R}_ Comment other outputdirectorybase variables.
  3. $ bash run_main.csh # This should succeed up to D-signal extraction, and fail for B-feed down steps.
  4. Check run_settings.csh. It contains flags for toggling between different systematics types. For multi-trial, use flagMulti=1.
  5. Enter DsignalExtraction.
  6. Run getYields.csh.

alice_djets's People

Contributors

btrzecia avatar mycrofd avatar

Stargazers

 avatar

Watchers

 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.