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.GeometryExtended2026D49Reco_cff')
0006 process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
0007 
0008 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 from Configuration.AlCa.GlobalTag import GlobalTag
0013 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
0014 
0015 process.load("L1Trigger.DTTriggerPhase2.CalibratedDigis_cfi")
0016 process.load("L1Trigger.DTTriggerPhase2.dtTriggerPhase2PrimitiveDigis_cfi")
0017 
0018 #scenario
0019 process.dtTriggerPhase2PrimitiveDigis.scenario = cms.int32(0) #0 is mc, 1 is data, 2 is slice test
0020 process.CalibratedDigis.dtDigiTag = "simMuonDTDigis"
0021 process.CalibratedDigis.scenario = 0
0022 
0023 # STD
0024 process.dtTriggerPhase2PrimitiveDigis.algo = 0 ## initial grouping
0025 process.dtTriggerPhase2PrimitiveDigis.df_extended = 0
0026 
0027 # COMPARISON WITH FW
0028 # process.dtTriggerPhase2PrimitiveDigis.useBX_correlation = True
0029 # process.dtTriggerPhase2PrimitiveDigis.dBX_correlate_TP = 1
0030 # process.dtTriggerPhase2PrimitiveDigis.allow_confirmation = False
0031 # process.dtTriggerPhase2PrimitiveDigis.max_primitives = 4
0032 
0033 
0034 
0035 
0036 process.source = cms.Source("PoolSource",
0037                             fileNames = cms.untracked.vstring(
0038                                 'file:////eos/cms/store/user/folguera/P2L1TUpgrade/Mu_FlatPt2to100-pythia8-gun_file.root',
0039                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/941C1EA3-141B-6841-AE07-8E5D3ED57461.root',
0040                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/A37FFE18-21EF-5648-AFC8-56BF9CA76B58.root',
0041                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/86F62E38-D278-2841-8BB4-B25FCD44BFF7.root',
0042                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/7CA99B54-AA55-5047-8FCB-8E85DA5B85CE.root',
0043                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/763C6CDF-FF14-A745-AB9E-2A56819BEC78.root',
0044                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/2E88F5EC-8039-4A4D-A48E-A29E2A8C41E7.root',
0045                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/FFB599F9-D497-6943-9287-58E740519498.root',
0046                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/51EFC25B-E0FB-9B4B-B85C-EE4C5CE9C378.root',
0047                                 # '/store/mc/PhaseIITDRSpring19DR/Mu_FlatPt2to100-pythia8-gun/GEN-SIM-DIGI-RAW/PU200_106X_upgrade2023_realistic_v3-v2/70000/F98EB821-7883-F34C-93AD-2CA3E790BC94.root',
0048 
0049 )
0050                         )
0051 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(100))
0052 
0053 process.out = cms.OutputModule("PoolOutputModule",
0054                                outputCommands = cms.untracked.vstring(
0055                                    'drop *',
0056                                    'keep *_CalibratedDigis_*_*',
0057                                    'keep L1Phase2MuDT??Container_dtTriggerPhase2PrimitiveDigis_*_*',
0058                                ),
0059                                fileName = cms.untracked.string('DTTriggerPhase2Primitives.root')
0060 )
0061 
0062 process.p = cms.Path(process.CalibratedDigis *
0063                      process.dtTriggerPhase2PrimitiveDigis
0064 )
0065 process.this_is_the_end = cms.EndPath(process.out)