• 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

GluGluToHToTauTau dataset in reduced NanoAOD format for education and outreach

VBF_HToTauTau dataset in reduced NanoAOD format for education and outreach

DYJetsToLL dataset in reduced NanoAOD format for education and outreach

TTbar dataset in reduced NanoAOD format for education and outreach

W1JetsToLNu dataset in reduced NanoAOD format for education and outreach

W2JetsToLNu dataset in reduced NanoAOD format for education and outreach

W3JetsToLNu dataset in reduced NanoAOD format for education and outreach

Run2012B_TauPlusX dataset in reduced NanoAOD format for education and outreach

Run2012C_TauPlusX dataset in reduced NanoAOD format for education and outreach

SMHiggsToZZTo4L dataset in reduced NanoAOD format for education and outreach

ZZTo4mu dataset in reduced NanoAOD format for education and outreach

ZZTo4e dataset in reduced NanoAOD format for education and outreach

ZZTo2e2mu dataset in reduced NanoAOD format for education and outreach

Run2012B_DoubleMuParked dataset in reduced NanoAOD format for education and outreach

Run2012C_DoubleMuParked dataset in reduced NanoAOD format for education and outreach

Run2012B_DoubleElectron dataset in reduced NanoAOD format for education and outreach

Run2012C_DoubleElectron dataset in reduced NanoAOD format for education and outreach

Characteristics

1 files. 748.5 KiB 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–2023 ·
  • Terms of Use ·
  • Privacy Policy ·
  • Help ·
  • GitHub ·
  • Twitter ·
  • Email