Skip to content
Snippets Groups Projects
  • Alex Pearce's avatar
    42f3b3b6
    Update Tesla tests to account for recent changes. · 42f3b3b6
    Alex Pearce authored
    The major differences are:
    
    * Turbo processing generally requires `DaVinci().Turbo = True`;
    * The packers now require the locations of packed containers that should
    always be created to be explicitly specified, and emit a warning if
    these are not specified.
    42f3b3b6
    History
    Update Tesla tests to account for recent changes.
    Alex Pearce authored
    The major differences are:
    
    * Turbo processing generally requires `DaVinci().Turbo = True`;
    * The packers now require the locations of packed containers that should
    always be created to be explicitly specified, and emit a warning if
    these are not specified.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
TupleStep.py 571 B
from Configurables import DaVinci
from Configurables import DecayTreeTuple

Tuple = DecayTreeTuple("psi")
Tuple.Decay = "J/psi(1S) -> mu+ mu-"
Tuple.Inputs = [ '/Event/Turbo/Hlt2DiMuonJPsiTurbo/Particles']

# Necessary DaVinci parameters #################
DaVinci().Simulation   = False
DaVinci().SkipEvents = 0
DaVinci().EvtMax = -1
DaVinci().Lumi = True
DaVinci().TupleFile = 'DVTuples.root'
DaVinci().PrintFreq = 10
DaVinci().DataType      = '2016'
DaVinci().UserAlgorithms = [] 
DaVinci().UserAlgorithms += [Tuple]
DaVinci().InputType = 'MDST'
DaVinci().Turbo = True