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"