Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
DVTestStandardBasic.py 1.31 KiB
##############################################################################
# $Id: DVTestCommonParticles.py,v 1.3 2010/01/06 08:51:50 pkoppenb Exp $
#
# syntax: gaudirun.py $DAVINCIMONITORSROOT/options/DVMonitorDst.py
#
# Author: Patrick Koppenburg <patrick.koppenburg@cern.ch>
#
##############################################################################
from DaVinci.Configuration import DaVinci
from Gaudi.Configuration import *
##############################################################################
#
from CommonParticles import StandardBasic

Locations = []
for a,b in StandardBasic.locations.iteritems():
    print "DVTestCommonParticles adding location", a
    Locations.append(a)

from Configurables import CountParticles
CP = CountParticles(Inputs = Locations)
##############################################################################
#
# Histograms
#
DaVinci().HistogramFile = "DVStandardBasic.root"
##############################################################################
#
# Most of this will be configured from Dirac
#
##############################################################################
DaVinci().UserAlgorithms = [ CP ]   # count them all
DaVinci().EvtMax = 500
DaVinci().DataType = "2010"
DaVinci().Simulation = False
DaVinci().InputType = "DST"

MessageSvc().Format = "% F%60W%S%7W%R%T %0W%M"