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

v24r0

parent f6c40504
No related branches found
Tags v24r0
No related merge requests found
Showing
with 11730 additions and 0 deletions
include $(CMTROOT)/src/Makefile.header
include $(CMTROOT)/src/constituents.make
package DaVinciSys
version v24r0
branches doc cmt
#=======================================================
# Don't forget DaVinci itself
#=======================================================
use DaVinci v24r0 Phys
alias DaVinciTests "cmt qmtest_run"
# Allow the generation of the SAM QMTest
apply_pattern QMTest
# Allow the generation of QMTest summary
apply_pattern QMTestSummarize
v24r0
PROJECT_NAME = "DaVinci Physics Analysis Program"
OUTPUT_DIRECTORY = $(DAVINCISYSROOT)/doc
GENERATE_TAGFILE = DaVinci.tag
@INCLUDE_PATH = $(LHCBSYSROOT)/doc $(Gaudi_release_area)/GAUDI/GAUDI_$(GAUDIVERS)/doc
@INCLUDE = DoxyLHCbCommon.cfg
@INCLUDE = DoxyLHCbApps.cfg
INPUT += $(DAVINCISYSROOT)/.. $(Phys_release_area)/PHYS/PHYS_$(PHYSVERS) $(Analysis_release_area)/ANALYSIS/ANALYSIS_$(ANALYSISVERS) $(Rec_release_area)/REC/REC_$(RECVERS) $(Lbcom_release_area)/LBCOM/LBCOM_$(LBCOMVERS) $(Hlt_release_area)/HLT/HLT_$(HLTVERS)
FILE_PATTERNS += *$(DAVINCIVERS)*.opts *DaVinciSys*requirements *$(COMMONPARTICLESROOT)*.opts *$(HLTSYSROOT)*.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 sam
cmt qmtest_run davincisys.hlt.test_hlt12_dc06
cmt qmtest_run davincisys.hlt.test_hlt12_mc09
cmt qmtest_run davincisys.hlt.test_hlt12_mdf
cmt qmtest_run davincisys.hlt.test_hlt1_mc09
cmt qmtest_run davincisys.hlt.test_tistos
cmt qmtest_run davincisys.davincisys
cmt qmtest_run davincisys.io.test_decaytreetuple
cmt qmtest_run davincisys.io.test_dst
cmt qmtest_run davincisys.io.test_read
cmt qmtest_run davincisys.preselections.test_bbstripping
cmt qmtest_run davincisys.preselections.test_bd2kstarmumu
cmt qmtest_run davincisys.preselections.test_bu2llk2008
cmt qmtest_run davincisys.preselections.test_stripping
cmt qmtest_run davincisys.preselections.test_stripping_read
cmt qmtest_run davincisys.tag.test_tag
This diff is collapsed.
## $Id: DVTestAllPreselections.py,v 1.6 2009-07-09 09:38:45 pkoppenb Exp $
## ============================================================================
## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.6 $
## ============================================================================
from Gaudi.Configuration import *
importOptions("$STDOPTS/PreloadUnits.opts")
from Configurables import DaVinci
DaVinci().MainOptions = "$STRIPPINGSELECTIONSROOT/options/DC06-Stripping.opts"
DaVinci().EvtMax = 100
DaVinci().PrintFreq = 1
DaVinci().InputType = "RDST"
##-- GAUDI data cards generated on 9/15/07 3:53 PM
##-- For Event Type = 10000000 / Data type = RDST 1
##-- Configuration = DC06 - phys-v4-lumi2
##-- RDST 1 datasets produced by Brunel - v30r17
##-- From DIGI 1 datasets produced by ANY
##-- From SIM 1 datasets produced by ANY
##-- Database version = Default
##-- Cards content = physical-physical
##--
##-- Datasets replicated at CERN
##-- 200 dataset(s) - NbEvents = 1987826
##--
DaVinci().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000004_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000006_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000011_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000012_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000015_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000019_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-v4-lumi2/00001896/RDST/0000/00001896_00000022_1.rdst' TYP='POOL_ROOTTREE' OPT='READ'" ]
DaVinci().DataType = "DC06"
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
## $Id: DVTestBd2KstarMuMu.py,v 1.8 2009-07-09 09:38:45 pkoppenb Exp $
## ============================================================================
## CVS tag $Name: not supported by cvs2svn $, version $Revision: 1.8 $
## ============================================================================
"""
@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 OldFilterDesktop, ByPIDFilterCriterion, TrueMCFilterCriterion, MCDecayFinder
SelectTrueNoPIDsDecay = OldFilterDesktop("SelectTrueNoPIDsDecay")
trueSeq.Members += [ SelectTrueNoPIDsDecay ]
SelectTrueNoPIDsDecay.FilterCriterion = "ByPIDFilterCriterion"
SelectTrueNoPIDsDecay.InputLocations = [ "StdNoPIDsMuons",
"StdNoPIDsKaons",
"StdNoPIDsPions"]
SelectTrueNoPIDsDecay.addTool(ByPIDFilterCriterion("Filter"))
SelectTrueNoPIDsDecay.Filter.Selections = [ "K+ : TrueMCFilterCriterion/Decay",
"mu+ : TrueMCFilterCriterion/Decay",
"pi+ : TrueMCFilterCriterion/Decay" ]
##
## The decay descriptor is the only part that requires some thinking...
##
SelectTrueNoPIDsDecay.Filter.addTool(TrueMCFilterCriterion("Decay"))
SelectTrueNoPIDsDecay.Filter.Decay.addTool(MCDecayFinder())
SelectTrueNoPIDsDecay.Filter.Decay.MCDecayFinder.Decay = "[[B0]nos => ^K+ ^pi- ^mu+ ^mu- {,gamma}{,gamma}{,gamma}{,gamma}]cc, [[B0]os => ^K- ^pi+ ^mu+ ^mu- {,gamma}{,gamma}{,gamma}{,gamma}]cc"
##
## Dummy MakeResonances to check that all tracks are there
##
from Configurables import CombineParticles
AllTrueNoPIDsDecay = CombineParticles("AllTrueNoPIDsDecay")
trueSeq.Members += [ AllTrueNoPIDsDecay ]
AllTrueNoPIDsDecay.MotherCut = "ALL"
AllTrueNoPIDsDecay.InputLocations = [ "SelectTrueNoPIDsDecay" ]
AllTrueNoPIDsDecay.DecayDescriptor = "[B0 -> mu- mu+ K+ pi-]cc" ## all particles need to be there
##----------------------------------------------------------------------------------------------------
##
## Truth filter for Loose PID : copy of above with NoPIDs -> Loose
##
SelectTrueLooseDecay = SelectTrueNoPIDsDecay.clone("SelectTrueLooseDecay")
trueSeq.Members += [ SelectTrueLooseDecay ]
SelectTrueLooseDecay.InputLocations = [ "StdLooseMuons",
"StdLooseKaons",
"StdLoosePions"]
##
## Dummy MakeResonances to check that all tracks are there
##
AllTrueLooseDecay = AllTrueNoPIDsDecay.clone("AllTrueLooseDecay")
AllTrueLooseDecay.InputLocations = [ "SelectTrueLooseDecay" ]
trueSeq.Members += [ AllTrueLooseDecay ]
##
## Correlations
##
from Configurables import AlgorithmCorrelationsAlg, AlgorithmCorrelations
TestCorrelations = AlgorithmCorrelationsAlg("TestCorrelations")
TestCorrelations.addTool(AlgorithmCorrelations())
TestCorrelations.AlgorithmCorrelations.OnlyNonZero = False
TestCorrelations.Algorithms = ["AllTrueNoPIDsDecay", "AllTrueLooseDecay",
"Strip_10Hz_Bd2KstarMuMu", "Strip_Penguin_Jpsi2MuMu", "Strip_Penguin_Kstar2KPi" ]
###
# DaVinci
###
## Preselection
from StrippingConf.Configuration import StrippingConf
StrippingConf().ActiveLines = [ "Bd2KstarMuMu_10Hz" ] # does not work yet
StrippingConf().OutputType = "NONE"
StrippingConf().MainOptions = "$STRIPPINGSELECTIONSROOT/options/STEP09/StrippingSelections.py"
from Configurables import DaVinci
DaVinci().UserAlgorithms = [ trueSeq ]
DaVinci().MoniSequence = [ TestCorrelations ]
##
## Options
##
##-- GAUDI data cards generated on 11/8/07 5:37 PM
##-- For Event Type = 11114001 / Data type = DST 1
DaVinci().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-lumi2/00001586/DST/0000/00001586_00000001_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-lumi2/00001586/DST/0000/00001586_00000002_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-lumi2/00001586/DST/0000/00001586_00000003_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-lumi2/00001586/DST/0000/00001586_00000004_5.dst' TYP='POOL_ROOTTREE' OPT='READ'",
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/phys-lumi2/00001586/DST/0000/00001586_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: DVTestBu2LLK-2008.py,v 1.5 2009-07-09 09:38:45 pkoppenb 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 = [ "Bu2LLK09_DiLepton", "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"
## @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"
, "TupleToolTISTOS"
]
tuple.InputLocations = ["StdLooseJpsi2MuMu"]
tuple.Decay = "J/psi(1S) -> ^mu+ ^mu-"
#tuple.OutputLevel = 1 ;
########################################################################
#
# DaVinci
#
from Configurables import DaVinci
DaVinci().EvtMax = 100
DaVinci().SkipEvents = 0
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().TupleFile = "DecayTreeTuple_TisTos.root" # Ntuple
DaVinci().MoniSequence = [ tuple ]
DaVinci().ReplaceL0BanksWithEmulated = True
DaVinci().HltType = "Hlt1+Hlt2"
#-- 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'"]
## @file DVTestHltDecayTreeTuple-DC06.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 = ["Strip_loose_Bd2KstarMuMu"]
tuple.Decay = "[B0 -> (^J/psi(1S) -> ^mu+ ^mu-) (^K*(892)0 -> ^K+ ^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 -> ^mu+ ^mu- (^K*(892)0 -> ^K+ ^pi- {,gamma}{,gamma}) {,gamma}{,gamma}{,gamma}]cc, [ [B~0]os -> ^mu+ ^mu- (^K*(892)0 -> ^K+ ^pi- {,gamma}{,gamma}) {,gamma}{,gamma}{,gamma}]cc}"
mcTuple.ToolList = [ "MCTupleToolKinematic", "TupleToolEventInfo", "MCTupleToolReconstructed" ]
#mcTuple.OutputLevel = 1
#######################################################################
#
# Selection
#
from StrippingConf.Configuration import StrippingConf
StrippingConf().ActiveLines = ['Bd2KstarMuMu_10Hz']
StrippingConf().OutputType = "NONE"
from Configurables import DaVinci
########################################################################
#
# DaVinci
#
DaVinci().EvtMax = 1000
DaVinci().SkipEvents = 0
DaVinci().DataType = "MC09"
DaVinci().Simulation = True
DaVinci().TupleFile = "DecayTreeTuple.root" # Ntuple
DaVinci().MoniSequence = [ tuple, evtTuple, mcTuple ]
# DaVinci().HltType = "Hlt1+Hlt2"
#-- 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/00004871/0000/00004871_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
########################################################################
#
# $Id: DVTestHlt-DC06.py,v 1.7 2009-04-29 09:49:41 pkoppenb Exp $
#
# Options for a typical DaVinci job
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
########################################################################
#
# Standard configuration
#
from Configurables import DaVinci
DaVinci().EvtMax = 500 # Number of events
DaVinci().SkipEvents = 0 # Events to skip
DaVinci().PrintFreq = 100 # Print frequency
DaVinci().DataType = "DC06" # Default is "DC06"
DaVinci().Simulation = True
########################################################################
#
# HLT
#
DaVinci().ReplaceL0BanksWithEmulated = True ## enable if you want to rerun L0
DaVinci().Hlt2Requires = 'L0' ## Run Hlt1 and 2
DaVinci().HltType = 'Hlt1+Hlt2' ## pick one of 'Hlt1', 'Hlt2', or 'Hlt1+Hlt2'
DaVinci().Input = [
"DATAFILE='PFN:castor:/castor/cern.ch/grid/lhcb/production/DC06/L0-v1-lumi2/00001959/DST/0000/00001959_00000002_1.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
########################################################################
#
# $Id: DVTestHlt1-MC09.py,v 1.1 2009-06-22 15:24:11 pkoppenb Exp $
#
# Options for Hlt1 tests. Identical to Hlt1&2, except for type.
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
########################################################################
#
# Standard configuration
#
from Configurables import DaVinci
DaVinci().EvtMax = 100 # Number of events
DaVinci().SkipEvents = 0 # Events to skip
DaVinci().PrintFreq = 100 # Print frequency
DaVinci().DataType = "MC09" # Default is "DC06"
DaVinci().Simulation = True
# DaVinci().MoniSequence += [ ReadHltSummary() ]
########################################################################
#
# HLT
#
DaVinci().HltType = 'Hlt1' ## pick one of 'Hlt1', 'Hlt2', or 'Hlt1+Hlt2'
#-- GAUDI jobOptions generated on Mon Jun 22 16:57:21 2009
#-- Contains event types :
#-- 11144001 - 15 files - 215879 events - 62.23 GBytes
EventSelector().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004875/0000/00004875_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
########################################################################
#
# $Id: DVTestHlt12-MC09.py,v 1.2 2009-07-09 09:38:45 pkoppenb Exp $
#
# Test for Hlt1&2. This should be identical to Hlt1 except for the HltType.
#
# The Hlt1 efficiency should be identical to the one in DVTestHlt1-2008.py
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
########################################################################
#
# Standard configuration
#
from Configurables import DaVinci
DaVinci().EvtMax = 100 # Number of events
DaVinci().SkipEvents = 0 # Events to skip
DaVinci().PrintFreq = 100 # Print frequency
DaVinci().DataType = "MC09" # Pretend it's real data
DaVinci().Simulation = True
# DaVinci().MoniSequence += [ ReadHltSummary() ]
########################################################################
#
# HLT
#
DaVinci().Hlt2Requires = 'L0'
DaVinci().HltType = 'Hlt1+Hlt2' ## pick one of 'Hlt1', 'Hlt2', or 'Hlt1+Hlt2'
#-- GAUDI jobOptions generated on Mon Jun 22 16:57:21 2009
#-- Contains event types :
#-- 11144001 - 15 files - 215879 events - 62.23 GBytes
EventSelector().Input = [
" DATAFILE='castor://castorlhcb.cern.ch:9002/?svcClass=lhcbdata&castorVersion=2&path=/castor/cern.ch/grid/lhcb/MC/MC09/DST/00004875/0000/00004875_00000001_1.dst' TYP='POOL_ROOTTREE' OPT='READ'" ]
#
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
########################################################################
#
# $Id: DVTestHlt12-MDF.py,v 1.4 2009-07-09 09:38:45 pkoppenb Exp $
#
# Test for Hlt1&2. Test for MDF files.
#
# @author Patrick Koppenburg
# @date 2008-08-06
#
########################################################################
from Gaudi.Configuration import *
from Configurables import GaudiSequencer
########################################################################
#
# Standard configuration
#
from Configurables import DaVinci
DaVinci().HltThresholdSettings = 'Miriam_20090430'
DaVinci().EvtMax = 10000 # Number of events
DaVinci().SkipEvents = 0 # Events to skip
DaVinci().PrintFreq = 100 # Print frequency
DaVinci().DataType = "2009" # Default is "MC09", prentend it's real data
# DaVinci().Simulation = False
# DaVinci().MoniSequence += [ ReadHltSummary() ]
########################################################################
#
# HLT
#
DaVinci().Hlt2Requires = 'L0+Hlt1'
DaVinci().HltType = 'Hlt1+Hlt2' ## pick one of 'Hlt1', 'Hlt2', or 'Hlt1+Hlt2'
DaVinci().InputType = "MDF"
EventSelector().Input = [
" DATA='PFN:castor:/castor/cern.ch/grid/lhcb/test/MDF/00003083/0000/00003083_00000002_1.mdf' SVC='LHCb::MDFSelector'" ]
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
def noInit():
GaudiSequencer("PhysInitSeq").Members = []
GaudiSequencer("AnalysisInitSeq").Members = []
appendPostConfigAction(noInit)
## $Id: DVTestInitialise.py,v 1.3 2009-03-24 10:43:22 pkoppenb Exp $
## ============================================================================
## CVS tag $Name: not supported by cvs2svn $
## ============================================================================
"""
@file $Name: not supported by cvs2svn $
Test for DaVinci initialisation
@author P. Koppenburg
@date 2009-01-07
"""
from Gaudi.Configuration import *
from Configurables import DaVinci
DaVinci().MainOptions = ""
DaVinci().UserAlgorithms = [ ]
DaVinci().EvtMax = 0 # No running
DaVinci().SkipEvents = 0
DaVinci().PrintFreq = 1
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
########################################################################
#
# $Id: DVTestReadDst.py,v 1.5 2009-07-09 09:38:45 pkoppenb Exp $
#
# Options for a typical DaVinci job creating DSTs
#
# @author Patrick Koppenburg
# @date 2009-02-04
#
########################################################################
from Gaudi.Configuration import *
from Configurables import DaVinci
##############################################################################
#
# Print the J/psi
#
from Configurables import PrintDecayTree, PrintHeader
pJpsi = PrintDecayTree('PrintJpsi')
pJpsi.InputLocations = [ "Jpsi_3050_3150", "Jpsi_2600_3200", "Jpsi_3000_3500" ]
# pJpsi.OutputLevel = 1
#
ph = PrintHeader()
##############################################################################
#
#
##############################################################################
DaVinci().EvtMax = -1
DaVinci().PrintFreq = 1
DaVinci().DataType = "MC09" # Default is "DC06"
DaVinci().Input = [ "DATAFILE='PFN:$DAVINCISYSROOT/tests/qmtest/Jpsi_3050_3150.dst' TYP='POOL_ROOTTREE' OPT='READ'"
, "DATAFILE='PFN:$DAVINCISYSROOT/tests/qmtest/Jpsi_2600_3200.dst' TYP='POOL_ROOTTREE' OPT='READ'"
, "DATAFILE='PFN:$DAVINCISYSROOT/tests/qmtest/Jpsi_3000_3500.dst' TYP='POOL_ROOTTREE' OPT='READ'"
]
DaVinci().UserAlgorithms = [ ph, pJpsi ]
########################################################################
MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"
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