Giter Site home page Giter Site logo

stwunsch / aod2nanoaodoutreachtool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cms-opendata-analyses/aod2nanoaodoutreachtool

0.0 1.0 0.0 2.21 MB

Tool to convert CMS AOD data format to NanoAOD format for the purpose of education and outreach

License: GNU General Public License v3.0

Python 22.98% Shell 8.28% C++ 68.74%

aod2nanoaodoutreachtool's Introduction

Tool to convert AOD to NanoAOD

Tool to convert AOD to NanoAOD file format for the purpose of education and outreach

Description

The tool can be used to read events from CMS AOD files and convert them to a reduced NanoAOD data format. Note that the tool is published for the documentation of the related datasets below and may need significant experiment-specific knowledge to be used.

Setup CMSSW

In case CMSSW is set up outside of the CMS Open Data VM or of the CMS Open Data docker container, source the following script.

source /cvmfs/cms.cern.ch/cmsset_default.sh

And check-out the appropriate CMSSW release using following call.

cmsrel CMSSW_5_3_32

Build module

cd CMSSW_5_3_32/src
cmsenv
mkdir workspace
cd workspace
git clone git://github.com/cms-opendata-analyses/AOD2NanoAODOutreachTool -b v1.2 AOD2NanoAOD
cd AOD2NanoAOD
scram b -j8

Test configuration locally

cmsRun configs/simulation_cfg.py
cmsRun configs/data_cfg.py

Example scripts for batch system submission

You can use the following script to submit to any HTCondor batch system.

./submit_jobs.sh /path/to/job/directory

You can merge the job files with the following script.

./merge_jobs.py /path/to/job/outputs

Test workflows

This repository contains two GitHub action workflows, which run the test workflow on the CMS open data container using GitHub free resources.

The output is returned as a GitHub artifact. The workflows are triggered by a pull request.

aod2nanoaodoutreachtool's People

Contributors

katilp avatar stwunsch avatar

Watchers

James Cloos 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.