Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-12 01:51:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("L1DTTrigPhase2Prod")
0004 
0005 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0006 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0007 process.DTGeometryESModule.applyAlignment = False
0008 
0009 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0012 #process.GlobalTag.globaltag = "90X_dataRun2_Express_v2"
0013 #process.GlobalTag.globaltag = "80X_dataRun2_2016SeptRepro_v7"
0014 process.GlobalTag.globaltag = "100X_upgrade2018_realistic_v10"
0015 
0016 #Calibrate Digis
0017 process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0018 #process.CalibratedDigis.flat_calib = 325 #turn to 0 to use the DB  , 325 for JM and Jorge benchmark
0019 process.CalibratedDigis.dtDigiTag = "simMuonDTDigis" #turn to 0 to use the DB  , 325 for JM and Jorge benchmark
0020 process.CalibratedDigis.scenario = 0 # 0 for mc, 1 for data, 2 for slice test
0021 
0022 #DTTriggerPhase2
0023 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0024 #for the moment the part working in phase2 format is the slice test
0025 #process.dtTriggerPhase2PrimitiveDigis.p2_df = True
0026 #process.dtTriggerPhase2PrimitiveDigis.filter_primos = True
0027 #for debugging
0028 #process.dtTriggerPhase2PrimitiveDigis.pinta = True
0029 #process.dtTriggerPhase2PrimitiveDigis.min_phinhits_match_segment = 4
0030 #process.dtTriggerPhase2PrimitiveDigis.debug = True
0031 process.dtTriggerPhase2PrimitiveDigis.scenario = 0
0032 process.dtTriggerPhase2PrimitiveDigis.dump = True
0033 
0034 process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring(
0035         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_1.root',
0036         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_2.root',
0037         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_3.root',
0038         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_4.root',
0039         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_5.root',
0040         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_6.root',
0041         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_7.root',
0042         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_8.root',
0043         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_9.root',
0044         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_10.root',
0045         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_11.root',
0046         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_12.root',
0047         'file:/eos/cms/store/group/dpg_dt/comm_dt/TriggerSimulation/SamplesReco/SingleMu_FlatPt-2to100/Version_10_5_0/SimRECO_13.root'
0048         )
0049                             )
0050 process.maxEvents = cms.untracked.PSet(
0051     input = cms.untracked.int32(2)
0052 )
0053 
0054 process.out = cms.OutputModule("PoolOutputModule",
0055                                outputCommands = cms.untracked.vstring('keep *'),
0056                                fileName = cms.untracked.string('DTTriggerPhase2Primitives_testsmc.root')
0057 )
0058 
0059 process.p = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0060 process.this_is_the_end = cms.EndPath(process.out)
0061 
0062 
0063 
0064 
0065 
0066