#Make the Moore release area. (Moore is the project for the High Level Trigger. More documentation can be found in this twiki page.)
cd $User_release_area
SetupProject Moore v20r3 --build-env
#Get the packages that we will edit
cd $User_release_area/Moore_v20r3
getpack Hlt/Hlt2Lines head
getpack Hlt/HltConf head
getpack Hlt/HltSettings head

#Add the draft Hlt2 line to the Hlt2Lines package and build

cd $User_release_area/Moore_v20r3/Hlt/Hlt2Lines
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/Hlt2CharmHadD02HHPi0Lines.py python/Hlt2Lines
SetupMoore v20r3; cd cmt; cmt make; cd ..;

#You also need to add the new line to the HltConf package

cd $User_release_area/Moore_v20r3/Hlt/HltConf/
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/Hlt2.py python/HltConf
SetupMoore v20r3; cd cmt; cmt make; cd ..;
#(This just adds the following line to Hlt2.py) #from Hlt2Lines.Hlt2CharmHadD02HHPi0Lines import Hlt2CharmHadD02HHPi0LinesConf

#Then you need to edit one of the HltSettings files

cd $User_release_area/Hlt/HltSettings
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/Physics_September2012.py Hlt/HltSettings
SetupMoore v20r3; cd cmt; cmt make; cd ..;

#Now you are ready to test

cd $User_release_area/Moore_v20r3/Hlt/Hlt2Lines
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/runMoore.py .
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/RawData.py .
cp /afs/cern.ch/user/m/mvesteri/public/ForKevin/Hlt2/Kpipi0*.py .
#Run over min-bias data (to get the output rate):
SetupMoore v20r3
gaudirun.py runMoore.py RawData.py | tee RawData.log
#Run over signal MC (to get the efficiency)
SetupMoore v20r3
gaudirun.py runMoore.py Kpipi0_PFNs.py | tee Signal.log
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-08-09 - MikaVesterinen
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback