Giter VIP home page Giter VIP logo

hh2bbtautau's Introduction

HH โ†’ bb๐œ๐œ

Lint and test License

Quickstart

A couple test tasks are listed below. They might require a valid voms proxy for accessing input data.

# clone the project
git clone --recursive [email protected]:uhh-cms/hh2bbtautau.git
cd hh2bbtautau

# source the setup and store decisions in .setups/dev.sh (arbitrary name)
source setup.sh dev

# index existing tasks once to enable auto-completion for "law run"
law index --verbose

# run your first task
# (they are all shipped with columnflow and thus have the "cf." prefix)
law run cf.ReduceEvents \
    --version v1 \
    --dataset hh_ggf_bbtautau_madgraph \
    --branch 0

# create a plot
law run cf.PlotVariables1Dย \
    --version v1 \
    --datasets hh_ggf_bbtautau_madgraph \
    --producers default \
    --variables jet1_pt \
    --categories incl \
    --branch 0

# create a (test) datacard (CMS-style)
law run cf.CreateDatacards \
    --version v1 \
    --producers default \
    --inference-model test \
    --workers 3

Useful links

Development

hh2bbtautau's People

Contributors

bogdan-wiederspan avatar haddadanas avatar nprouvost avatar riga avatar

Watchers

 avatar  avatar  avatar

hh2bbtautau's Issues

Problem concatenating awkward arrays

When trying to run a background sample, the following code throws an error

def split(where):
# when there are no events matched by the mask, ak.concatenate (unlike np) fails
features = np.concatenate(
[
ak.values_astype(f[where][..., None], np.float32)
for f in input_features
],
axis=2,
)

ValueError: cannot convert to RegularArray because subarray lengths are not regular

Bug in config/triggers.py

For e tauh there are 2 triggers with different id but the same name (which should be unique). The same happens for mu tauh.

Setup on Lxplus

Dear hh2bbtautau developers,

I'm trying to setup and run this code on lxplus.cern.ch. When running this sample task from the README.md:

law run cf.ReduceEvents \
    --version v1 \
    --dataset hh_ggf_bbtautau_madgraph \
    --branch 0

I run into this error:

ERROR: ... cf.GetDatasetLFNs(...)
Traceback (most recent call last):
  File "/eos/user/j/jowulff/hh2bbtautau/modules/columnflow/modules/law/law/target/remote/interface.py", line 120, in wrapper
    return func(self, *args, **kwargs)
  File "/eos/user/j/jowulff/hh2bbtautau/modules/columnflow/modules/law/law/contrib/gfal/target.py", line 312, in mkdir_rec
    raise e
law.contrib.gfal.target.GFALError_mkdir: globus_ftp_client: the server responded with an error 550 Permission denied    (GFALError_mkdir: unknown reason)

the call that raises the exception is:

  File "/eos/user/j/jowulff/hh2bbtautau/modules/columnflow/modules/law/law/contrib/gfal/target.py", line 305, in mkdir_rec
    ctx.mkdir_rec(uri, perm)
gfal2.GError: globus_ftp_client: the server responded with an error 550 Permission denied  

It seems like I don't have permissions for creating a directory.. Any help would be appreciated

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.