Skip to content
Snippets Groups Projects

Run autopep8 over the whole Stripping/2018-patches to comply with modern linting

Merged Eduardo Rodrigues requested to merge erodrigu-lint-2018-patches into 2018-patches
All threads resolved!
625+ files
+ 15182
15338
Compare changes
  • Side-by-side
  • Inline
Files
625+
#!/usr/bin/env python
###############################################################################
# (c) Copyright 2000-2019 CERN for the benefit of the LHCb Collaboration #
# (c) Copyright 2000-2023 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". #
@@ -11,48 +11,48 @@
###############################################################################
# =============================================================================
# =============================================================================
## @file CommonParticles/StdNoPIDsElectrons.py
# configuration file for 'Standard NoPIDs Pions'
# @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"
from CommonParticles.Utils import *
from Gaudi.Configuration import *
__author__ = "Ulrich Kerzel Ulrich.Kerzel@cern.ch"
# =============================================================================
__all__ = (
'NoBremNoPIDsDownElectrons' ,
'NoBremNoPIDsDownElectrons',
'locations'
)
)
# =============================================================================
from Gaudi.Configuration import *
from Configurables import NoPIDsParticleMaker
from CommonParticles.Utils import *
from Configurables import NoPIDsParticleMaker
## create the algorithm
algorithm = NoPIDsParticleMaker ( 'NoBremNoPIDsDownElectrons' ,
DecayDescriptor = 'Electron' ,
Particle = 'electron' )
# create the algorithm
algorithm = NoPIDsParticleMaker('NoBremNoPIDsDownElectrons',
DecayDescriptor='Electron',
Particle='electron')
algorithm.AddBremPhotonTo = []
algorithm.AddBremPhotonTo = []
# configure the track selector
selector = trackSelector ( algorithm , trackTypes = [ "Downstream" ])
selector = trackSelector(algorithm, trackTypes=["Downstream"])
## configure Data-On-Demand service
locations = updateDoD ( algorithm )
# configure Data-On-Demand service
locations = updateDoD(algorithm)
## finally: define the symbol
NoBremNoPIDsDownElectrons = algorithm
# finally: define the symbol
NoBremNoPIDsDownElectrons = algorithm
## ============================================================================
if '__main__' == __name__ :
# ============================================================================
if '__main__' == __name__:
print __doc__
print __author__
print locationsDoD ( locations )
print locationsDoD(locations)
# =============================================================================
# The END
# The END
# =============================================================================
Loading