Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
DaVinci
Commits
44ab83b1
Commit
44ab83b1
authored
5 years ago
by
Eduardo Rodrigues
Browse files
Options
Downloads
Patches
Plain Diff
Remove obsolete file
parent
70759792
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1103
Draft: Add AnalysisHelpers to DaVinci Stack
,
!318
Remove obsolete file
Pipeline
#803669
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DaVinciTests/tests/options/Do09selBu2LLK.py
+0
-77
0 additions, 77 deletions
DaVinciTests/tests/options/Do09selBu2LLK.py
with
0 additions
and
77 deletions
DaVinciTests/tests/options/Do09selBu2LLK.py
deleted
100755 → 0
+
0
−
77
View file @
70759792
###############################################################################
# (c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration #
# #
# This software is distributed under the terms of the GNU General Public #
# Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
"""
@file Do09selBu2LLK.py
Configuration options for the execution of the selection of
B+ -> l+ l- K+
@author P. Koppenburg
@date 2009-01-09
"""
from
Gaudi.Configuration
import
*
##########################################################################
#
# presel cuts
#
leptoncut
=
"
(PT>800*MeV)
"
kaoncut
=
"
(PT>1400*MeV) & (MIPCHI2DV(PRIMARY)>4)
"
llcut
=
"
(CHI2VXNDF<9) & (MINTREE((ABSID<20),PT)>1*GeV)
"
combcut
=
"
(ADAMASS(
'
B0
'
)<600*MeV)
"
bcut
=
"
((CHI2VXNDF<10) & (BPVIPCHI2()<25) & (BPVDIRA()>0.999) & (BPVVDCHI2>25))
"
##########################################################################
#
# hard cuts
#
hardkaon
=
"
(MINTREE(ABSID==
'
K+
'
,PT)>1400)
"
hardelectron
=
"
( 2 == NINTREE( (ABSID==
'
e-
'
) & (PT>1000) & (PIDe>6) & (MIPCHI2DV(PRIMARY)>4) ))
"
hardmuon
=
"
( 2 == NINTREE( (ABSID==
'
mu-
'
) & (PT>1000) & (MIPCHI2DV(PRIMARY)>4) ))
"
harddilepton
=
"
(INTREE( (ID==
'
J/psi(1S)
'
) & (MM<2449) & (BPVVDCHI2()>25) ))
"
hardB
=
"
(CHI2VXNDF<6.67) & (BPVVDCHI2()>100) & (BPVIPCHI2()<25) & (BPVDIRA()>0.9999)
"
###########################################################################
#
# Config
#
from
Configurables
import
GaudiSequencer
Sel09Bu2LLKFilterSequence
=
GaudiSequencer
(
"
Sel09Bu2LLKFilterSequence
"
)
##########################################################################
from
Configurables
import
CombineParticles
Bu2LLK09_DiLepton
=
CombineParticles
(
"
Bu2LLK09_DiLepton
"
)
Sel09Bu2LLKFilterSequence
.
Members
+=
[
Bu2LLK09_DiLepton
]
Bu2LLK09_DiLepton
.
Inputs
=
[
"
Phys/StdLooseElectrons
"
,
"
Phys/StdLooseMuons
"
]
Bu2LLK09_DiLepton
.
DecayDescriptors
=
[
"
J/psi(1S) -> e+ e-
"
,
"
J/psi(1S) -> mu+ mu-
"
]
Bu2LLK09_DiLepton
.
DaughtersCuts
=
{
"
e+
"
:
leptoncut
,
"
mu+
"
:
leptoncut
}
Bu2LLK09_DiLepton
.
CombinationCut
=
"
(AM<6*GeV)
"
Bu2LLK09_DiLepton
.
MotherCut
=
"
(CHI2VXNDF<25)
"
###########################################################################
# Preselection
#
Presel09Bu2LLK
=
CombineParticles
(
"
Presel09Bu2LLK
"
)
Sel09Bu2LLKFilterSequence
.
Members
+=
[
Presel09Bu2LLK
]
Presel09Bu2LLK
.
Inputs
=
[
"
Phys/Bu2LLK09_DiLepton
"
,
"
Phys/StdLooseKaons
"
]
Presel09Bu2LLK
.
DecayDescriptor
=
"
[ B+ -> J/psi(1S) K+ ]cc
"
Presel09Bu2LLK
.
DaughtersCuts
=
{
"
K+
"
:
kaoncut
,
"
J/psi(1S)
"
:
llcut
}
Presel09Bu2LLK
.
CombinationCut
=
combcut
Presel09Bu2LLK
.
MotherCut
=
bcut
##########################################################################
# Selection
#
from
Configurables
import
FilterDesktop
Sel09Bu2LLK
=
FilterDesktop
(
"
Sel09Bu2LLK
"
)
Sel09Bu2LLK
.
Inputs
=
[
"
Phys/Presel09Bu2LLK
"
]
Sel09Bu2LLK
.
Code
=
hardkaon
+
"
& (
"
+
hardelectron
+
"
|
"
+
hardmuon
+
"
) &
"
+
harddilepton
+
"
&
"
+
hardB
Sel09Bu2LLKFilterSequence
.
Members
+=
[
Sel09Bu2LLK
]
##########################################################################
#ApplicationMgr().TopAlg += [ Sel09Bu2LLKFilterSequence ]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment