Instructions to run 2015 Moore versions on 2015 NB data

Note that since we are in commissioning phase, this page will be rapidly evolving. As usual, don't hesitate to contact the mailing lists with questions

  • "lhcb-hlt2-development (lhcb-hlt2-development)" <lhcb-hlt2-development@cern.ch>
  • "lhcb-trigger-software (LHCb trigger software developers)" <lhcb-trigger-software@cern.ch>

Data

  • Is copied to here /eos/lhcb/wg/HLT/2015ValidationData/1406_L0filtered_25ns_0xEE63/
  • And thanks to Alex Shires, is also available through TestFileDB.test_file_db['2015HLTValidationData_L0filtered']

Running over this data

%{TOC}%

Latest instructions as of 14th July 2015

Moore v23r7p5 with cmt, on 0xEE63 L0Filtered 2015 data
cd $User_release_area
SetupMoore v23r7p5 --build-env
getpack Hlt/Hlt2Lines head
getpack Hlt/HltSettings head
getpack ParamFiles head
getpack Hlt/Hlt2CommissioningScripts head
getpack TCK/L0TCK head
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/Commissioning_Physics_2015_Hlt1Only.py Hlt/HltSettings/python/HltSettings
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig_June2015_0xEE63.opts TCK/L0TCK/options
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig.opts TCK/L0TCK/options
SetupMoore v23r7p5
cmt br make -j 8
SetupMoore v23r7p5
gaudirun.py Hlt/Hlt2CommissioningScripts/python/2015Commissioning/Moore_Hlt12_2015Data.py

Latest Moore

Note if possible use a fully released version. Note that I'm still using cmt since CMake isn't yet supported by ganga. Basic setup:
cd $User_release_area 
SetupProject Moore v<latestMoore>--build-env
Then you need to get the L0TCK prepared by Sascha
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig_June2015_0xEE63.opts TCK/L0TCK/options
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig.opts TCK/L0TCK/options
Then build
SetupMoore v<latestMoore>; cmt br make -j 8; SetupMoore v<latestMoore>;
Then copy this script /afs/cern.ch/work/m/mvesteri/public/RealData1406/MooreRateTest.py, and run
gaudirun.py MooreRateTest.py
cp ~mvesteri/public/MooreRateTest.py . %ENDCODE%

Moore HEAD

Note that I'm still using cmt since CMake isn't yet supported by ganga.
cd $User_release_area 
SetupMoore HEAD --build-env --nightly lhcb-gaudi-head TUE
#getpack Hlt/Hlt2Lines head                                                                                                    
#getpack Hlt/HltSettings head                                                                                                  
#getpack ParamFiles head                                                                                                       
getpack TCK/L0TCK head
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig_June2015_0xEE63.opts TCK/L0TCK/options
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig.opts TCK/L0TCK/options
SetupMoore HEAD --nightly lhcb-gaudi-head TUE
cmt br make -j 8
SetupMoore HEAD --nightly lhcb-gaudi-head TUE
Then you should be able to run the following script with gaudirun.py (script points to the data on eos).
import Gaudi.Configuration
from Moore.Configuration import Moore
Moore().ThresholdSettings = 'Commissioning_Physics_2015'
Moore().ForceSingleL0Configuration = False
Moore().WriterRequires = [ 'Hlt1','Hlt2' ]
Moore().outputFile = 'hlt1_reqhlt1.raw'
Moore().EnableTimer = 'hlt1_timer.csv'
Moore().OutputLevel = 3
Moore().EvtMax = -1
Moore().RemoveInputHltRawBanks = True
Moore().Simulation = False
Moore().RemoveInputHltRawBanks = True
Moore().UseTCK = False
Moore().CheckOdin = False
#### apply the default GP cut                                                                                                  
from Configurables import HltRecoConf
HltRecoConf().ApplyGHOSTPROBCut = True
HltRecoConf().MaxTrGHOSTPROB = 0.5
#### conditions                                                                                                                
from Configurables import CondDB
CondDB().IgnoreHeartBeat = True
CondDB().EnableRunChangeHandler = True
Moore().DDDBtag = "dddb-20150526"
Moore().CondDBtag = 'cond-20150617'
Moore().DataType = '2015'
from Gaudi.Configuration import *
from GaudiConf import IOHelper
IOHelper('RAW').inputFiles(["PFN:mdf:root://eoslhcb.cern.ch//eos/lhcb/wg/HLT/2015ValidationData/1406_L0filtered_25ns_0xEE63/2015NB_L0filtered_0xEE63_%s.mdf"%i for i in range(9)])

Released Moore v23r7p1 (Outdated)

Note that I'm still using cmt since CMake isn't yet supported by ganga. Basic setup:
cd $User_release_area 
SetupProject Moore v23r7p1 --build-env
getpack Hlt/Hlt2Lines head
getpack Hlt/HltSettings head
getpack ParamFiles head
getpack TCK/L0TCK head
Then you need to get the L0TCK prepared by Sascha
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig_June2015_0xEE63.opts TCK/L0TCK/options
cp /afs/cern.ch/work/m/mvesteri/public/RealData1406/L0DUConfig.opts TCK/L0TCK/options
Then build
SetupMoore v23r7p1; cmt br make -j 8; SetupMoore v23r7p1;
Then copy this script /afs/cern.ch/work/m/mvesteri/public/RealData1406/MooreRateTest.py, and run
gaudirun.py MooreRateTest.py
cp ~mvesteri/public/MooreRateTest.py . %ENDCODE%

-- MikaVesterinen - 2015-06-23

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2015-07-23 - AlexShires
 
    • 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-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