Git Product home page Git Product logo

jettriggerperformancepackage's Introduction

***************************************************************************
* This is the README file of the JetTriggerPerformancePackage (JTPP)
*
* In the following you will find instructions of how to compile the package,
* make changes in the configuration file and finally, how to run JTPP
*
* Edgar Kellermann ([email protected])
****************************************************************************

*** 1. Compiling Code and Getting Ready ************************************

The JetTriggerPerformancePackage is a rootcore package and is therefore
compiled by using rootcore. It also uses an additional package, the xAODAna-
Helpers package, that is not part of the Rootcore AnalysisBase. This means
that a copy of xAODAnaHelpers is needed in the same directory in which you
copied JetTriggerPerformancePackage.

You can download xAODAnaHelpers by using:

  git clone https://github.com/UCATLAS/xAODAnaHelpers

More informations can be found here: https://xaodanahelpers.readthedocs.io/en/master/Installing.html

After you succesfully cloned xAODAnaHelpers it is time to compile the rootcore
packages. JTPP was designed using the Rootcore Analysis Base 2.4.9 which we
therefore recommend to use. For the compilation, use the following command lines:

  setupATLAS
  rcSetup Base,2.4.9
  rc find_packages
  rc compile

The compilation can take some minutes. If something goes wrong during the compilation and you would like to compile again, use 'rc clean' for cleaning first.

*** 2. Setting Configurations in JTPP  ************************************

JTPP offers various options for jet trigger performance studies which are
specified in a config file. An example for such a file is given by

 scripts/config_OpMagic_v1.0.py

You will find more informations about the available options in the confi file itself.
In order to test your settings, you can also use  config_OpMagic_v1.0.py
for a run straight ahead. Please note that it's important to keep the syntax
in the config file to guarantee a succesfull run.

*** 3. Running JTPP  ******************************************************

After a successful compilation, JTPP can be run on ntuples stored locally or
on the Grid. In general, the package is run by using the script xAH_run.py
that you can find in the 'scripts' directory.In order to run this package locally,
use following command:

  xAH_run.py --files "TOTAL/PATH/TO/file.root" -f --config config_OpMagic_v1.0.py --treeName outTree --submitDir SUMBITDIRNAME  --isMC direct

The submit directory will be placed under scripts and have the name SUBMITDIRNAME.
Note that you have to give the total path of the root file as an argument.
Alternatively, you provide a filelist as argument that includes the total paths (!) of
all root files that you would like to use for this run:

  xAH_run.py --files PATH/TO/filelist.txt --inputList -f --config config_OpMagic_v1.0.py --treeName outTree --submitDir SUMBITDIRNAME  --isMC direct

For ntuples of the grid, we use xAH_run.py as well, but with the command:

  xAH_run.py -f --files "user.username.filename.root/" --treeName outTree --submitDir=SUBMITDIRNAME --config config_OpMagic_v1.0.py --inputDQ2 prun --optGridDestSE=""  --optGridOutputSampleName=user.username.%in:name[1]%.%in:name[2]%.%in:name[3]%.v1.FILENAME

More informations on tags for xAH_run.py can be found on the webpage:
https://xaodanahelpers.readthedocs.io/en/master/UsingUs.html#configuration-details

jettriggerperformancepackage's People

Contributors

urania277 avatar

Watchers

 avatar

Forkers

dorksquith

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.