Commit d5b56da6 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Merge branch 'pkoppenb-RemoveCommonParticles' into 'master'

Remove CommonParticles

Closes lhcb-dpa/project#95

See merge request !1009
parents 36c3a1db 13ea93ba
Pipeline #3256454 passed with stage
in 42 seconds
......@@ -40,7 +40,6 @@ lhcb_add_subdirectories(
MicroDST/MicroDSTInterfaces
MicroDST/MicroDSTTools
Phys/BBDecTreeTool
Phys/CommonParticles
Phys/DaVinciFilters
Phys/DaVinciInterfaces
Phys/DaVinciKernel
......
###############################################################################
# (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. #
###############################################################################
#[=======================================================================[.rst:
Phys/CommonParticles
--------------------
#]=======================================================================]
gaudi_install(PYTHON)
gaudi_add_tests(pytest)
This diff is collapsed.
#!/usr/bin/env python
###############################################################################
# (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 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'
"""
from __future__ import print_function
__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
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StdNoPIDsElectrons.py
# configuration file for 'Standard NoPIDs Electrons'
# @author Patrick Koppenburg
# @date 2011-07-18
# =============================================================================
"""
Configuration file for 'No Brem NoPIDs Electrons wioth loose cuts'
"""
from __future__ import print_function
__author__ = "Patrick Koppenburg "
# =============================================================================
__all__ = ('NoBremNoPIDsElectrons', 'locations')
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import *
## create the algorithm
algorithm = NoPIDsParticleMaker(
'NoBremNoPIDsElectrons', DecayDescriptor='Electron', Particle='electron')
selector = trackSelector(algorithm, trackTypes=["Long"])
algorithm.AddBremPhotonTo = []
## configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
NoBremNoPIDsElectrons = algorithm
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 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 Ttrack tracks'
"""
from __future__ import print_function
__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch"
# =============================================================================
__all__ = ('NoBremNoPIDsTtrackElectrons', 'locations')
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import *
## create the algorithm
algorithm = NoPIDsParticleMaker(
'NoBremNoPIDsTtrackElectrons',
DecayDescriptor='Electron',
Particle='electron')
algorithm.AddBremPhotonTo = []
# configure the track selector
selector = trackSelector(algorithm, trackTypes=["Ttrack"])
## configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
NoBremNoPIDsTtrackElectrons = algorithm
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 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 Upstream tracks'
"""
from __future__ import print_function
__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch"
# =============================================================================
__all__ = ('NoBremNoPIDsUpElectrons', 'locations')
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import *
## create the algorithm
algorithm = NoPIDsParticleMaker(
'NoBremNoPIDsUpElectrons', DecayDescriptor='Electron', Particle='electron')
algorithm.AddBremPhotonTo = []
# configure the track selector
selector = trackSelector(algorithm, trackTypes=["Upstream"])
## configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
NoBremNoPIDsUpElectrons = algorithm
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StdNoPIDsElectrons.py
# configuration file for 'Standard NoPIDs Pions'
# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
# @date 2009-01-14
# =============================================================================
"""
Configuration file for 'Standard NoPIDs Electrons with VELO tracks'
"""
from __future__ import print_function
__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch"
# =============================================================================
__all__ = ('StdNoPIDsElectrons', 'locations')
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import *
## create the algorithm
algorithm = NoPIDsParticleMaker(
'StdNoPIDsVeloElectrons', DecayDescriptor='Electron', Particle='electron')
# configure the track selector
selector = trackSelector(algorithm, trackTypes=["Velo"])
## configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
StdNoPIDsVeloElectrons = algorithm
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StandardBasic.py
# configuration file for 'Standard Basic'
# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
# @date 2009-01-14
# =============================================================================
"""
Configuration file for 'Standard Basic' particles
"""
from __future__ import print_function
__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
# =============================================================================
_locations = {}
from CommonParticles.StandardBasicCharged import *
_locations.update(locations)
from CommonParticles.StandardBasicNeutral import *
_locations.update(locations)
from CommonParticles.StandardJets import *
_locations.update(locations)
# redefine the locations
locations = _locations
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
from CommonParticles.Utils import locationsDoD
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StandardBasicCharged.py
# configuration file for 'Standard BasicCharged'
# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
# @date 2009-01-14
# =============================================================================
"""
Configuration file for 'Standard Basic Charged' particles
"""
from __future__ import print_function
__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
# =============================================================================
_locations = {}
from CommonParticles.StandardPions import *
_locations.update(locations)
from CommonParticles.StandardKaons import *
_locations.update(locations)
from CommonParticles.StandardMuons import *
_locations.update(locations)
from CommonParticles.StandardElectrons import *
_locations.update(locations)
from CommonParticles.StandardProtons import *
_locations.update(locations)
# redefine the locations
locations = _locations
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
from CommonParticles.Utils import locationsDoD
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StandardBasicNeutral.py
# configuration file for 'Standard Basic Neutral'
# @author Vanya BELYAEV Ivan.Belyaev@nikhef.nl
# @date 2009-01-14
# =============================================================================
"""
Configuration file for 'Standard Basic Neutral' particles
"""
from __future__ import print_function
__author__ = "Vanya BELYAEV Ivan.Belyaev@nikhef.nl"
# =============================================================================
_locations = {}
from CommonParticles.StandardPhotons import *
_locations.update(locations)
from CommonParticles.StandardPi0 import *
_locations.update(locations)
from CommonParticles.StandardEta import *
_locations.update(locations)
from CommonParticles.StdLooseDiElectron import *
_locations.update(locations)
# redefine the locations
locations = _locations
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
from CommonParticles.Utils import locationsDoD
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StandardD0.py
# configuration file for 'Standard D0'
# @author Patrick Koppenburg
# @date 2009-02-28
# =============================================================================
"""
Configuration file for 'Standard D0'
"""
from __future__ import print_function
__author__ = "Patrick Koppenburg"
# =============================================================================
_locations = {}
from CommonParticles.StdLooseD02KsHH import *
_locations.update(locations)
from CommonParticles.StdLooseD02HH import *
_locations.update(locations)
# redefine the locations
locations = _locations
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
from CommonParticles.Utils import locationsDoD
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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 CommonParticles/StdLoose.py
# configuration file for 'Standard Loose DiElectron'
# @author Patrick Koppenburg
# @date 2009-12-08
# =============================================================================
"""
Configuration file for 'Standard Loose DiElectron'
"""
from __future__ import print_function
__author__ = "Rob Lambert"
# =============================================================================
from Gaudi.Configuration import *
## ============================================================================
## create the algorithm
_locations = {}
from CommonParticles.StdLooseDiElectron import *
_locations.update(locations)
from CommonParticles.StdLooseDetachedDiElectron import *
_locations.update(locations)
# redefine the locations
locations = _locations
## configure Data-On-Demand service
#locations = updateDoD ( StdLoose )
## ============================================================================
if '__main__' == __name__:
print(__doc__)
print(__author__)
from CommonParticles.Utils import locationsDoD
print(locationsDoD(locations))
# =============================================================================
# The END
# =============================================================================
#!/usr/bin/env python
###############################################################################
# (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". #