Commit ef26b176 authored by Mark Smith's avatar Mark Smith
Browse files

Merge branch 'cherry-pick-7d670e3c' into 'run2-patches'

Add NoPID upstream muons (cherry pick for run2-patches)

See merge request !897
parents 1f551e3b a2365ce7
Pipeline #2432210 passed with stage
in 30 seconds
...@@ -54,6 +54,9 @@ _locations.update(locations) ...@@ -54,6 +54,9 @@ _locations.update(locations)
from CommonParticles.StdTightANNDownMuons import * from CommonParticles.StdTightANNDownMuons import *
_locations.update(locations) _locations.update(locations)
from CommonParticles.StdNoPIDsUpMuons import *
_locations.update(locations)
from CommonParticles.StdTightANNUpMuons import * from CommonParticles.StdTightANNUpMuons import *
_locations.update(locations) _locations.update(locations)
......
#!/usr/bin/env python
from __future__ import print_function
###############################################################################
# (c) Copyright 2000-2021 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/StdNoPIDsUpMuons.py
# configuration file for 'Standard NoPIDs Upstream Muons'
# @author Vitalii Lisovskyi vitalii.lisovskyi@cern.ch
# @date 2021-02-23
# =============================================================================
__all__ = ('StdNoPIDsUpMuons', 'locations')
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import trackSelector, updateDoD
## create the algorithm
algorithm = NoPIDsParticleMaker(
'StdNoPIDsUpMuons', DecayDescriptor='Muon', Particle='muon')
# configure the track selector
selector = trackSelector(algorithm, trackTypes=['Upstream'])
## configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
StdNoPIDsUpMuons = algorithm
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(locationsDoD(locations))
# =============================================================================
# The END
# =================================================================
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment