TWiki> LHCb Web>LHCbTrigger>Moore2015NBDataLxplus (revision 5)EditAttachPDF

Instructions to run Moore v23r7p1 on 2015 NB data from lxplus

Data

Is copied to here /eos/lhcb/wg/HLT/2015ValidationData/1406_L0filtered_25ns_0xEE6/

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 | Raw edit | More topic actions...
Topic revision: r5 - 2015-07-03 - SaschaStahl
 
    • 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-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback