Code owners
Assign users and groups as approvers for specific file changes. Learn more.
__init__.py 1.95 KiB
###############################################################################
# (c) Copyright 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. #
###############################################################################
_selections = ('StrippingRareBaryonicMuMu',
'StrippingB2DibaryonMuMu',
'StrippingBu2LLK',
'StrippingB2OCMuMu',
'StrippingB2LLXBDT_Calib',
'StrippingKshort2Leptons',
'StrippingLFVLines',
'StrippingB2XMuMu',
'StrippingBaryonicLFV',
'StrippingB2XTauTauMuonic',
'StrippingB2MuMuMuMuLines',
'StrippingTau23MuLines',
'StrippingBeauty2XGammaExclTDCPV',
'StrippingSb2PKMuXPi',
'StrippingMultiLepton',
'StrippingBeauty2MajoLep',
'StrippingB2KSKSMuMu',
'StrippingB2XMuTauMuonic',
'StrippingB2LLXBDTSS',
'StrippingB2KstTauTau',
'StrippingS2Hyperons',
'StrippingDarkBoson'
)
for _sel in _selections :
try :
__import__( '%s.%s' % ( __name__, _sel ) )
except Exception, x:
print '[WARNING] Submodule %s.%s raises the exception "%s" and will be skipped !' % ( __name__,_sel,x )
from sys import modules as _modules
_this = _modules[__name__]
_strippingKeys = filter ( lambda x : x[:9]=='Stripping',
locals().keys())
_strippingModules = [getattr(_this, _k) for _k in _strippingKeys]