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
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.
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.
GNU General Public License (GPL) version 3