CMS 3D CMS Logo

Functions
phase1TkCustoms Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def phase1TkCustoms.customise (   process)

Definition at line 3 of file phase1TkCustoms.py.

3 def customise(process):
4  raise Exception("""
5 ########################################
6 #
7 # -- Warning! You are using a deprecated customisation function. --
8 #
9 # You have to update your configuration file by
10 # If using cmsDriver:
11 # 1) add the option "--era Run2_2017"
12 # If using a pre-made configuration file:
13 # 1) add "from Configuration.Eras.Era_Run2_2017_cff import Run2_2017" to the TOP of the config file (above
14 # the process declaration).
15 # 2) add "Run2_2017" as a parameter to the process object, e.g. "process = cms.Process('HLT',Run2_2017)"
16 #
17 # If you are targeting something else than 2017 and have to use a
18 # customize function from SLHC-times, you have to modify the customize
19 # function to take phase1Pixel customizations via era, and the rest via
20 # the customize function. If you are working on something that should
21 # get integrated to the releases, it is highly recommended to migrate
22 # the customize function to eras.
23 #
24 # There is more information at https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideCmsDriverEras
25 #
26 ########################################
27 """)
phase1TkCustoms.customise
def customise(process)
Definition: phase1TkCustoms.py:3
Exception