test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customiseSettings.py
Go to the documentation of this file.
1 import os.path
2 import FWCore.ParameterSet.Config as cms
3 from Configuration.StandardSequences.Eras import eras
4 
6  process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v2_1_cfi")
7  return process
8 
10  process.load("L1Trigger.L1TCalorimeter.caloStage2Params_2016_v2_0_cfi")
11  return process
12 
13 
15  print "Loading configuration for calorimeter parameters in user defined file ./caloStage2Params_UserDefine_cfi.py"
16  if not (os.path.exists("./caloStage2Params_UserDefine_cfi.py")):
17  print "WARNING:"
18  print " Please create file ./caloStage2Params_UserDefine_cfi.py if you want to use the flag: "
19  print " --customise=L1Trigger/Configuration/customiseSettings.L1TSettingsToCaloParams_UserDefine"
20 
21  else:
22  process.load("./caloStage2Params_UserDefine_cfi")
23 
24  return process
25 
def L1TSettingsToCaloStage2Params_v2_1
def L1TSettingsToCaloStage2Params_UserDefine
def L1TSettingsToCaloStage2Params_v2_0