Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-15 22:41:37

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("L1Trigger.DTTriggerPhase2.dtTriggerPhase2Showers_cfi")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0013 #process.GlobalTag.globaltag = "90X_dataRun2_Express_v2"
0014 process.GlobalTag.globaltag = "80X_dataRun2_2016SeptRepro_v7"
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 
0020 #DTTriggerPhase2
0021 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0022 process.dtTriggerPhase2PrimitiveDigis.digiTag=("ogdtab7unpacker")
0023 
0024 #DTTriggerPhase2Showers
0025 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2Showers_cfi")
0026 process.dtTriggerPhase2Shower.digiTag=("ogdtab7unpacker")
0027 
0028 #for the moment the part working in phase2 format is the slice test
0029 process.dtTriggerPhase2PrimitiveDigis.p2_df = True
0030 #for debugging
0031 #process.dtTriggerPhase2PrimitiveDigis.debug = True
0032 #process.dtTriggerPhase2Shower.debug = True
0033 
0034 process.source = cms.Source("PoolSource",
0035                             fileNames = cms.untracked.vstring(#'file:/eos/user/c/carrillo/digis_segments_Run2016BSingleMuonRAW-RECO.root'
0036                                                               'file:/tmp/carrillo/unpacker_output.root'
0037                                                               )
0038                             )
0039 process.maxEvents = cms.untracked.PSet(
0040     input = cms.untracked.int32(-1)
0041 )
0042 
0043 process.out = cms.OutputModule("PoolOutputModule",
0044                                outputCommands = cms.untracked.vstring('keep *'),
0045                                fileName = cms.untracked.string('/tmp/carrillo/unpacked_and_emulator.root')
0046 )
0047 
0048 #process.p = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0049 process.p = cms.Path(process.dtTriggerPhase2PrimitiveDigis)
0050 process.this_is_the_end = cms.EndPath(process.out)
0051 
0052 
0053 
0054 
0055 
0056