TMD Recipes

Ntuplizing multiple datasets at FNAL (OpenHlt)

  • create a working area in a CMSSW release (357 works)
  • checkout the scripts and templates from cvs
cvs co UserCode/TMD/scripts
  • edit crab.cfg.template and modify the storage_path to point to your dCache area (resilient/yourusername/yoursubdirectory)
  • pick a run you want to ntuplize (run list : cmswbm, , run summary )
  • choose which datasets you want to ntuplize contains a dbssql commands that queries for ALL the DS available, you can run the script separately ./ ${RUNNUMBER}. This produces two outputs : one, dbsql_rrunnumber, with the full list of available datasets for the run you chose, second, brewInput, contains the list of dataset to be ntuplized. You can modify this list by editing :
for dataset in Cosmics Commissioning EG EGMonitor JetMETTau JetMETTauMonitor MinimumBias Mu MuMonitor; do 
->for dataset in [your list of datasets]; do
This runs, then, and creates a subdirectory called r${RUNNUMBER} where you should then submit the jobs :
This does NOT submit the jobs, just prints you the commands you have to copy and paste.
  • when the jobs are done, you can copy them to CERN : edit, change resilient/lucieg/Commish2010 to resilient/yourusername/yoursubdirectory and user/l/lucieg to user/u/username and run :

Troubleshooting :

-- LucieGAUTHIER - 10-Jun-2010

This topic: Main > TWikiUsers > LucieGAUTHIER > HowToNtuplize
Topic revision: r7 - 2010-06-24 - LucieGAUTHIER
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