Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:49

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 
0015 #Calibrate Digis
0016 #process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0017 #process.CalibratedDigis.flat_calib = 325 #turn to 0 to use the DB  , 325 for JM and Jorge benchmark
0018 
0019 #DTTriggerPhase2
0020 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0021 process.dtTriggerPhase2PrimitiveDigis.digiTag=("ogdtab7unpacker")
0022 
0023 #for the moment the part working in phase2 format is the slice test
0024 process.dtTriggerPhase2PrimitiveDigis.p2_df = True
0025 #for debugging
0026 #process.dtTriggerPhase2PrimitiveDigis.debug = True
0027 
0028 process.source = cms.Source("PoolSource",
0029                             fileNames = cms.untracked.vstring(#'file:/eos/user/c/carrillo/digis_segments_Run2016BSingleMuonRAW-RECO.root'
0030                                                               'file:/tmp/carrillo/unpacker_output.root'
0031                                                               )
0032                             )
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(-1)
0035 )
0036 
0037 process.out = cms.OutputModule("PoolOutputModule",
0038                                outputCommands = cms.untracked.vstring('keep *'),
0039                                fileName = cms.untracked.string('/tmp/carrillo/unpacked_and_emulator.root')
0040 )
0041 
0042 #process.p = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0043 process.p = cms.Path(process.dtTriggerPhase2PrimitiveDigis)
0044 process.this_is_the_end = cms.EndPath(process.out)
0045 
0046 
0047 
0048 
0049 
0050