Skip to content

Instantly share code, notes, and snippets.

@Brainz22
Last active October 31, 2025 01:02
Show Gist options
  • Select an option

  • Save Brainz22/33f82f59180a1b32b3cece94ce8d7610 to your computer and use it in GitHub Desktop.

Select an option

Save Brainz22/33f82f59180a1b32b3cece94ce8d7610 to your computer and use it in GitHub Desktop.
How to work with CMS data aggregation system.

Note: See comment 4 for how Daniel found a new Phase2Spring24 dataset.

My cmsDriver.py failed because of the following --filein "root://cmsxrootd.fnal.gov///store/mc/Phase2Spring23DIGIRECOMiniAOD/MinBias_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9_ext1-v2/80000/0061cc5d-056b-41f5-ba7b-aada40915e3f.root". According to CMS people (Artur Lobanov), the file now only exists "on tape", so I need to find the one that "on disk." We can do this via browser by accessing CMS DAS at https://cmsweb.cern.ch/das/ via the browser.

  • Need to import a grid certificate on the browser you are using. For firefox, I found this: https://ca.cern.ch/ca/help/?kbid=040111. There were some slight changes like there's no "options" button but a "settings" button. Everything else is pretty much the same. With this, I can access the CMS DAS website.

  • The person found out that my file was wrong as site file=/store/mc/Phase2Spring23DIGIRECOMiniAOD/MinBias_TuneCP5_14TeV-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9_ext1-v2/80000/0061cc5d-056b-41f5-ba7b-aada40915e3f.root and it shows comment 1 in the comments.

  • He then found the correct site with site dataset=/MinBias_TuneCP5_14TeV-pythia8/Phase2Spring23DIGIRECOMiniAOD-PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9_ext1-v2/GEN-SIM-DIGI-RAW-MINIAOD. It shows what is shown on the comment 2.

  • Then, the person finds the correct files in the correct site as file dataset=/MinBias_TuneCP5_14TeV-pythia8/Phase2Spring23DIGIRECOMiniAOD-PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9_ext1-v2/GEN-SIM-DIGI-RAW-MINIAOD site=T2_TR_METU. See this in comment 3.

@Brainz22
Copy link
Author

See below how it shows up when the input is the file name described above:

TAPE_DAS

@Brainz22
Copy link
Author

Finding the correct site. T2_TR_METU is the one with DISK data:

SiteAtDAS

@Brainz22
Copy link
Author

Correct Minbias location of files found as follows:

CorrectSiteMinbias

@Brainz22
Copy link
Author

Using the wild card to find a dataset. From what is shown here, I can click dataset to find specific files:

WildCard_CMSdas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment