Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FastSimulation
Configuration
python
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
Config
Customs.disableOOTPU
def disableOOTPU
Definition:
Customs.py:10
Generated for CMSSW Reference Manual by
1.8.5