Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMS: add documentation for how to compute cross section for a dataset #2476

Open
katilp opened this issue Dec 11, 2018 · 6 comments
Open

CMS: add documentation for how to compute cross section for a dataset #2476

katilp opened this issue Dec 11, 2018 · 6 comments

Comments

@katilp
Copy link
Member

katilp commented Dec 11, 2018

For CMS MC datasets, we can the cross-section values from the McM database, but these values can also be read from the files as well. Good instructions exist for how to read the cross section values in
https://twiki.cern.ch/twiki/bin/view/CMS/HowToGenXSecAnalyzer
and listing of more precise values (in case of higher order corrections) are available
(and should be used whenever possible):
https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSections
https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat8TeV

Instead of displaying the cross-section value (which may or may not be there, and in many case should be updated with the corrections), we will rather point to more information under "Description"

See the instructions on how calculate the cross section for the physics analysis: CMS Guide to calculating cross sections

@katilp
Copy link
Member Author

katilp commented Dec 11, 2018

This will be only for Run2 as this information is available in the data format only starting from CMSSW_5_3_21:

Indeed, following instructions in https://twiki.cern.ch/twiki/bin/view/CMS/HowToGenXSecAnalyzer
work on the Open Data VM:

cmsrel CMSSW_5_3_32
cd CMSSW_5_3_32/src
cmsenv
curl https://raw.githubusercontent.com/syuvivida/generator/master/cross_section/runJob/ana.py  -o ana.py
# change the global tag in ana.py as instructed in http://opendata.cern.ch/docs/cms-guide-for-condition-database + add the symbolic links
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/START53_V27 START53_V27
ln -sf /cvmfs/cms-opendata-conddb.cern.ch/START53_V27.db START53_V27.db
cmsRun ana.py inputFiles="root://eospublic.cern.ch//eos/opendata/cms/MonteCarlo2012/Summer12_DR53X/DiPhotonBorn_Pt-10To25_8TeV_ext-pythia6/AODSIM/PU_RD1_START53_V7N-v2/10000/00E9331C-F1E1-E211-8C43-0025B3E06528.root" maxEvents=-1

This gives a warning:

%MSG-w LocalFileSystem::initFSList():  (NoModuleName) 11-Dec-2018 15:42:27 CET  pre-events
Cannot read '/etc/mtab': No such file or directory (error 2)
%MSG
[......]
-----------------------------------
GenXsecAnalyzer:
------------------------------------
------------------------------------
Cross-section summary not available
------------------------------------

@katilp katilp added this to the Someday milestone Dec 11, 2018
@katilp
Copy link
Member Author

katilp commented Dec 11, 2018

Maybe for now, for Run1 MC, add in "Description"

@tiborsimko
Copy link
Member

@katilp We would need a public version of the above page (that is available to CMS only.)

@jmhogan
Copy link
Contributor

jmhogan commented Feb 2, 2024

Since she's been running XsecAnalyzer, Xiaohe will work on making this page. We'll do something like cms-guide-cross-sections with two main sections:

  • Run 2: how to process the XsecAnalyzer in the 7-6-7 and 10-6-30 environments
  • Run 1: we can copy/paste into markdown the tables on these TWikis for 7 and 8 TeV.
    We'll check in with GEN about whether or not these pages can be made public so that we can link to them for extra info.

@katilp
Copy link
Member Author

katilp commented Feb 2, 2024

Thanks! That was checked a while ago with GEN, but it is good to recheck as convenors change: at the time it was OK

@jmhogan
Copy link
Contributor

jmhogan commented Feb 2, 2024

Oh, good, even better :)

tiborsimko pushed a commit to jmhogan/opendata.cern.ch that referenced this issue Mar 5, 2024
Updates for some CMS Guide pages:

- docs/about-cms: add 2016 information, update links, and rearrange information about the different file types found
- docs/cms-guide-docker: add the ROOT and Python containers (as #nanoaod html tag) and a few more clarifications to examples
- docs/cms-guide-for-research: something of a rewrite here
- docs/cms-guide-pileup-simulation: add 2016 info and clarify/tweak text descriptions; add AOD/MiniAOD and Nano access examples
- docs/cms-guide-xsec: brand new page about cross section values.

Closes cernopendata#3455 cernopendata#3452 cernopendata#3329 cernopendata#2791 cernopendata#2476

Co-authored-by: Xiaohe Shen <xiaohe_shen@brown.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants