Tags:
create new tag
view all tags

Under construction

How to run on data with crab

Setting up the environment

  • Check out some recent CMSSW version
  • Setup the CRAB environment. Using c-shell, this means
 source /source /swshare/CRAB/CRAB_2_7_3/crab.csh 
  • Check out the modules from CVS and compile
    • Note, using CMSSW version before 3.8.0, you have to additionally checkout the package 'RecoVertex/KinematicFitPrimitives'
 cvs co AnalysisDataFormats/HeavyFlavorObjects HeavyFlavorAnalysis/Bs2MuMu
 cd AnalysisDataFormats/HeavyFlavorObjects; make -j4; cd -
 scramv1 b -j4
 cd HeavyFlavorAnalysis/Bs2MuMu/test/test-data

Creating the CRAB config files

  • Get the latest json file from the Onia2MuMu. For instance
 curl 'http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/CMSSW/HeavyFlavorAnalysis/Onia2MuMu/certification/7TeV/Collisions10/StreamExpress/Cert_132440-143336_7TeV_StreamExpress_Collisions10_JSON_BPAG_v2.txt?revision=1.1' > jsonfile 
  • In the template you want to use (e.g. crab-mu-v4-XXX.cfg), modify the output storage element location. That is the lines
    • be sure to output to CSCS in case you are running on the grid
 
storage_element = storage01.lcg.cscs.ch
storage_path = /srm/managerv2?SFN=/pnfs/lcg.cscs.ch/cms/trivcat/store/user/naegelic
user_remote_dir = /data/mu-v4/XXX

-- ChristophNaegeli - 2010-09-01

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-09-01 - ChristophNaegeli
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback