DBS Migration

DAS FAQ

DAS Tut

Setup : This can be done using an independent tool :

wget https://cmsweb.cern.ch/das/cli
mv cli das_client.py
chmod 777 das_client.py

Now das_client.py is already installed in the lxplus.

  • Use "instance=prod/phys03"" if the samples are privately produced.

Example :

## --limit to show 100 entries in one go (default is 10)
For dataset list: das_client --limit=100 --query="dataset=/GluGluToHToZZTo4L_M-*_8TeV-minloHJJ-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V19-v1/AODSIM "
For list of rootfile: das_client --limit=100 --query="file dataset=/Cosmics/Commissioning2014-v1/RAW | grep file.name"
For number of events in the rootfile: das_client --query="file = /store/data/Commissioning2014/Cosmics/RAW/v1/000/220/744/00000/228DBC07-C0BE-E311-8C17-002590494C4E.root | grep file.nevents"
For number of events with simple grep: das_client --query="file = /store/data/Commissioning2014/Cosmics/RAW/v1/000/220/744/00000/228DBC07-C0BE-E311-8C17-002590494C4E.root | grep file.nevents" | grep -v Showing  | grep '^.' 

dasgoclient -query="file,run,lumi dataset=/DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM"
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2020-12-14 - RamanKhurana
 
    • 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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback