Difference: SimDigiReconTutorial (17 vs. 18)

Revision 182013-07-25 - DavidHutchcroft

Line: 1 to 1
 
META TOPICPARENT name="LHCbSoftwareTutorials"

Generate, digitize and reconstruct two signal events with decays

Bd->J/Psi(mumu)Kshort
Line: 173 to 173
 

Use Moore to simulate the trigger for the events

Use the same instructions as for Gauss and Boole to setup Moore

Changed:
<
<
version v14r12.
>
>
version v14r8p1. Note in general you have to match a TCK version to a specific Moore version. One way to find compatible versions is to check the bookkeeping for what was used in official productions.
  Setup an configuration file for Moore, which sets the trigger TCK to configure a consistent trigger: Save the following to a file called
Line: 181 to 183
  %SYNTAX{ syntax="python" }% from Configurables import Moore
Added:
>
>
# match the DDDB and CondBD tags to the events
 Moore().DDDBtag = "Sim08-20130503-1" Moore().CondDBtag = "Sim08-20130503-1-vc-md100"
Added:
>
>
# Load the files that configure the full L0 & HLT emulation # The TCK version number sets the trigger conditions # this is the same as adding the files to the gaudirun.py command from Gaudi.Configuration import importOptions importOptions("$APPCONFIGOPTS/Moore/MooreSimProductionWithL0Emulation.py") importOptions("$APPCONFIGOPTS/Conditions/TCK-0x409f0045.py") importOptions("$APPCONFIGOPTS/Moore/DataType-2012.py") importOptions("$APPCONFIGOPTS/L0/L0TCK-0x0045.py")
 fileList = ['Boole-11144103-2ev-20130724.digi'] Moore().inputFiles = fileList # output filename is same as input file with Boole->Moore (both .digi)
Line: 193 to 205
  then run with

%SYNTAX{ syntax="bash" }%

Changed:
<
<
gaudirun.py Moore-2012.py $APPCONFIGOPTS/Moore/DataType-2012.py | tee BsJPsiKs-2evt_Moore.log
>
>
gaudirun.py Moore-2012.py | tee BsJPsiKs-2evt_Moore.log
 %ENDSYNTAX%

Note the output will be very long as we have a lot of trigger lines.

Line: 212 to 224
 LHCbApp().DDDBtag = "Sim08-20130503-1" LHCbApp().CondDBtag = "Sim08-20130503-1-vc-md100"
Changed:
<
<
#-- Event input

inputFiles = ['Moore-11144103-2ev-20130724.sim'] # wants a list of files

>
>
inputFiles = ['Moore-11144103-2ev-20130724.digi']
 from GaudiConf import IOHelper IOHelper('ROOT').inputFiles(inputFiles)
Deleted:
<
<
# name the ouput file the same as the first input file with Gauss->Boole
 # sets output and histogram file names Brunel().DatasetName = inputFiles[0].replace('Moore','Brunel').replace('.digi','') Brunel().DataType = '2012' # sets the 2011 configuration of Brunel
 
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