TWiki> Main Web>WebPreferences>RandomTricksAndTips (revision 9)EditAttachPDF


Find out #events in a dataset:

dasgoclient --query "dataset=/SingleMuon/Run2017B-31Mar2018-v1/MINIAOD" -json

The json file has an entry called "nevents".

Global xrootd URL:



Issue starting from 10_1_X

Use the following fix starting from 10_1_0:

config.General.instance = 'preprod'

Originally reported here and circulated by Sam on cms-hlt.


Config files

Event selection

To add an event selection from a text file (1 line per event, using the format Run:LS:Event on each line):

f = open('list.txt')
process.source.eventsToProcess = cms.untracked.VEventRange( f )

CMSSW integration build

scram list CMSSW_9_3_X




Get menu run on MC

edmProvDump root://eoscms//eos/cms/store/relval/CMSSW_10_1_0_pre3/RelValTenTau_15_500/DQMIO/101X_upgrade2018_realistic_v3-v1/10000/C6BC450D-C228-E811-BC81-0CC47A4D75EE.root | sed -n '/^Processing History/,/^----/p'

Dump HLT menu from /cdaq

In hltGetConfiguration: add prefix "orcoff:" to the menu confdb path, e.g. : "hltGetConfiguration orcoff:/cdaq/..."

In hltConfigFromDB: add option "--adg"


Lumi per LS

export PATH=$HOME/.local/bin:/afs/$PATH

brilcalc lumi --byls -u 1e33/cm2s -b "STABLE BEAMS" -i /afs/

brilcalc lumi --byls -u 1e33/cm2s -b "STABLE BEAMS" -i "{301567:20,266}"


Particle Flow

PF Study Group twiki:

-- NadirDaci - 2018-04-25

Edit | Attach | Watch | Print version | History: r13 | r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r9 - 2019-04-18 - NadirDaci
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback