Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-12 01:51: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("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 #for the moment the part working in phase2 format is the slice test
0022 #process.dtTriggerPhase2PrimitiveDigis.p2_df = 0 //0 is phase1, 1 is slice test, 2 is phase2(carlo-federica)
0023 
0024 process.dtTriggerPhase2PrimitiveDigis.scenario = 1 #0 is mc, 1 is data, 2 is slice test
0025 
0026 
0027 process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring(
0028         #'file:/eos/user/c/carrillo/digis_segments_Run2016BSingleMuonRAW-RECO.root'
0029         'file:/tmp/carrillo/digis_segments_Run2016BSingleMuonRAW-RECO.root'
0030         )
0031                             )
0032 process.maxEvents = cms.untracked.PSet(
0033     input = cms.untracked.int32(-1)
0034 )
0035 
0036 process.out = cms.OutputModule("PoolOutputModule",
0037                                outputCommands = cms.untracked.vstring('keep *'),
0038                                fileName = cms.untracked.string('/tmp/carrillo/DTTriggerPhase2Primitives.root')
0039 )
0040 
0041 process.p = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0042 process.this_is_the_end = cms.EndPath(process.out)
0043 
0044 
0045 
0046 
0047 
0048