cernopendata/opendata.cern.ch

CMS - work through Getting started miniAOD in the new container

katilp opened this issue · 3 comments

  • as none of the two commands under

    image

    is now needed in the container, the wording could be changed so that this whole paragraph would only be for VM (i.e. starting from "If you are using the VM, always use..." and cmsrel ...)

  • in "Download example EDAnalyzerscripts from this Github repository into a directory two levels below src/:" it might not be clear for those unfamiliar with git that the command - as it is given - already clones the thing two levels below src and there nothing more to do (e.g. creating dirs etc). Maybe have this in parenthesis, e.g. (Test/MiniAnalyzer/ in the command creates the two directory levels that are needed for CMSSW code to work)

  • Is git clone for the MiniAnalyzer_CMSSW_10_6_30 repository OK also for 2015 data (the title says 2015 VM, ...)?
    image

  • Updated output for the first run without code modifications:

    (/code/CMSSW_10_6_30/src/Test/MiniAnalyzer) cmsRun python/ConfFile_cfg.py
    26-Mar-2024 17:34:32 CET  Initiating request to open file root://eospublic.cern.ch//eos/opendata/cms/Run2016G/SingleElectron/MINIAOD/UL2016_MiniAODv2-v2/120000/FF99404A-8F07-444E-B931-7B2AE327070B.root
    240326 17:34:32 865 secgsi_InitProxy: cannot access private key file: /home/cmsusr/.globus/userkey.pem
    %MSG-w XrdAdaptor:  file_open 26-Mar-2024 17:34:35 CET pre-events
    Data is served from cern.ch instead of original site eospublic
    %MSG
    26-Mar-2024 17:34:48 CET  Successfully opened file root://eospublic.cern.ch//eos/opendata/cms/Run2016G/SingleElectron/MINIAOD/UL2016_MiniAODv2-v2/120000/FF99404A-8F07-444E-B931-7B2AE327070B.root
    Begin processing the 1st record. Run 280363, Event 187657341, LumiSection 116 on stream 0 at 26-Mar-2024 17:34:59.995 CET
    Begin processing the 2nd record. Run 280363, Event 186936772, LumiSection 116 on stream 0 at 26-Mar-2024 17:34:59.997 CET
    Begin processing the 3rd record. Run 280363, Event 186325056, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.000 CET
    Begin processing the 4th record. Run 280363, Event 187418881, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.001 CET
    Begin processing the 5th record. Run 280363, Event 186613060, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.001 CET
    Begin processing the 6th record. Run 280363, Event 186347521, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.001 CET
    Begin processing the 7th record. Run 280363, Event 186424707, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.004 CET
    Begin processing the 8th record. Run 280363, Event 186377469, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.004 CET
    Begin processing the 9th record. Run 280363, Event 187712063, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.004 CET
    Begin processing the 10th record. Run 280363, Event 187347460, LumiSection 116 on stream 0 at 26-Mar-2024 17:35:00.004 CET
    26-Mar-2024 17:35:00 CET  Closed file root://eospublic.cern.ch//eos/opendata/cms/Run2016G/SingleElectron/MINIAOD/UL2016_MiniAODv2-v2/120000/FF99404A-8F07-444E-B931-7B2AE327070B.root
    
    =============================================
    
    MessageLogger Summary
    
     type     category        sev    module        subroutine        count    total
     ---- -------------------- -- ---------------- ----------------  -----    -----
        1 XrdAdaptor           -w file_open                              1        1
        2 fileAction           -s file_close                             1        1
        3 fileAction           -s file_open                              2        2
    
     type    category    Examples: run/evt        run/evt          run/evt
     ---- -------------------- ---------------- ---------------- ----------------
        1 XrdAdaptor           pre-events
        2 fileAction           PostGlobalEndRun
        3 fileAction           pre-events       pre-events
    
    Severity    # Occurrences   Total Occurrences
    --------    -------------   -----------------
    Warning                 1                   1
    System                  3                   3
    
    dropped waiting message count 0
    
    
  • Updated output for the run after adding electrons

    Begin processing the 1st record. Run 280363, Event 187657341, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:17.116 CET
    electron with pt 30.8, eta -0.795, cluster eta -0.789, pass conversion veto 1
    Begin processing the 2nd record. Run 280363, Event 186936772, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.200 CET
    electron with pt 42.8, eta -2.243, cluster eta -2.252, pass conversion veto 1
    electron with pt 38.5, eta -2.154, cluster eta -2.162, pass conversion veto 1
    Begin processing the 3rd record. Run 280363, Event 186325056, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.202 CET
    electron with pt 32.0, eta +1.864, cluster eta +1.859, pass conversion veto 1
    Begin processing the 4th record. Run 280363, Event 187418881, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.205 CET
    electron with pt 33.8, eta -1.882, cluster eta -1.884, pass conversion veto 1
    Begin processing the 5th record. Run 280363, Event 186613060, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.206 CET
    electron with pt 48.5, eta +2.082, cluster eta +2.096, pass conversion veto 1
    electron with pt  5.5, eta +2.324, cluster eta +2.328, pass conversion veto 1
    Begin processing the 6th record. Run 280363, Event 186347521, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.206 CET
    electron with pt 27.2, eta -0.647, cluster eta -0.646, pass conversion veto 1
    Begin processing the 7th record. Run 280363, Event 186424707, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.208 CET
    electron with pt 142.9, eta -2.304, cluster eta -2.320, pass conversion veto 1
    Begin processing the 8th record. Run 280363, Event 186377469, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.211 CET
    electron with pt 23.8, eta +1.947, cluster eta +1.956, pass conversion veto 1
    Begin processing the 9th record. Run 280363, Event 187712063, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.212 CET
    electron with pt 132.1, eta -1.534, cluster eta -1.546, pass conversion veto 1
    electron with pt 15.3, eta -0.924, cluster eta -0.938, pass conversion veto 1
    electron with pt  9.2, eta -0.988, cluster eta -0.991, pass conversion veto 1
    Begin processing the 10th record. Run 280363, Event 187347460, LumiSection 116 on stream 0 at 26-Mar-2024 17:51:20.212 CET
    electron with pt 33.6, eta +1.325, cluster eta +1.366, pass conversion veto 1
    
  • the last getting started with nanoaod link brings to https://opendata-qa.cern.ch/docs/cms-getting-started-nanoaod/ (i.e. Page not found). Remove / at the end of the link.

@katilp on the question for 2015 -- yes, the code identical to what you get in 7_6_7, it can be used for 2015.

I can work on the rest of these

Maybe a remark then to tell users to change the input file and the GT for 2015.

The GT isn't explicitly invoked in this config anywhere, it's too simple. But I clarified that 2015 or 2016 MiniAOD files can be used.