• Help
  •    
  • About
    • CERN Open Data
    • ALICE
    • ATLAS
    • CMS
    • LHCb
    • OPERA
    • Glossary

Tool for conversion of CMS AOD files to reduced NanoAOD format for the purpose of education and outreach

Wunsch, Stefan

Cite as: Wunsch, Stefan; (2019). Tool for conversion of CMS AOD files to reduced NanoAOD format for the purpose of education and outreach. CERN Open Data Portal. DOI:10.7483/OPENDATA.CMS.944Q.PN2X

Software Tool Workflow CMS CERN-LHC


Description

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

Related items

DoubleMuParked dataset from 2012 in NanoAOD format reduced on muons

Characteristics

1 files. 766.4 kB in total.

System details

This code can be used with the CMS Open Data VM environment.
CMSSW_5_3_32

How can you use this?

Setup CMSSW

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

Build module

cd CMSSW_5_3_32/src && cmsenv
mkdir -p workspace/AOD2NanoAOD && cd workspace/AOD2NanoAOD
# Put the files here
scram b

Test configuration:

cmsRun configs/*_cfg.py

The scripts create_job.py and merge_jobs.py can be used to submit the conversion of multiple files to an HTCondor batch system and merge the results to the final dataset.

Source code repository

https://github.com/cms-opendata-analyses/AOD2NanoAODOutreachTool

File Indexes

{{$ctrlTbl.files = $ctrl.index_files.files; ""}} {{$ctrlTbl.totalItems = $ctrl.index_files.total; ""}}
Filename
Size
{{ file.key }}
{{ file.size | bytes }}
List Files Download Download Preview
Filename
Size
{{ file.key }}
{{ file.size | bytes }}
List Files Download Download Preview

Files

{{$ctrlTbl.files = $ctrl.files.files; ""}} {{$ctrlTbl.totalItems = $ctrl.files.total; ""}}
Filename
Size
{{ file.key }}
{{ file.size | bytes }}
List Files Download Download Preview
Filename
Size
{{ file.key }}
{{ file.size | bytes }}
List Files Download Download Preview

Disclaimer

GNU General Public License (GPL) version 3

  • © CERN, 2014–2021 ·
  • Terms of Use ·
  • Privacy Policy ·
  • Help ·
  • GitHub ·
  • Twitter ·
  • Email