CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Customs.py
Go to the documentation of this file.
1 #####################################
2 # a bunch of handy customisation functions
3 # main functions: prepareGenMixing and prepareDigiRecoMixing
4 # author: Lukas Vanelderen
5 # date: Jan 21 2015
6 #####################################
7 
8 import FWCore.ParameterSet.Config as cms
9 
10 def disableOOTPU(process):
11  process.mix.maxBunch = cms.int32(0)
12  process.mix.minBunch = cms.int32(0)
13  # set the bunch spacing
14  # bunch spacing matters for calorimeter calibration
15  # by convention bunchspace is set to 450 in case of no oot pu
16  process.mix.bunchspace = 450
17  return process
18 
19 # more to come
def disableOOTPU
Definition: Customs.py:10