Tags:
create new tag
,
view all tags
---+ Randall-Sundrum Analysis Package ---++ Introduction This package was built to analyse Randall-Sundrum graviton production in the decay channel: G* -> ZZ -> Jet + MET ---++ Set up Environment - Understand the code First, check if you have the following commands in your =.bashrc=: (note: youlogin is your login at CERN, without capital letters) <verbatim> export PATH=$PATH:$HOME/bin source /OSG/client-1.2/setup.sh export SCRAM_ARCH=slc5_ia32_gcc434 export OSG_APP=/osg/app source $OSG_APP/cmssoft/cms/cmsset_default.sh alias setupcrab="source $HOME/bin/setupcrab.sh" alias setupgrid="source $HOME/bin/setupgrid.sh" export KRB5_CONFIG=/home/trtomei/.krb5_config alias setupkerberos="kinit yourlogin@CERN.CH" </verbatim> Set up a release of CMSSW (we are here using 3_9_9_patch1): =cmsrel CMSSW_3_9_9_patch1= =cd CMSSW_3_9_9_patch1/src= =cmsenv= Have to setup kerberos to be able to check out from cvs. =setupkerberos= Checkout package: <verbatim> cvs co -d RSGraviton/RSAnalyzer UserCode/ThiagoTomei/RSGraviton/RSAnalyzer </verbatim> Build package: =scram b= Initialize proxy: =voms-proxy-init= Create an archive named =condor.submit= with the following content: <verbatim> executable = /bin/ls transfer_executable = false universe = grid grid_resource = gt2 osg-ce.sprace.org.br/jobmanager-condor log = teste.log output = teste.out queue </verbatim> If it doesn't work, you can try to use =/bin/pwd= instead of =/bin/ls= Now, to submit to the grid: =condor_submit condor.submit= To check the status of the job on the grid: =condor_q YOURUSER= The output (in file teste.out) will be a path to where is your user related directory in OSG: =/home/OSG/uscmsYOURUSERNUMBER/gram_scratch_XmShfMl15l= Now, go to the directory ZZ2q2nu, and open the file =setupCMSSW.submit=. The field =arguments= is which version of CMSSW you want to set up on OSG directory. The =transfer_input_files= is the .tar.gz package with the code. Now, open the file =setupCMSSW.sh=. This is script which is run. Change de ID for yours, which is output in the previos step, i.e. =/home/OSG/uscms062= --> =/home/OSG/YOURUSERNUMBER= Now, get the tarball: <verbatim> wget http://cmssw.cvs.cern.ch/cgi-bin/cmssw.cgi/UserCode/ThiagoTomei/RSGraviton.tar.gz?view=tar </verbatim> and rename it to the proper extension: =mv RSGraviton.tar.gz?view=tar RSGraviton.tar.gz= Now, submit it to condor: =condor_submit setupCMSSW.submit= And check the output. If it's built, it's good. The archive =script.sh= runs rsanalyzer_JetMET_PATsignalAndControlTogether_cfg.py, with the four arguments you give as an input (open the archive and check it!). Now, open the python configure file it runs. In the beginning, you'll see all the analysis cuts used. Then, all the logic of the analysis path. This is the file one should run to get all the histograms. The instructions on how to normalize them to the correct luminosity are on the file =README.txt=. ---++ Running the Script You can test if the script is properly running: =cmsRun rsanalyzer_JetMET_PATsignalAndControlTogether_cfg.py input W0j= The list of valid inputs are on the =README.txt= file, and corresponds to paths to the datasets in SPRACE. If properly running, now one can use the condor to submit all the scripts from a given process. As an example, let's run on condor the Z+jets invisible. Firts, one have to make the directory where the correspondent histograms will be saved.This should be the same as listed in the condor submit script =condor_ZinvisibleJets.submit=. You also have to make a copy of the big config file (rsanalyzer_etc) to the new directory. <verbatim> mkdir ZinvisibleJets scp rsanalyzer_JetMET_PATsignalAndControlTogether_cfg.py ZinvisibleJets/ </verbatim> Then you have to submit the condor job: <verbatim> condor_submit condor_Zinvisible.submit </verbatim> The output archives one will have in the folder are: <verbatim> output.root resultado.error resultado.log resultado.out </verbatim> -- Main.FlaviaDias - 15 Apr 2011
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 2011-04-22
-
FlaviaDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback