Difference: 13TeVHowTo (8 vs. 9)

Revision 92015-12-09 - JacopoPazzini

Line: 1 to 1
 
META TOPICPARENT name="CMSPDAnalysis"

Useful links

Changed:
<
<
  • CMS Twiki page about 2015 collisions
>
>
  • CMS Twiki page about 2015 collisions
 
  • Browsing information about the datasets (DAS)
  • List of datasets present at LNL
  • Browsing and requesting data transfer (Phedex)
Changed:
<
<
  • Some useful documentation about [git (Chapter 1 and 2 is basically all you need to read)
>
>
  • Some useful documentation about [git (Chapter 1 and 2 is basically all you need to read)
 

Ntuple production

Changed:
<
<

Installling Heppy

>
>

Installling Heppy (framework only)

  The following recipe explains how to install our version of the Heppy framework on your local computer (either a t2-ui or a cloud virtual machine)
Changed:
<
<
# Log in to a t2-ui or a cloud virtual machine
# Install CMSSW (preferably somewhere under /lustre/cmswork/YOURHOME/): 

>
>
# Log in to a t2-ui or a cloud virtual machine

# Set the environment variable to get a 7_4_X CMSSW release
# on sh
SCRAM_ARCH=slc6_amd64_gcc491 (sh)# on csh setenv SCRAM_ARCH slc6_amd64_gcc491 (csh)
# Install CMSSW (preferably somewhere under /lustre/cmswork/YOURHOME/): 

 cmsrel CMSSW_7_4_14 cd CMSSW_7_4_14/src cmsenv
Line: 38 to 35
 # Compile scram b -j 8
Added:
>
>

Install DMPD (analyzers and producers)

The current repository can be found at link: https://github.com/mzanetti79/DMPD

cd $CMSSW_BASE/src/
git clone https://github.com/mzanetti79/DMPD.git

cd $CMSSW_BASE/src/DMPD

git checkout -b DMPD_$LOGNAME

scram b -j 8

Running Heppy

Once your code is settled, you are ready to run the ntuples production. The main files that needs to be edited is

 $CMSSW_BASE/src/DMPD/Heppy/test/treeProducer.py 

. There you find -among the other things- the list of datasets you can run on. Select those that you care about by commenting/uncommenting the "selectedComponents" array.

To give it a try, you can select one sample only and run interactively:

 
cd $CMSSW_BASE/src/DMPD/Heppy/test/
python treeProducer.py

otherwise to run the full production you need the following command:

 heppy_batch.py -o Batch treeProducer.py -b 'bsub  < ./batchScript.sh' 

before doing that you need to decide whether to run on DATA or on MC (Warning, important you need to launch the jobs separately for the two Warning, important). If you run on DATA, the command

 
Changed:
<
<

Contribute to DMPD

>
>
 filterAnalyzer.processName = 'RECO' 

needs to be uncommented (and commented otherwise)

Contribute to DMPD (TO BE FIXED/UPDATED)

  If you'd like to contribute to the DMPD framework (our flavor of Heppy), here are some useful instructions (or more precisely, how you can learn to stop worrying and love git).
Line: 51 to 73
 hideimgleft="/twiki/pub/TWiki/TWikiDocGraphics/toggleclose-small.gif" class="twikiHelp" }%
Changed:
<
<
# if you haven't done it before, track the reference remote repository and create your development branch from that

>
>
# if you haven't done it before, track the reference remote repository and create your development branch from that

 git checkout --track origin/heppy-7_4_12 git checkout -b heppy-7_4_12-DEV
Line: 70 to 91
 # delete your local development branch git commit -d heppy-7_4_12-DEV
Deleted:
<
<
</>
<!--/twistyPlugin-->
 
Changed:
<
<

Running Heppy

Once your code is settled, you are ready to run the ntuples production. The main files that needs to be edited is

 $CMSSW_BASE/src/DMPD/Heppy/test/treeProducer.py 
. There you find -among the other things- the list of datasets you can run on. Select those that you care about by commenting/uncommenting the "selectedComponents" array.

To give it a try, you can select one sample only and run interactively:

 
cd $CMSSW_BASE/src/DMPD/Heppy/test/
python treeProducer.py 

otherwise to run the full production you need the following command:

 heppy_batch.py -o Batch treeProducer.py -b 'bsub  < ./batchScript.sh' 

before doing that you need to decide whether to run on DATA or on MC (Warning, important you need to launch the jobs separately for the two Warning, important). If you run on DATA, the command

 filterAnalyzer.processName = 'RECO' 
needs to be uncommented (and commented otherwise)
>
>
</>
<!--/twistyPlugin-->
  -- MarcoZanetti - 2015-10-01 \ No newline at end of file
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback