Ejemplo n.º 1
0
                ['Particle', 'particle',
                 StdLooseLambdaLL.outputLocation()],
                ['Particle', 'particle',
                 StdLooseLambdaLD.outputLocation()],
                ['ProtoParticle', 'best', 'Rec/ProtoP/Charged'],
                ['ProtoParticle', 'gamma', 'Rec/ProtoP/Neutrals']]
recPF.Output = 'Phys/PF/Particles'
recPF.ProBestNames = ['mu+', 'e+', 'p+', 'K+', 'pi+']
recPF.ProBestKeys = [701, 700, 704, 703, 702]
recPF.ProBestMins = [0.5, 0.5, 0.5, 0.5, 0.5]
recPF.EcalBest = True
recPF.SprRecover = False
recPF.TrkLnErrMax = 10
recPF.TrkUpErrMax = 10
recPF.TrkDnErrMax = 10
recJB = HltJetBuilder('recJB')
recJB.JetEcPath = ''
recJB.Inputs = [recPF.Output]
recJB.Output = 'Phys/JB/Particles'
recJB.JetPtMin = JetPtMin

from commonSelections import *

from PhysSelPython.Wrappers import SelectionSequence
recSVs_seq = SelectionSequence('recSVs_Seq', TopSelection=recSVs)
recMus_seq = SelectionSequence('recMus_Seq', TopSelection=recMus)

Jpsi_seq = SelectionSequence('Jpsi_Seq', TopSelection=recJpsi)
D0_seq = SelectionSequence('D0_Seq', TopSelection=recD0)
Dp_seq = SelectionSequence('Dp_Seq', TopSelection=recDp)
Ds_seq = SelectionSequence('Ds_Seq', TopSelection=recDs)
Ejemplo n.º 2
0
         caloSeq.outputLocation()],
        #        ['Particle', 'daughters', mergedpi0Seq.outputLocation()],
        ['Particle', 'daughters',
         dimuSeq.outputLocation()]
    ]

    pf.Output = 'Phys/PF/Particles'
    pf.ProBestNames = ['mu+', 'e+', 'p+', 'K+', 'pi+']
    pf.ProBestKeys = [701, 700, 704, 703, 702]
    pf.ProBestMins = [0.5, 0.5, 0.5, 0.5, 0.5]
    pf.EcalBest = True
    pf.SprRecover = False
    pf.TrkLnErrMax = 10
    pf.TrkUpErrMax = 10
    pf.TrkDnErrMax = 10
    jb = HltJetBuilder('jb')
    jb.JetEcPath = ''
    jb.Inputs = [pf.Output]
    jb.Output = 'Phys/JB/Particles'
    jb.JetPtMin = 0
    DaVinci().appendToMainSequence([pf, jb])

# TisTos configuration.
from Configurables import ToolSvc, TriggerTisTos
#for stage in ('Hlt1', 'Hlt2', 'Strip/Phys'):
for stage in ('Hlt1', 'Hlt2'):
    ToolSvc().addTool(TriggerTisTos, stage + "TriggerTisTos")
    tool = getattr(ToolSvc(), stage + "TriggerTisTos")
    tool.HltDecReportsLocation = '/Event/' + stage + '/DecReports'
    tool.HltSelReportsLocation = '/Event/' + stage + '/SelReports'