Skip to content
Snippets Groups Projects
Commit 7be04179 authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'removingstripping' into 'master'

First removal of stripping related stuff

See merge request !398
parents 0c94a45d 46e60a84
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!398First removal of stripping related stuff
Pipeline #1717401 passed
Showing
with 5 additions and 644 deletions
......@@ -18,7 +18,6 @@ find_package(GaudiProject)
# Declare project name and version
gaudi_project(DaVinci v51r0
USE Analysis v31r0
Stripping v15r2
DATA AppConfig VERSION v3r*
FieldMap VERSION v5r*
ParamFiles VERSION v8r*
......
......@@ -14,10 +14,6 @@
gaudi_subdir(DaVinciSys)
gaudi_depends_on_subdirs(DaVinciTests
##############################
# Temporarily moved in from Stripping
Phys/StrippingCache
##############################
Phys/DaVinci
Phys/Tesla
Phys/TurboCache
......
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
##############################################################################
# $Id: DVMonitorDst.py,v 1.4 2010/03/17 18:44:33 pkoppenb Exp $
#
# syntax: gaudirun.py $DAVINCIMONITORSROOT/options/DVMonitorDst.py
#
# Author: Patrick Koppenburg <patrick.koppenburg@cern.ch>
#
##############################################################################
from DaVinci.Configuration import *
from Gaudi.Configuration import *
##############################################################################
#
# the stuff
#
importOptions("$DAVINCIMONITORSROOT/options/DaVinciMonitoring.py")
##############################################################################
#
# Histograms
#
DaVinci().HistogramFile = "DVMonitors.root"
##############################################################################
#
# Most of this will be configured from Dirac
#
##############################################################################
DaVinci().EvtMax = 100
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
#
# Stripping selections job (DST output)
#
# @author J. Palacios/A. Poluektov
# @date 2009-11-05
#
from Gaudi.Configuration import *
from Configurables import PrintDecayTree, DaVinci
from Configurables import CountParticles
##############################################################################
#
# Ks
#
kalgs = []
lalgs = []
for i in ['','_noPV','_noPV_ws','_ws' ]:
lalgs.append('StrippingLambda0'+i)
kalgs.append('StrippingK0S'+i)
kalgs.append('StrippingKSAllGeoLineCombine')
lalgs.append('StrippingLambdaAllGeoLineCombine')
algs = kalgs + lalgs
head = '/Event/Strip/Phys/'
locs = []
for i in algs :
locs.append( head+i )
CC = CountParticles(Inputs = locs )
##############################################################################
#
# DaVinci
#
DaVinci().DataType = "2009" # Default is "MC09"
from Configurables import StoreExplorerAlg
DaVinci().UserAlgorithms = [ CC ] # , PT
DaVinci().EvtMax = 10000
DaVinci().PrintFreq = 100
##############################################################################
#
# Real Data
#
EventSelector().Input = [
"DATAFILE='PFN:root://eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/swtest/lhcb/swtest/2009_00005803_00000001_1.V0.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
#
# Stripping selections job (DST output)
#
# @author J. Palacios/A. Poluektov
# @date 2009-11-05
#
from Gaudi.Configuration import *
from Configurables import SelDSTWriter, DaVinci
##############################################################################
#
# Monitoring
#
importOptions( "$DAVINCIMONITORSROOT/options/DaVinciMonitoring.py")
##############################################################################
#
# Stripping
#
from StrippingConf.Configuration import StrippingConf
from StrippingSelections.Streams import allStreams
sc = StrippingConf( Streams = allStreams )
##############################################################################
#
# Hlt
#
# DaVinci().Hlt = True
# DaVinci().HltThresholdSettings = 'Physics_320Vis_300L0_10Hlt1_Jan10'
# DaVinci().L0 = True
# DaVinci().ReplaceL0BanksWithEmulated = True
##############################################################################
#
# DaVinci
#
DaVinci().DataType = "2009" # Default is "MC09"
DaVinci().UserAlgorithms = [ sc.sequence() ]
DaVinci().EvtMax = 1000
##############################################################################
#
# Real Data
#
importOptions( "$DAVINCIROOT/options/2009-RealData-Reco07.py" ) # change
##############################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
#from Configurables import CondDB
#CondDB(UseOracle = True)
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
## $Id: DVTestReadETC.py,v 1.5 2010/01/28 07:21:10 pkoppenb Exp $
## ============================================================================
## CVS tag $Name: $, version $Revision: 1.5 $
## ============================================================================
#
# Example options to read a user-defined ETC
#
from Gaudi.Configuration import *
from Configurables import DaVinci
from StrippingConf.Configuration import StrippingConf
from StrippingArchive.Utils import buildStream
stream = buildStream('Stripping17', 'Dimuon')
sc = StrippingConf()
sc.appendStream( stream )
DaVinci().appendToMainSequence( [ sc.sequence() ] )
DaVinci().EvtMax = -1
DaVinci().PrintFreq = 1
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().Input = [
"COLLECTION='TagCreator/EventTuple' DATAFILE='etc.root' TYP='POOL_ROOT' SEL='(StrippingBs2JpsiPhiLine==1)'" ]
from Configurables import TagCollectionSvc
ApplicationMgr().ExtSvc += [ TagCollectionSvc("EvtTupleSvc") ]
FileCatalog().Catalogs = [ "xmlcatalog_file:$DAVINCITESTSROOT/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml" ]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
## CVS tag $Name: $, version $Revision: 1.15 $
## ============================================================================
"""
@file DVTestBd2KstarMuMu.py
Test file for B0->mumuK* selection
@author J. Palacios
@date 2007-11-12
"""
from Gaudi.Configuration import *
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
##--------------------------------------------------------------
##
## Truth checking
##
from Configurables import GaudiSequencer
trueSeq = GaudiSequencer("FindTrueDecay")
trueSeq.IgnoreFilterPassed = True
##------------------------------------------------------------------------------##
## Truth filter No PID
##
from Configurables import FilterTrueTracks, MCDecayFinder
trueSeq.Members += [ FilterTrueTracks() ]
FilterTrueTracks().addTool(MCDecayFinder)
FilterTrueTracks().MCDecayFinder.Decay = "[[B0]nos => ^K+ ^pi- ^mu+ ^mu- {,gamma}{,gamma}{,gamma}{,gamma}]cc, [[B0]os => ^K- ^pi+ ^mu+ ^mu- {,gamma}{,gamma}{,gamma}{,gamma}]cc"
##
## Correlations
##
from Configurables import AlgorithmCorrelationsAlg, AlgorithmCorrelations
TestCorrelations = AlgorithmCorrelationsAlg("TestCorrelations")
TestCorrelations.addTool(AlgorithmCorrelations())
TestCorrelations.AlgorithmCorrelations.OnlyNonZero = False
TestCorrelations.Algorithms = ["FilterTrueTracks",
"StdVeryLooseMuons",
"StdNoPIDsKaons",
"StdNoPIDsPions",
"Sel_Bd2KstarMuMu_DiMuon",
"Sel_Bd2KstarMuMu_Kstar",
"StrippingBd2KstarMuMu_BdToKstarMuMuLine" ]
###
# DaVinci
###
## Preselection
from StrippingConf.Configuration import StrippingConf
from StrippingConf.StrippingStream import StrippingStream
from StrippingArchive.Utils import lineBuilder
lineBuilder = lineBuilder('Stripping17', 'Bd2KstarMuMu')
stream = StrippingStream("BKstarMuMuTest", Lines = lineBuilder.lines())
sc = StrippingConf()
sc.appendStream( stream )
from Configurables import DaVinci
DaVinci().UserAlgorithms = [ trueSeq ]
DaVinci().MoniSequence = [ TestCorrelations ]
DaVinci().appendToMainSequence( [ sc.sequence() ] )
########################################################################
#-- GAUDI jobOptions generated on Tue Jan 18 17:40:43 2011
#-- Contains event types :
#-- 11114004 - 1 files - 10000 events - 2.78 GBytes
# MC_2010_428935_2010-Sim08Reco06-withTruth_11114004
#
from Gaudi.Configuration import *
EventSelector().Input = [
"DATAFILE='PFN:root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/MC/2010/DST/00008055/0000/00008055_00000053_1.dst' TYP='POOL_ROOTTREE' OPT='READ'"]
########################################################################
DaVinci().EvtMax = 500
DaVinci().SkipEvents = 0
DaVinci().PrintFreq = 10
DaVinci().DataType = "MC09"
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
#-- GAUDI jobOptions generated on Mon Jan 17 17:06:59 2011
#-- Contains event types :
#-- 11144103 - 1 files - 10000 events - 4.10 GBytes
from Gaudi.Configuration import *
EventSelector().Input = [
" DATAFILE='root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/MC/2010/DST/00008414/0000/00008414_00000106_1.dst?svcClass=lhcbdata' TYP='POOL_ROOTTREE' OPT='READ'"]
FileCatalog().Catalogs = [ 'xmlcatalog_file:$DAVINCITESTSROOT/tests/options/Stripping/Sim2010_Bd2JpsiKs.xml' ]
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!-- Edited By PoolXMLCatalog.py -->
<!DOCTYPE POOLFILECATALOG SYSTEM "InMemory">
<POOLFILECATALOG>
<File ID="467AE927-AA01-E011-96DF-0030487CAEA4">
<physical>
<pfn filetype="ROOT_All" name="root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/MC/2010/DST/00008414/0000/00008414_00000106_1.dst?svcClass=lhcbdata"/>
</physical>
<logical>
<lfn name="/lhcb/MC/2010/DST/00008414/0000/00008414_00000106_1.dst"/>
</logical>
</File>
</POOLFILECATALOG>
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
#-- GAUDI jobOptions generated on Mon Jan 17 17:13:58 2011
#-- Contains event types :
#-- 13144006 - 1 files - 10000 events - 4.13 GBytes
from Gaudi.Configuration import *
EventSelector().Input = [
" DATAFILE='root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/MC/2010/DST/00008405/0000/00008405_00000506_1.dst?svcClass=lhcbdata' TYP='POOL_ROOTTREE' OPT='READ'"]
FileCatalog().Catalogs = [ 'xmlcatalog_file:$DAVINCITESTSROOT/tests/options/Stripping/Sim2010_Bs2JpsiPhi.xml' ]
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!-- Edited By PoolXMLCatalog.py -->
<!DOCTYPE POOLFILECATALOG SYSTEM "InMemory">
<POOLFILECATALOG>
<File ID="2C580501-EF03-E011-8F76-0030487CB9F0">
<physical>
<pfn filetype="ROOT_All" name="root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/MC/2010/DST/00008405/0000/00008405_00000506_1.dst?svcClass=lhcbdata"/>
</physical>
<logical>
<lfn name="/lhcb/MC/2010/DST/00008405/0000/00008405_00000506_1.dst"/>
</logical>
</File>
</POOLFILECATALOG>
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from Gaudi.Configuration import importOptions
importOptions("$APPCONFIGOPTS/DaVinci/DVMonitor-RealData.py")
importOptions("$APPCONFIGOPTS/DaVinci/DataType-2010.py")
from Configurables import DaVinci
DaVinci().EvtMax=1000
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from Gaudi.Configuration import *
importOptions('$APPCONFIGOPTS/Merging/DV-Stripping-Merging.py')
importOptions('$APPCONFIGOPTS/Merging/WriteFSR.py')
importOptions('$DAVINCITESTSROOT/tests/options/fsrs/davinci-merge.py')
EventSelector().Input = ["DATAFILE='PFN:MagUp.Bhadron.dst' TYP='POOL_ROOTTREE' OPT='READ'", "DATAFILE='PFN:MagDown.Bhadron.dst' TYP='POOL_ROOTTREE' OPT='READ'"]
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from Gaudi.Configuration import *
importOptions('$APPCONFIGOPTS/Merging/DV-Stripping-Merging.py')
importOptions('$APPCONFIGOPTS/Merging/WriteFSR.py')
importOptions('$DAVINCITESTSROOT/tests/options/fsrs/davinci-merge.py')
EventSelector().Input = ["DATAFILE='PFN:MagUp.EW.dst' TYP='POOL_ROOTTREE' OPT='READ'", "DATAFILE='PFN:MagDown.EW.dst' TYP='POOL_ROOTTREE' OPT='READ'"]
......@@ -33,9 +33,12 @@ dv = DaVinci(
##
## put some algorithms into "user" list
##
from StandardParticles import StdLooseKaons
from PhysConf.Selections import AutomaticData
Kaons = AutomaticData('Phys/StdAllLooseKaons/Particles')
from PhysSelPython.Wrappers import SelectionSequence
seq = SelectionSequence( 'KAONS' , StdLooseKaons )
seq = SelectionSequence( 'KAONS' , Kaons )
dv.UserAlgorithms += [ seq.sequence() ]
## produde a lot of prints
......
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>3600</integer></argument>
<argument name="args"><set>
<text>-T</text>
<text>$DAVINCITESTSROOT/tests/options/DVMonitorDst.py</text>
<text>$APPCONFIGOPTS/DaVinci/DataType-2012.py</text>
<text>$PRCONFIGOPTS/DaVinci/Stripping/Collision12-4TeV-Reco14-FULLDST.py</text>
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""
ApplicationMgr INFO Application Manager Finalized successfully
ApplicationMgr INFO Application Manager Terminated successfully
""", stdout, result, causes, signature_offset = 0)
countErrorLines({"FATAL":0})
</text></argument>
</extension>
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
#######################################################
# SUMMARY OF THIS TEST
# ...................
# Author: rlambert
# Purpose: Very very simple test, just check that the existing stripping streams can be instantiated. This is a minimal test of the stripping consistency.
# Prerequisites: None
# Common failure modes, severities and cures:
# . SEVERE: Segfault or raised exception, stderr, nonzero return code
# . MAJOR: Failure to instantiate a given stream, indicates there are undeclared prerequisites or completely broken python configurabloids
# . MINOR: additional WARNING messages, it is unclear how severe these may be, you will need to hunt down the cause and either fix the problem or suppress the warning.
#######################################################
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="timeout"><integer>1200</integer></argument>
<argument name="program">
<text>$STRIPPINGSELECTIONSROOT/tests/test_allstreams_instantiation.py</text>
</argument>
</extension>
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>1800</integer></argument>
<argument name="args"><set>
<text>$DAVINCITESTSROOT/tests/options/Stripping/test_express_appconfig.py</text>
<text>$DAVINCITESTSROOT/tests/options/dimuon_testfile.py</text>
</set>
</argument>
<argument name="validator"><text>
findReferenceBlock("""
DaVinciInitAlg SUCCESS 1000 events processed
""", stdout, result, causes, signature_offset = 0, id = "4100")
countErrorLines({"FATAL":0})
bad_strings = ["WARNING rawEvent not found at location 'DAQ/RawEvent'", "WARNING L0DUFromRawAlg:: Unable to decode L0DU rawBank"]
for bad_string in bad_strings :
if stdout.find(bad_string) !=-1 :
causes.append('Excluded string')
result['GaudiTest.ExcludedString: '+bad_string] = result.Quote('ERROR: Found string '+bad_string)
</text></argument>
</extension>
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>1800</integer></argument>
<argument name="args"><set>
<text>../options/DVReadKs.py</text>
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""
CountParticles SUCCESS Number of counters : 15
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Strip/Phys/StrippingK0S" | 10000 | 1499 | 0.14990 | 0.44814 | 0.0000 | 5.0000 |
| "# Strip/Phys/StrippingK0S_noPV" | 10000 | 3067 | 0.30670 | 1.0440 | 0.0000 | 18.000 |
| "# Strip/Phys/StrippingK0S_noPV_ws" | 10000 | 2681 | 0.26810 | 1.0140 | 0.0000 | 29.000 |
| "# Strip/Phys/StrippingK0S_ws" | 10000 | 1105 | 0.11050 | 0.39660 | 0.0000 | 5.0000 |
| "# Strip/Phys/StrippingKSAllGeoLineCombine" | 10000 | 18648 | 1.8648 | 2.5536 | 0.0000 | 34.000 |
| "# Strip/Phys/StrippingLambda0" | 10000 | 3237 | 0.32370 | 0.71423 | 0.0000 | 9.0000 |
| "# Strip/Phys/StrippingLambda0_noPV" | 10000 | 2584 | 0.25840 | 0.94975 | 0.0000 | 17.000 |
| "# Strip/Phys/StrippingLambda0_noPV_ws" | 10000 | 2361 | 0.23610 | 0.95685 | 0.0000 | 31.000 |
| "# Strip/Phys/StrippingLambda0_ws" | 10000 | 2679 | 0.26790 | 0.64244 | 0.0000 | 8.0000 |
| "# Strip/Phys/StrippingLambdaAllGeoLineCombine" | 10000 | 13672 | 1.3672 | 2.0568 | 0.0000 | 21.000 |
| "# input particles" | 10000 | 51533 | 5.1533 | 5.7808 | 1.0000 | 82.000 |
|*"#accept" | 10000 | 10000 |( 100.0000 +- 0.000000)% |
| "KS0" | 27000 | 27000 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "Lambda0" | 12751 | 12751 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
| "Lambda~0" | 11782 | 11782 | 1.0000 | 0.0000 | 1.0000 | 1.0000 |
""", stdout, result, causes,
signature_offset = 0, id = "Ks")
</text></argument>
</extension>
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
################################################################################
# Package: StrippingCache
################################################################################
gaudi_subdir(StrippingCache)
gaudi_depends_on_subdirs(Phys/DaVinci
Phys/LoKiArrayFunctors
Phys/LoKiHlt
Phys/LoKiPhys
Phys/LoKiAlgo
Phys/LoKiCore
Phys/StrippingAlgs
Phys/StrippingNeuroBayes
Phys/IncTopoVert
Phys/TMVASelections
Phys/DisplVertices
Phys/IsolationTools
Phys/RelatedInfoTools)
set(extraopts_29r2
${AppConfig_DIR}/options/DaVinci/DataType-2017.py
)
# Do not build for the -O0 platform, as this seems to have problems.
# To be investigated...
if ( NOT "$ENV{CMTCONFIG}" STREQUAL "x86_64-slc6-gcc48-do0" )
foreach(pack DaVinci StrippingAlgs StrippingNeuroBayes IncTopoVert TMVASelections
DisplVertices IsolationTools RelatedInfoTools)
# FIXME: this will be needed until GAUDI-1055 is fixed.
if(EXISTS ${CMAKE_BINARY_DIR}/Phys/${pack}/genConf/${pack})
gaudi_build_env(PREPEND PYTHONPATH ${CMAKE_BINARY_DIR}/Phys/${pack}/genConf/${pack})
endif()
# if(TARGET ${pack}Conf)
# set(deps ${conf_deps} ${pack}Conf )
# endif()
# if(TARGET ${pack}ComponentsList)
# set(deps ${conf_deps} ${pack}ComponentsList )
# endif()
endforeach()
# Import the cache creation module
include(LoKiFunctorsCache)
# Set dependency so caches build last, after DaVinci itself.
set ( conf_deps ${deps} MergedConfDB )
# Build the cache only for the most recent stripping.
foreach(strip )
# Stripping cache name
set ( sname S${strip}FunctorCache )
# Stripping options file to use. If exists use AppConfig file, otherwise try local
set ( optsfile ${AppConfig_DIR}//options/DaVinci/DV-Stripping${strip}-Stripping.py )
if ( NOT EXISTS ${optsfile} )
set ( optsfile ${CMAKE_CURRENT_SOURCE_DIR}/options/DV-Stripping${strip}-Stripping.py )
endif()
# cache build if options exist
if ( EXISTS ${optsfile} )
# Print this cache
MESSAGE( STATUS "S" ${strip} " : " ${optsfile} )
# Build !
loki_functors_cache(${sname}
options/SuppressLogMessages.py
${optsfile}
${extraopts_${strip}}
options/SilenceErrors.py
options/DisableLoKiCacheFunctors.py
LINK_LIBRARIES LoKiArrayFunctorsLib LoKiHltLib
DEPENDS ${conf_deps}
SPLIT 50)
endif()
endforeach()
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment