Difference between revisions of "LHCb Software At Nikhef: Prepare for Workshop 22-24 June 2009"
Line 11: | Line 11: | ||
mkdir cmtuser | mkdir cmtuser | ||
− | |||
cd cmtuser | cd cmtuser | ||
setenv MYSITEROOT /project/bfys/lhcb/sw | setenv MYSITEROOT /project/bfys/lhcb/sw | ||
− | |||
source $MYSITEROOT/lhcb/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.csh --quiet --mysiteroot $MYSITEROOT | source $MYSITEROOT/lhcb/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.csh --quiet --mysiteroot $MYSITEROOT | ||
− | |||
SetupProject --build-env DaVinci v23r0p1 | SetupProject --build-env DaVinci v23r0p1 | ||
− | |||
getpack Phys/DaVinci v23r0p1 | getpack Phys/DaVinci v23r0p1 | ||
− | |||
cd ~/cmtuser/DaVinci_v23r0p1/Phys/DaVinci/cmt/ | cd ~/cmtuser/DaVinci_v23r0p1/Phys/DaVinci/cmt/ | ||
− | |||
make | make | ||
Line 34: | Line 28: | ||
''' Loop over events ''' | ''' Loop over events ''' | ||
+ | |||
cd /data/bfys/h71/Workshop/ | cd /data/bfys/h71/Workshop/ | ||
SetupProject DaVinci v23r0p1 | SetupProject DaVinci v23r0p1 | ||
Line 39: | Line 34: | ||
''' Plot ''' | ''' Plot ''' | ||
+ | |||
>>> massPlots.plots[443].Draw() | >>> massPlots.plots[443].Draw() | ||
>>> massPlots.plots[531].Draw() | >>> massPlots.plots[531].Draw() | ||
>>> massResPlots.plots[531].Draw() | >>> massResPlots.plots[531].Draw() | ||
>>> propTimePlots.plots[531].Draw() | >>> propTimePlots.plots[531].Draw() |
Revision as of 15:46, 28 May 2009
Your first time to run over a dst at Nikhef
Prepare ssh on your Nikhef account
Follow these instructions:
Get software packages
mkdir cmtuser cd cmtuser
setenv MYSITEROOT /project/bfys/lhcb/sw source $MYSITEROOT/lhcb/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.csh --quiet --mysiteroot $MYSITEROOT SetupProject --build-env DaVinci v23r0p1 getpack Phys/DaVinci v23r0p1 cd ~/cmtuser/DaVinci_v23r0p1/Phys/DaVinci/cmt/ make
cd ~/cmtuser/DaVinci_v23r0p1/ getpack Ex/MicroDSTExample v2r3 cd ~/cmtuser/DaVinci_v23r0p1/Ex/MicroDSTExample/cmt cvs update -A cmt br cmt make
Loop over events
cd /data/bfys/h71/Workshop/ SetupProject DaVinci v23r0p1 python -i BfysWorkshopMicroDSTReader_1.1.py --input SeqDC06selBs2JpsiPhiWithMC_50.0_Kevt_NoPVReFit.dst
Plot
>>> massPlots.plots[443].Draw() >>> massPlots.plots[531].Draw() >>> massResPlots.plots[531].Draw() >>> propTimePlots.plots[531].Draw()