HowTo setup the package HadronicBs ================================== pgm/hadBs.cpp ============= This program includes the pre-selection (AA::LOOSE). In future releases it will be possible to run the pre-selection and the final selection (right now in AnaHadBs/selection.cpp and AnaHadBs/BsSelection.cpp) in one step. To run the program hadBs from the HadronicBs package you need a recent version of AATrack and vfitter. This document describes how to setup AATrack and HadronicBs in quick. 1.) Setup the right environment variables to checkout the source code from CVS and to compile the code: clued0# setup d0cvs 2.) Checkout the code: clued0# cvs co -j HEAD AATrack clued0# cvs co HadronicBs 3.) Edit AATrack/script/init.sh and fix the paths. clued0 paths are hardcoded to this script. If you are running this outside fermilab you have to adapt the file to your environment. 4.) Build AATrack: clued0# AATrack/script/init.sh clued0# AATrack/script/makeLib.sh clued0# AATrack/script/makeLib.sh ana clued0# AATrack/script/makeLib.sh phy 5.) Copy Makefile for further actions: clued0#cp HadronicBs/pgm/Makefile . 6.) Build HadronicBs clued0# setup D0RunII p20.08.02 clued0# make AA/exe/hadBs AnaHadBs/ directory =================== Final selection. deltaMsFit/ directory ===================== Likelihood fit and Delta ms scan.