Skip to content
Snippets Groups Projects
Commit 14b5678e authored by Marco Clemencic's avatar Marco Clemencic
Browse files

v24r7p2

parent e87f0e11
No related branches found
Tags v24r7p2
No related merge requests found
Showing
with 0 additions and 11974 deletions
package DaVinciSys
version v24r7p1
branches doc cmt
#=======================================================
# Don't forget DaVinci itself
#=======================================================
use DaVinci v24r7 Phys
#
use PatPV v3r11p1 Tr
use StrippingSelections v1r13 Phys
use GlobalReco v6r31 Rec
use CommonParticles v6r4 Phys
use DecayTreeTuple v2r10 Phys
#
# Declare this as a container package
apply_pattern container_package
alias DaVinciTests "cmt qmtest_run"
# Allow the generation of the SAM QMTest
apply_pattern QMTest
# Allow the generation of QMTest summary
apply_pattern QMTestSummarize
v24r7p1
PROJECT_NAME = "DaVinci Physics Analysis Program"
OUTPUT_DIRECTORY = $(DAVINCISYSROOT)/doc
GENERATE_TAGFILE = DaVinci.tag
@INCLUDE_PATH = $(LHCB_HOME)/LHCbSys/doc $(GAUDI_DOXY_HOME)
@INCLUDE = DoxyLHCbCommon.cfg
@INCLUDE = DoxyLHCbApps.cfg
INPUT += $(DAVINCI_HOME) $(PHYS_HOME) $(ANALYSIS_HOME) $(REC_HOME) $(LBCOM_HOME) $(HLT_HOME)
FILE_PATTERNS += *$(DAVINCIROOT)*.opts *DaVinciSys*requirements *$(COMMONPARTICLESROOT)*.opts *$(HLT_HOME)/HltSys*.opts *$(HLTSELECTIONSROOT)*.opts
EXAMPLE_PATH = $(DAVINCISYSROOT)/doc
<hr><address><small>Generated at $datetime for $projectname by
<a href="http://www.stack.nl/~dimitri/doxygen/index.html">
Doxygen</a> version $doxygenversion written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
&copy;&nbsp;1997-2000</small></address>
/** \mainpage notitle
* \anchor davincidoxygenmain
*
* This is the code reference manual for the DaVinci Physics Analysis classes.
* These pages have been generated directly from the code and reflect the exact
* state of the software for this version of the DaVinciSys packages. More
* information is available from the
* <a href="http://cern.ch/lhcb-release-area/DOC/davinci/">web pages</a>
* of the DaVinci project
*
* <b>The classes used by DaVinci are documented in the following reference manuals:</b>
*
* \li \ref physsysdoxygenmain "PhysSys documentation (LHCb physics classes)"
* \li \ref analysissysdoxygenmain "AnalysisSys documentation (LHCb analysis classes)"
* \li \ref recsysdoxygenmain "RecSys documentation (LHCb reconstruction classes)"
* \li \ref lbcomdoxygenmain "LbcomSys documentation (LHCb shared components)"
* \li \ref lhcbdoxygenmain "LHCbSys documentation"
* \li \ref gaudidoxygenmain "Gaudi documentation"
* \li \ref externaldocs "Related external libraries"
* \li <a href="https://twiki.cern.ch/twiki/bin/view/LHCb/DaVinci">DaVinci wiki page</a>
*
* \sa
* <a href="../release.notes"><b>DaVinci release notes history</b></a>
*
* <hr>
* \htmlinclude new_release.notes
* <hr>
*/
To make the documentation:
DaVinciEnv <version> (give appropriate version)
source ../cmt/setup.csh
/afs/cern.ch/lhcb/scripts/makedoc
To run the tests:
In cmt/ do
cmt qmtest_run
To run one-by-one :
cmt qmtest_run davincisys.davincisys >! davincisys &
cmt qmtest_run davincisys.fixedfile.fixedfile-brunel-v35r8-2009-dst-withtruth >! fixedfile-brunel-v35r8-2009-dst-withtruth &
cmt qmtest_run davincisys.fixedfile.fixedfile-brunel-v35r8-2009-dst >! fixedfile-brunel-v35r8-2009-dst &
cmt qmtest_run davincisys.fixedfile.fixedfile-brunel-v35r8-2009-xdst-withtruth-spillover >! fixedfile-brunel-v35r8-2009-xdst-withtruth-spillover &
cmt qmtest_run davincisys.fixedfile.fixedfile-brunel-v35r8-2009-xdst-withtruth >! fixedfile-brunel-v35r8-2009-xdst-withtruth &
cmt qmtest_run davincisys.stripping.test_bu2llk_dc06 >! bu2llk_dc06 &
cmt qmtest_run davincisys.stripping.test_bd2kstarmumu_mc09 >! bd2kstarmumu_mc09 &
cmt qmtest_run davincisys.stripping.test_stripping >! stripping &
cmt qmtest_run davincisys.stripping.test_commonparticles >! commonparticles &
cmt qmtest_run davincisys.tagging.test_tag >! tag &
cmt qmtest_run davincisys.io.test_dst >! dst &
cmt qmtest_run davincisys.io.test_realdata >! realdata &
cmt qmtest_run davincisys.io.test_rdst >! rdst &
cmt qmtest_run davincisys.io.test_decaytreetuple >! decaytreetuple &
cmt qmtest_run davincisys.hlt.test_tistos >! tistos &
cmt qmtest_run davincisys.hlt.test_tistos_dc06 >! tistos_dc06 &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_none >! hlt12_dc06_none &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_nohistos >! hlt12_dc06_nohistos &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_effective >! hlt12_dc06_effective &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_leptonic >! hlt12_dc06_leptonic &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_charming >! hlt12_dc06_charming &
cmt qmtest_run davincisys.hlt.test_hlt12_dc06_hadronic >! hlt12_dc06_hadronic &
cmt qmtest_run davincisys.hlt.test_hlt1_mc09 >! hlt1_mc09 &
cmt qmtest_run davincisys.hlt.test_hlt2_mc09 >! hlt2_mc09 &
cmt qmtest_run davincisys.hlt.test_hlt12_mc09 >! hlt12_mc09 &
cmt qmtest_run davincisys.hlt.test_hlt12_mc09_dev >! hlt12_mc09_dev &
cmt qmtest_run davincisys.hlt.test_hlt12_mdf >! hlt12_mdf &
cmt qmtest_run davincisys.hlt.test_hlt12_withlumi >! hlt12_withlumi &
cmt qmtest_run davincisys.hlt.test_hltMC >! hltMC &
cmt qmtest_run davincisys.kali.pi0 >! pi0 &
# require some of the above :
cmt qmtest_run davincisys.io.test_read >! read &
cmt qmtest_run davincisys.stripping.test_stripping_read >! stripping_read &
This diff is collapsed.
##############################################################################
# $Id: DVMonitorDst.py,v 1.3 2009-11-24 10:00: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 = 1000
DaVinci().DataType = "2009" # Default is "DC06"
DaVinci().Simulation = True
DaVinci().InputType = "RDST"
EventSelector().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/data/2009/RDST/00004937/0000/00004937_00000001_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'"]
#
# 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 import StreamBmuon, StreamHadron, StreamJpsi, StreamDstar, StreamLambda, StreamBelectron
sc = StrippingConf( Streams = [ StreamBmuon.stream
, StreamHadron.stream
, StreamJpsi.stream
, StreamDstar.stream
, StreamLambda.stream
# , StreamBelectron.stream
] )
# Dirac should modify OutputFilePrefix.
# SelDSTWriter("StripMC09DSTWriter").OutputFileSuffix = '012345'
dstWriter = SelDSTWriter("StripMC09DSTWriter",
SelectionSequences = sc.activeStreams(),
OutputPrefix = 'Strip',
ExtraItems = ['/Event/DAQ/RawEvent']
)
##############################################################################
#
# Hlt
#
DaVinci().Hlt = True
DaVinci().HltThresholdSettings = 'Physics_320Vis_300L0_10Hlt1_Aug09'
# DaVinci().L0 = True
# DaVinci().ReplaceL0BanksWithEmulated = True
##############################################################################
#
# DaVinci
#
DaVinci().DataType = "2009" # Default is "MC09"
DaVinci().UserAlgorithms = [ dstWriter.sequence() ]
DaVinci().EvtMax = 10000
##############################################################################
#
# Real Data
#
DaVinci().Input = [
" DATAFILE='PFN:/castor/cern.ch/user/s/smenzeme/DATA2009/run63683-63690_RecoStatus20091210.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='PFN:/castor/cern.ch/user/p/pkoppenb/DATA2009/run63445-63497_RecoStatus20091210.dst' TYP='POOL_ROOTTREE' OPT='READ'"
]
##############################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
#from Configurables import CondDB
#CondDB(UseOracle = True)
## $Id: DVTestBd2KstarMuMu.py,v 1.13 2009-10-21 15:40:17 pkoppenb Exp $
## ============================================================================
## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.13 $
## ============================================================================
"""
@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",
"StdLooseMuons",
"StdLooseDiMuon",
"StdNoPIDsKaons",
"StdNoPIDsPions",
"StdLooseDetachedKst2Kpi",
"Strip_loose_Bd2KstarMuMu",
"filter_Bd2KstarMuMu_10Hz" ]
###
# DaVinci
###
## Preselection
from StrippingConf.Configuration import StrippingConf
from StrippingConf.StrippingStream import StrippingStream
from StrippingSelections import StrippingBd2KstarMuMu
stream = StrippingStream("Bmuon")
stream.appendLines( [ StrippingBd2KstarMuMu.line_10hz ] )
sc = StrippingConf()
sc.appendStream( stream )
from Configurables import DaVinci
DaVinci().UserAlgorithms = [ trueSeq ]
DaVinci().MoniSequence = [ TestCorrelations ]
DaVinci().appendToMainSequence( [ sc.sequence() ] )
##
## Options
##
##-- GAUDI data cards generated on 11/8/07 5:37 PM
##-- For Event Type = 11114001 / Data type = DST 1
DaVinci().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004871/0000/00004871_00000001_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"
## $Id: DVTestBu2LLK-DC06.py,v 1.2 2009-09-17 12:09:11 jpalac Exp $
## ============================================================================
## CVS tag $Name: not supported by cvs2svn $
## ============================================================================
"""
@file $Name: not supported by cvs2svn $
Test file for Bu->eeK selection with 2008 data
@author P. Koppenburg
@date 2009-01-07
"""
from Gaudi.Configuration import *
##
## Truth checking
##
from Configurables import AlgorithmCorrelationsAlg
##
## Correlations
##
from Configurables import AlgorithmCorrelationsAlg, AlgorithmCorrelations
TestCorrelations = AlgorithmCorrelationsAlg("TestCorrelations")
TestCorrelations.addTool(AlgorithmCorrelations())
TestCorrelations.AlgorithmCorrelations.OnlyNonZero = False
TestCorrelations.Algorithms = [ "StdLooseElectrons",
"StdLooseMuons",
"Bu2LLK09_DiLepton",
"StdLooseKaons",
"Presel09Bu2LLK",
"Sel09Bu2LLK" ]
###
# Selection
###
from Configurables import DaVinci
DaVinci().MainOptions = "$DAVINCISYSROOT/tests/options/Do09selBu2LLK.py"
DaVinci().MoniSequence = [ TestCorrelations ]
##-- GAUDI data cards generated on 11/19/07 2:55 PM
##-- For Event Type = 12123001 / Data type = DST 1
##-- Configuration = DC06 - phys-v2-lumi2
##-- DST 1 datasets produced by Brunel - v30r14
##-- From DIGI 1 datasets produced by Boole - v12r10
##-- From SIM 1 datasets produced by Gauss - v25r8
##-- Database version = v30r14
##-- Cards content = physical-physical
##--
##-- Datasets replicated at CERN
##-- 166 dataset(s) - NbEvents = 82494
##--
DaVinci().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi2/00001659/DST/0000/00001659_00000001_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi2/00001659/DST/0000/00001659_00000002_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi2/00001659/DST/0000/00001659_00000003_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi2/00001659/DST/0000/00001659_00000004_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v2-lumi2/00001659/DST/0000/00001659_00000005_5.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
DaVinci().EvtMax = 100
DaVinci().SkipEvents = 0
DaVinci().PrintFreq = 1
DaVinci().DataType = "DC06"
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
##############################################################################
# $Id: DVTestCommonParticles.py,v 1.2 2009-11-09 13:05:37 pkoppenb Exp $
#
# syntax: gaudirun.py $DAVINCIMONITORSROOT/options/DVMonitorDst.py
#
# Author: Patrick Koppenburg <patrick.koppenburg@cern.ch>
#
##############################################################################
from DaVinci.Configuration import *
from Gaudi.Configuration import *
##############################################################################
#
# CommonParticles
# Thanks to Vanya for this trick
#
from CommonParticles import StandardBasic
from CommonParticles import StandardIntermediate
from CommonParticles.Utils import particles # particles() method returns DoD dictionary
List = []
for a,b in particles().iteritems():
List.append(b)
##############################################################################
#
# Histograms
#
DaVinci().HistogramFile = "DVMonitors.root"
##############################################################################
#
# Most of this will be configured from Dirac
#
##############################################################################
DaVinci().UserAlgorithms = List
DaVinci().EvtMax = 1000
DaVinci().DataType = "MC09" # Default is "DC06"
DaVinci().Simulation = True
DaVinci().InputType = "RDST"
EventSelector().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/data/2009/RDST/00004937/0000/00004937_00000001_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'"]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
## @file DVTestHltDecayTreeTuple-TisTos.py
#
# See DecayTreeTuple documentation
#
# @author P. Koppenburg
# @date 2008-03-07
#
from Gaudi.Configuration import *
from Gaudi.Configuration import *
from Configurables import DaVinci
from HltSelChecker.CheckerSeq import *
#--------------------------------------------------------------
CS = CheckerSeq( DV=DaVinci()
, Signal="Bs2JpsiPhi_Biased"
, Decay = "[B_s0 -> (phi(1020) -> ^K+ ^K- {,gamma}{,gamma}) (J/psi(1S) -> ^mu+ ^mu- {,gamma}{,gamma})]cc"
# Basem Khanji, https://twiki.cern.ch/twiki/bin/view/LHCb/NewCpOfflineSelected
, Input = [ "DATAFILE='PFN:castor:/castor/cern.ch/user/b/bkhanji/MC09/BiasedBs2JpsiPhi_09.dst' TYP='POOL_ROOTTREE' OPT='READ'" ])
CS.configure()
from Configurables import DecayTreeTuple
importOptions("$HLTSELCHECKERROOT/options/Hlt2DecayTreeTuple.py")
DecayTreeTuple("Hlt2DecayTreeTuple").InputLocations = ["Hlt2Bs2JpsiPhiDetachedBsCombine"]
DecayTreeTuple("Hlt2DecayTreeTuple").Decay = "B_s0 -> (^phi(1020) -> ^K+ ^K-) (^J/psi(1S) -> ^mu+ ^mu-)"
DaVinci().MoniSequence += [ DecayTreeTuple("Hlt2DecayTreeTuple") ]
DaVinci().EvtMax = 100
## @file DVTestHltDecayTreeTuple-TisTos.py
#
# See DecayTreeTuple documentation
#
# @author P. Koppenburg
# @date 2008-03-07
#
from Gaudi.Configuration import *
from GaudiKernel.SystemOfUnits import *
########################################################################
#
# The Decay Tuple
#
from Configurables import DecayTreeTuple
tuple = DecayTreeTuple("Tuple")
tuple.ToolList += [
"TupleToolTrigger"
, "TupleToolGeometry"
, "TupleToolKinematic"
, "TupleToolPrimaries"
, "TupleToolEventInfo"
, "TupleToolMCTruth"
, "TupleToolTISTOS"
]
tuple.InputLocations = ["StdLooseJpsi2MuMu"]
tuple.Decay = "J/psi(1S) -> ^mu+ ^mu-"
#tuple.OutputLevel = 1
########################################################################
#
# DaVinci
#
from Configurables import DaVinci
DaVinci().EvtMax = 100
DaVinci().PrintFreq = 1
DaVinci().SkipEvents = 0
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().TupleFile = "DecayTreeTuple_TisTos.root" # Ntuple
DaVinci().MoniSequence = [ tuple ]
DaVinci().ReplaceL0BanksWithEmulated = True
DaVinci().Hlt = True
DaVinci().HltThresholdSettings = 'Physics_10000Vis_1000L0_40Hlt1_EffectiveHlt2_Jul09'
#-- GAUDI jobOptions generated on Mon Jun 22 17:05:57 2009
#-- Contains event types :
#-- 24142000 - 8 files - 123545 events - 27.24 GBytes
EventSelector().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000002_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000003_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000004_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000006_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000007_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000008_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000009_1.dst' TYP='POOL_ROOTTREE' OPT='READ'"]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
## @file DVTestHltDecayTreeTuple-TisTos.py
#
# See DecayTreeTuple documentation
#
# @author P. Koppenburg
# @date 2008-03-07
#
from Gaudi.Configuration import *
from GaudiKernel.SystemOfUnits import *
########################################################################
#
# The Decay Tuple
#
from Configurables import DecayTreeTuple
tuple = DecayTreeTuple("Tuple")
tuple.ToolList += [
"TupleToolTrigger"
, "TupleToolGeometry"
, "TupleToolKinematic"
, "TupleToolPrimaries"
, "TupleToolEventInfo"
, "TupleToolMCTruth"
, "TupleToolTISTOS"
]
tuple.InputLocations = ["StdLooseJpsi2MuMu"]
tuple.Decay = "J/psi(1S) -> ^mu+ ^mu-"
# tuple.OutputLevel = 1
########################################################################
#
# DaVinci
#
from Configurables import DaVinci
DaVinci().EvtMax = 100
DaVinci().PrintFreq = 1
DaVinci().SkipEvents = 0
DaVinci().DataType = "DC06"
DaVinci().Simulation = True
# DaVinci().TupleFile = "$rootfile" # Ntuple
DaVinci().TupleFile = "TisTosTobbing-DC06.root" # Ntuple
DaVinci().MoniSequence = [ tuple ]
DaVinci().ReplaceL0BanksWithEmulated = True
DaVinci().Hlt = True
DaVinci().HltThresholdSettings = 'Physics_10000Vis_1000L0_40Hlt1_EffectiveHlt2_Jul09'
#-- GAUDI jobOptions generated on Mon Jun 22 17:05:57 2009
#-- Contains event types :
#-- 24142000 - 8 files - 123545 events - 27.24 GBytes
DaVinci().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/production/DC06/v1r0/00002000/DST/0000/00002000_00000004_2.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
#foreach a ( 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 )
#setenv rootfile /tmp/${a}.root
#gaudirun.py tests/options/DVTestDecayTreeTuple-TisTos-DC06.py >! /tmp/test-$a &
#end
## @file DVTestHltDecayTreeTuple-TisTos.py
#
# See DecayTreeTuple documentation
#
# @author P. Koppenburg
# @date 2008-03-07
#
from Gaudi.Configuration import *
from GaudiKernel.SystemOfUnits import *
########################################################################
#
# The Decay Tuple
#
from Configurables import DecayTreeTuple
tuple = DecayTreeTuple("Tuple")
tuple.ToolList += [
"TupleToolTrigger"
, "TupleToolGeometry"
, "TupleToolKinematic"
, "TupleToolPrimaries"
, "TupleToolEventInfo"
, "TupleToolMCTruth"
, "TupleToolTISTOS"
]
tuple.InputLocations = ["StdLooseJpsi2MuMu"]
tuple.Decay = "J/psi(1S) -> ^mu+ ^mu-"
#tuple.OutputLevel = 1
########################################################################
#
# DaVinci
#
from Configurables import DaVinci
DaVinci().EvtMax = 100
DaVinci().PrintFreq = 1
DaVinci().SkipEvents = 0
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().TupleFile = "DecayTreeTuple_TisTos.root" # Ntuple
DaVinci().MoniSequence = [ tuple ]
DaVinci().ReplaceL0BanksWithEmulated = True
DaVinci().Hlt = True
DaVinci().HltThresholdSettings = 'Physics_10000Vis_1000L0_40Hlt1_EffectiveHlt2_Jul09'
#-- GAUDI jobOptions generated on Mon Jun 22 17:05:57 2009
#-- Contains event types :
#-- 24142000 - 8 files - 123545 events - 27.24 GBytes
EventSelector().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000002_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000003_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000004_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000006_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000007_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000008_1.dst' TYP='POOL_ROOTTREE' OPT='READ'",
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004831/0000/00004831_00000009_1.dst' TYP='POOL_ROOTTREE' OPT='READ'"]
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
## @file DVTestHltDecayTreeTuple.py
#
#
# See DecayTreeTuple documentation
#
# @author P. Koppenburg
# @date 2008-03-07
#
from Gaudi.Configuration import *
from GaudiKernel.SystemOfUnits import *
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
########################################################################
#
# The Decay Tuple
#
from Configurables import DecayTreeTuple
tuple = DecayTreeTuple("Tuple")
tuple.ToolList += [
"TupleToolMCTruth"
, "TupleToolMCBackgroundInfo"
, "TupleToolGeometry"
, "TupleToolKinematic"
, "TupleToolPropertime"
, "TupleToolPrimaries"
, "TupleToolEventInfo"
, "TupleToolTrackInfo"
# , "TupleToolTISTOS"
]
tuple.InputLocations = ["StripBd2JpsiKS"]
tuple.Decay = "[B0 -> (^J/psi(1S) -> ^mu+ ^mu-) (^KS0 -> ^pi+ ^pi-)]cc"
#tuple.OutputLevel = 1 ;
########################################################################
#
# The Event Tuple
#
from Configurables import EventTuple, TupleToolTrigger
evtTuple = EventTuple()
evtTuple.ToolList = [ "TupleToolEventInfo",
"TupleToolGeneration" ]
evtTuple.addTool(TupleToolTrigger())
evtTuple.TupleToolTrigger.VerboseHlt1 = True
evtTuple.TupleToolTrigger.VerboseHlt2 = True
# evtTuple.OutputLevel = 1
########################################################################
#
# The MC truth Tuple
#
from Configurables import MCDecayTreeTuple
mcTuple = MCDecayTreeTuple("MCTuple")
mcTuple.Decay = "{[ [B0]nos -> (^J/psi(1S) -> ^mu+ ^mu- {,gamma}{,gamma}) (^KS0 -> ^pi+ ^pi- {,gamma}{,gamma}) {,gamma}]cc, [ [B0]os -> (^J/psi(1S) -> ^mu+ ^mu- {,gamma}{,gamma}) (^KS0 -> ^pi+ ^pi- {,gamma}{,gamma}) {,gamma}]cc}"
mcTuple.ToolList = [ "MCTupleToolKinematic", "TupleToolEventInfo", "MCTupleToolReconstructed" ]
from Configurables import MCTupleToolReconstructed, MCReconstructed
#ToolSvc().addTool(MCReconstructed)
#ToolSvc().MCReconstructed.OutputLevel = 1
#mcTuple.OutputLevel = 1
#######################################################################
#
# Selection
#
from StrippingConf.Configuration import StrippingConf
from StrippingConf.StrippingStream import StrippingStream
from StrippingSelections import StrippingBd2JpsiKS
stream = StrippingStream("Test")
stream.appendLines( [ StrippingBd2JpsiKS.line ] )
sc = StrippingConf()
sc.appendStream( stream )
########################################################################
from Configurables import PrintMCTree
pmc = PrintMCTree()
pmc.ParticleNames = [ "B0", "B~0" ]
########################################################################
#
# DaVinci
#
from Configurables import DaVinci
DaVinci().EvtMax = 1000
DaVinci().SkipEvents = 0
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().TupleFile = "DecayTreeTuple.root" # Ntuple
DaVinci().MoniSequence = [ tuple, evtTuple, mcTuple ] # , pmc ]
DaVinci().appendToMainSequence( [ sc.sequence() ] )
#-- GAUDI jobOptions generated on Tue Jun 23 11:54:57 2009
#-- Contains event types :
EventSelector().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004889/0000/00004889_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
########################################################################
#
# $Id: DVTestHlt-DC06-Charming.py,v 1.3 2009-10-16 08:39:00 pkoppenb Exp $
#
# Options for a typical DaVinci job
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
importOptions( "$DAVINCISYSROOT/tests/options/DVTestHlt-DC06-None.py")
#
# now overwrite threshold setting
#
from Configurables import DaVinci
DaVinci().HltThresholdSettings = 'Physics_10000Vis_1000L0_40Hlt1_CharmingHlt2_Jul09'
########################################################################
#
# $Id: DVTestHlt-DC06-Effective.py,v 1.6 2009-10-16 08:39:00 pkoppenb Exp $
#
# Options for a typical DaVinci job
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
importOptions( "$DAVINCISYSROOT/tests/options/DVTestHlt-DC06-None.py")
#
# now overwrite threshold setting
#
from Configurables import DaVinci
DaVinci().HltThresholdSettings = 'Physics_10000Vis_1000L0_40Hlt1_EffectiveHlt2_Jul09'
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