Difference between revisions of "Produce and read microDSTs using the Grid"

From LHCb Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
<pre>
 
<pre>
 
SetupProject DaVinci v22r0p2 --build-env
 
SetupProject DaVinci v22r0p2 --build-env
 +
SetupProject DaVinci v22r0p2
  
 
getpack Phys/DaVinci v22r0p2
 
getpack Phys/DaVinci v22r0p2
Line 10: Line 11:
 
getpack Ex/MicroDSTExample
 
getpack Ex/MicroDSTExample
  
cd ${User_release_area}/Phys/DaVinci_v22r0p2/Phys/DaVinci/cmt
+
cd ${User_release_area}/DaVinci_v22r0p2/Phys/DaVinci_v22r0p2/Phys/DaVinci/cmt
 
gmake
 
gmake
  
cd ${User_release_area}/Ex/MicroDSTExample/cmt
+
cd ${User_release_area}/DaVinci_v22r0p2/Ex/MicroDSTExample/cmt
 
gmake
 
gmake
  
cd ${User_release_area}/PhysSel/Ccbar/cmt
+
cd ${User_release_area}/DaVinci_v22r0p2/PhysSel/Ccbar/cmt
 
gmake
 
gmake
 
</pre>
 
</pre>
 +
 +
Then create a test MicroDST doing:
 +
 +
<pre>
 +
cd ${User_release_area}/DaVinci_v22r0p2/Ex/MicroDSTExample/job
 +
gaudirun.py ../options/TestMicroDSTMake.py
 +
ls -ltr
 +
</pre>
 +
 +
For this standalone production of microDSTs take care that the following lines are in the file
 +
 +
  
  

Revision as of 13:32, 9 March 2009

Producing microDSTs standalone

Getting the relevant packages

SetupProject DaVinci v22r0p2 --build-env
SetupProject DaVinci v22r0p2

getpack Phys/DaVinci v22r0p2
getpack PhysSel/Ccbar
getpack Ex/MicroDSTExample

cd ${User_release_area}/DaVinci_v22r0p2/Phys/DaVinci_v22r0p2/Phys/DaVinci/cmt
gmake

cd ${User_release_area}/DaVinci_v22r0p2/Ex/MicroDSTExample/cmt
gmake

cd ${User_release_area}/DaVinci_v22r0p2/PhysSel/Ccbar/cmt
gmake

Then create a test MicroDST doing:

cd ${User_release_area}/DaVinci_v22r0p2/Ex/MicroDSTExample/job
gaudirun.py ../options/TestMicroDSTMake.py
ls -ltr

For this standalone production of microDSTs take care that the following lines are in the file



job> gaudirun.py ../options/TestMicroDst.py

Producing microDSTs on the Grid

Become a gRidder

First obtain a Grid Certificate from the Dutch Grid CA

When you've done this, become a member of the LHCb VO by following this link.

To use the Grid from lxplus you need to copy your certificate to lxplus. You do this by copying the entire .globus directory to your home on lxplus.

job> ganga MicriDST_Ganga.py

note: set

  • setenv CMTCONFIG 'slc_ia34_...' # no 64 bit machines on Grid
  • job.backend() = Dirac() # use Dirac as backend
  • job.outputsandbox = [] # let the uDSTs go to 'dataoutput', so Grid SE (Storage Element)

Copying microDSTs from Grid to Sara

Stageing the Sara microDSTs on Stoomboot

Reading microDSTs

microDSTReadingExample.py

of maak wat nieuws in Bender

Analysis

P2VV

getpack PhysFit/P2VV getpack PhysFit/P2VVPython

and use the RooFit based fit package