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('Configuration.Geometry.GeometryExtended2026D41Reco_cff')
0006 process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
0007 
0008 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0011 process.GlobalTag.globaltag = "80X_dataRun2_2016SeptRepro_v7"
0012 
0013 process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0014 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0015 
0016 #process.source = cms.Source("PoolSource",fileNames = cms.untracked.vstring('file:/eos/cms/store/user/folguera/P2L1TUpgrade/digis_segments_Run2016BSingleMuonRAW-RECO_camilo.root'))
0017 process.source = cms.Source("PoolSource",
0018                             fileNames = cms.untracked.vstring('file:/eos/cms/store/user/folguera/P2L1TUpgrade/digis_segments_Run2016BSingleMuonRAW-RECO_camilo.root'))
0019 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0020 process.dtTriggerPhase2PrimitiveDigis.dump = True
0021 process.dtTriggerPhase2PrimitiveDigis.debug = False
0022 process.dtTriggerPhase2PrimitiveDigis.chi2Th = cms.double(0.16)
0023 
0024 #scenario
0025 process.dtTriggerPhase2PrimitiveDigis.scenario = 1
0026 process.CalibratedDigis.scenario = 1
0027 
0028 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0029 process.MessageLogger = cms.Service("MessageLogger",
0030         destinations = cms.untracked.vstring("detailedInfo"),
0031         detailedInfo = cms.untracked.PSet(threshold = cms.untracked.string("INFO"),
0032         categories = cms.untracked.vstring("DTTrigPhase2Prod"),
0033         extension = cms.untracked.string(".txt")),
0034         debugModules = cms.untracked.vstring("dtTriggerPhase2PrimitiveDigis"),
0035 )
0036 
0037 ####################### SliceTest specials ##############################
0038 #Chi2 -> Changing a lot lately
0039 process.dtTriggerPhase2PrimitiveDigis.chi2Th = cms.double(0.16)
0040 
0041 #LSB -> Position 0.025 cm instead of 0.004 cm
0042 process.dtTriggerPhase2PrimitiveDigis.use_LSB = True
0043 process.dtTriggerPhase2PrimitiveDigis.x_precision = cms.double(1./(10.*16.))
0044 #process.dtTriggerPhase2PrimitiveDigis.x_precision = cms.double(0.025)
0045 process.dtTriggerPhase2PrimitiveDigis.tanPsi_precision = cms.double(1./4096.)
0046 
0047 #Correlate with BX
0048 process.dtTriggerPhase2PrimitiveDigis.useBX_correlation = True
0049 process.dtTriggerPhase2PrimitiveDigis.dBX_correlate_TP = 1
0050 
0051 #Correlate with tanPsi
0052 #process.dtTriggerPhase2PrimitiveDigis.dTanPsi_correlate_TP = cms.double(9999./4096.)
0053 #process.dtTriggerPhase2PrimitiveDigis.dTanPsi_correlate_TP = cms.double(900./4096.)
0054 
0055 #Confirmation forbidden
0056 process.dtTriggerPhase2PrimitiveDigis.allow_confirmation = True
0057 
0058 #TanPsi stuff
0059 process.dtTriggerPhase2PrimitiveDigis.tanPhiTh = cms.double(1.)
0060 
0061 
0062 process.out = cms.OutputModule("PoolOutputModule",
0063                                outputCommands = cms.untracked.vstring('keep *'),
0064                                fileName = cms.untracked.string('DTTriggerPhase2Primitives.root')
0065 )
0066 
0067 process.p = cms.Path(process.CalibratedDigis*process.dtTriggerPhase2PrimitiveDigis)
0068 process.this_is_the_end = cms.EndPath(process.out)
0069 
0070 
0071 
0072 
0073 
0074