Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stripping
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Stripping
Merge requests
!1544
Draft: dbases and archive for 2017 re-stripping
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: dbases and archive for 2017 re-stripping
branch-for-testing
into
2017-patches
Overview
1
Commits
2
Pipelines
1
Changes
244+
Closed
Federico Leo Redi
requested to merge
branch-for-testing
into
2017-patches
3 years ago
Overview
1
Commits
2
Pipelines
1
Changes
244
Expand
👍
0
👎
0
Merge request reports
Compare
2017-patches
2017-patches (base)
and
latest version
latest version
2df9dcb8
2 commits,
3 years ago
244+ files
+
49979
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
244+
Search (e.g. *.vue) (Ctrl+P)
Some changes are not shown.
For a faster browsing experience, only
244 of 244+
files are shown. Download one of the files below to see all changes.
Plain diff
Patches
Phys/CommonParticlesArchive/python/CommonParticlesArchive/Stripping29r2p2/CommonParticles/NoBremNoPIDsDownElectrons.py
0 → 100755
+
58
−
0
Options
#!/usr/bin/env python
###############################################################################
# (c) Copyright 2000-2019 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 CommonParticles/StdNoPIDsElectrons.py
# configuration file for 'Standard NoPIDs Pions'
# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
# @date 2009-01-14
# =============================================================================
"""
Configuration file for
'
NoBrem NoPIDs Electrons with downstram tracks
'
"""
__author__
=
"
Ulrich Kerzel Ulrich.Kerzel@cern.ch
"
# =============================================================================
__all__
=
(
'
NoBremNoPIDsDownElectrons
'
,
'
locations
'
)
# =============================================================================
from
Gaudi.Configuration
import
*
from
Configurables
import
NoPIDsParticleMaker
from
CommonParticles.Utils
import
*
## create the algorithm
algorithm
=
NoPIDsParticleMaker
(
'
NoBremNoPIDsDownElectrons
'
,
DecayDescriptor
=
'
Electron
'
,
Particle
=
'
electron
'
)
algorithm
.
AddBremPhotonTo
=
[]
# configure the track selector
selector
=
trackSelector
(
algorithm
,
trackTypes
=
[
"
Downstream
"
])
## configure Data-On-Demand service
locations
=
updateDoD
(
algorithm
)
## finally: define the symbol
NoBremNoPIDsDownElectrons
=
algorithm
## ============================================================================
if
'
__main__
'
==
__name__
:
print
__doc__
print
__author__
print
locationsDoD
(
locations
)
# =============================================================================
# The END
# =============================================================================
Loading