CMS 3D CMS Logo

customiseStoredTPConfig.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def tpInM3P1BXRange(process) :
4 
5  if hasattr(process,"mix"):
6 
7  process.mix.digitizers.mergedtruth.maximumPreviousBunchCrossing = 3
8  process.mix.digitizers.mergedtruth.maximumSubsequentBunchCrossing = 1
9 
10  return process
11 
12 
13 def signalOnlyTP(process) :
14 
15  if hasattr(process,"mix"):
16 
17  process.mix.digitizers.mergedtruth.select.signalOnlyTP = True
18 
19  return process
20 
21 
22 def inTimeOnlyTP(process) :
23 
24  if hasattr(process,"mix"):
25 
26  process.mix.digitizers.mergedtruth.select.intimeOnlyTP = True
27 
28  return process
29 
30 def higherPtTP(process) :
31 
32  if hasattr(process,"mix"):
33 
34  process.mix.digitizers.mergedtruth.select.ptMinTP = 1.
35 
36  return process
37 
38 
39 
40 
41 
42