Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def tpInM3P1BXRange(process) :
0004 
0005     if hasattr(process,"mix"):
0006         
0007         process.mix.digitizers.mergedtruth.maximumPreviousBunchCrossing   = 3
0008         process.mix.digitizers.mergedtruth.maximumSubsequentBunchCrossing = 1
0009 
0010     return process
0011 
0012 
0013 def signalOnlyTP(process) :
0014 
0015     if hasattr(process,"mix"):
0016         
0017         process.mix.digitizers.mergedtruth.select.signalOnlyTP = True
0018 
0019     return process
0020 
0021 
0022 def inTimeOnlyTP(process) :
0023 
0024     if hasattr(process,"mix"):
0025         
0026         process.mix.digitizers.mergedtruth.select.intimeOnlyTP = True
0027 
0028     return process
0029 
0030 def higherPtTP(process) :
0031 
0032     if hasattr(process,"mix"):
0033         
0034         process.mix.digitizers.mergedtruth.select.ptMinTP = 1.
0035 
0036     return process
0037 
0038 
0039     
0040     
0041         
0042