File indexing completed on 2024-11-06 06:06:45
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("L1DTTrigPhase2Prod")
0004
0005 process.load('Configuration.Geometry.GeometryExtendedRun4D49Reco_cff')
0006 process.load('Configuration.Geometry.GeometryExtendedRun4D49_cff')
0007
0008 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010
0011 process.load("Configuration.StandardSequences.MagneticField_cff")
0012
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0015
0016
0017
0018
0019 process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0020 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0021
0022 process.dtTriggerPhase2PrimitiveDigis.dump = True
0023 process.dtTriggerPhase2PrimitiveDigis.debug = True
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037 process.dtTriggerPhase2PrimitiveDigis.scenario = 0
0038 process.CalibratedDigis.dtDigiTag = "simMuonDTDigis"
0039 process.CalibratedDigis.scenario = 0
0040
0041
0042 process.dtTriggerPhase2BayesPrimitiveDigis = process.dtTriggerPhase2PrimitiveDigis.clone()
0043 process.dtTriggerPhase2BayesPrimitiveDigis.algo = 1
0044
0045 process.dtTriggerPhase2BayesPrimitiveDigis.minHits4Fit = 3
0046 process.dtTriggerPhase2BayesPrimitiveDigis.df_extended = 2
0047 process.dtTriggerPhase2BayesPrimitiveDigis.PseudoBayesPattern.minNLayerHits = 3
0048 process.dtTriggerPhase2BayesPrimitiveDigis.PseudoBayesPattern.minSingleSLHitsMax = 3
0049 process.dtTriggerPhase2BayesPrimitiveDigis.PseudoBayesPattern.minSingleSLHitsMin = 0
0050 process.dtTriggerPhase2BayesPrimitiveDigis.PseudoBayesPattern.allowedVariance = 1
0051
0052
0053
0054
0055 process.dtTriggerPhase2StdPrimitiveDigis = process.dtTriggerPhase2PrimitiveDigis.clone()
0056 process.dtTriggerPhase2StdPrimitiveDigis.algo = 0
0057 process.dtTriggerPhase2StdPrimitiveDigis.df_extended = 2
0058
0059 process.source = cms.Source("PoolSource",
0060 fileNames = cms.untracked.vstring(
0061 'file:////eos/cms/store/user/folguera/P2L1TUpgrade/Mu_FlatPt2to100-pythia8-gun_file.root',
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072 )
0073 )
0074 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0075
0076
0077
0078
0079
0080
0081 process.out = cms.OutputModule("PoolOutputModule",
0082 outputCommands = cms.untracked.vstring(
0083 'drop *',
0084 'keep *_CalibratedDigis_*_*',
0085 'keep *_dtTriggerPhase2BayesPrimitiveDigis_*_*',
0086 'keep *_dtTriggerPhase2StdPrimitiveDigis_*_*',
0087 'keep *_genParticles_*_*',
0088 ),
0089 fileName = cms.untracked.string('DTTriggerPhase2Primitives.root')
0090 )
0091
0092 process.p = cms.Path(process.CalibratedDigis *
0093 process.dtTriggerPhase2BayesPrimitiveDigis *
0094 process.dtTriggerPhase2StdPrimitiveDigis
0095 )
0096 process.this_is_the_end = cms.EndPath(process.out)