Monte Carlo Simulations¶
A set of simulated data (Monte Carlo - MC) corresponding to the collision data is made available. All directly available MC datasets can be found with this search. For 2012 data taking, large amount of MC, thought to be of less frequent use, is available on demand and included in search results if "include on-demand datasets" option is selected.
MC dataset are searchable by categories, which can be found under "Filter by category" on the left bar of the search page.
The dataset name consists of three parts separated by
The first part indicates the simulated physics process (
some of the production parameters (
M-15To50_Tune4C), collision energy (
and the event generator used in the processing chain. CMS simulated datasets names
gives more details in the naming.
The second part is the production campaign (
PU_S10) and processing conditions (
and the last one indicates the data format (
The dataset naming reflects the contents of the dataset, and the actual generator parameters with which the dataset contents have been defined can be found as explained under "Finding the generator parameters" in the CMS Monte Carlo production overview.
CMS Monte Carlo production overview briefly describes the steps in the MC production chain.
The data format in use for Run1 MC data is Analysis Object Data (AODSIM). Starting from Run2, a slimmer version of this format called MINIAODSIM is used. A brief description of data formats can be found in the introductory About CMS under "Primary and simulated datasets".
Cross section calculation¶
Cross sections can be calculated for MC samples.
Caveat: The cross-sections found with this tool are those predicted by the respective generators. There may be better estimates, coming from dedicated task forces, theory papers etc.
To account for the different running conditions in Run 1 vs Run 2, click the appropriate tab below for Run 1 vs Run 2 data.
- This page is under construction
- First, fetch a CMSSW image and start a container. You can find a list of Docker container images available for CMS open data in the guide page for CMS open data containers. A tutorial on working with docker is at CMS open data containers. After you start your container, you will need the file ana.py, which you can access by curl
curl https://raw.githubusercontent.com/cms-sw/genproductions/master/Utilities/calculateXSectionAndFilterEfficiency/genXsec_cfg.py -o ana.py
Next, you'll calculate a cross-section for a root file. You can identify the address of your root file by navigating to the CERN open data record. When you click the Download button at the bottom of the page, you'll get a printout of the path to your file. For example, a simulated dataset is available at Simulated dataset TGJets_TuneCUETP8M1_13TeV_amcatnlo_madspin_pythia8 in MINIAODSIM format for 2015 collision data. After clicking the Download button at the button of the page, you will be brought here, and you can copy the path of your file/files of interest to use to compute your cross-section.
To compute a cross-section using one of the above files, type
cmsRun ana.py inputFiles="root://eospublic.cern.ch//eos/opendata/cms/mc/RunIIFall15MiniAODv2/TGJets_TuneCUETP8M1_13TeV_amcatnlo_madspin_pythia8/MINIAODSIM/PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/00000/1A454199-F8B8-E511-A55D-7845C4FC374C.root" maxEvents=-1
Caveat: in the above method, you directly access the file from your container. If instead your files are on your local system and you plan to copy them to your container to use them, note that you must modify the syntax to:
cmsRun ana.py inputFiles="file:xxxx.root" maxEvents=-1You must use the syntax "file:" before your root file name. For example, if your root file is called ttbar.root, you would type
cmsRun ana.py inputFiles="file:ttbar.root" maxEvents=-1
After running the above commands, you will get a log file. A sample printout is below and also available here:
A cross-section summary will be printed out. The definition of each quantity is:
- Before matching: the cross section before jet matching and any filter
- After matching: the cross section after jet matching BUT before any filter
- Filter efficiency: the efficiency of the any filter.
- After filter: the cross section after jet matching and additional filter are applied. This is your final cross section.