Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-07 22:33:41

0001 # ----------------------------------------------------------------------------------
0002 # define basic process
0003 # ----------------------------------------------------------------------------------
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 import FWCore.Utilities.FileUtils as FileUtils
0007 process = cms.Process("L1HybridTrack")
0008 
0009 # ----------------------------------------------------------------------------------
0010 # import standard configurations
0011 # ----------------------------------------------------------------------------------
0012 
0013 process.load('Configuration.StandardSequences.Services_cff')
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.load('Configuration.EventContent.EventContent_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_cff')
0017 
0018 process.load('Configuration.Geometry.GeometryExtended2026D76Reco_cff') 
0019 process.load('Configuration.Geometry.GeometryExtended2026D76_cff')
0020 
0021 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 from Configuration.AlCa.GlobalTag import GlobalTag
0025 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')
0026 
0027 process.load('L1Trigger.TrackTrigger.TrackTrigger_cff')
0028 
0029 # ----------------------------------------------------------------------------------
0030 # input
0031 # ----------------------------------------------------------------------------------
0032 
0033 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0034 Source_Files = cms.untracked.vstring(
0035     "/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/00026541-6200-4eed-b6f8-d3a1fd720e9c.root"
0036 )
0037 process.source = cms.Source("PoolSource", fileNames = Source_Files)
0038 
0039 # ----------------------------------------------------------------------------------
0040 # DTC emulation
0041 # ----------------------------------------------------------------------------------
0042 
0043 process.load( 'L1Trigger.TrackerDTC.ProducerED_cff' )
0044 process.load( 'L1Trigger.TrackerDTC.ProducerES_cff' )
0045 process.dtc = cms.Path( process.TrackerDTCProducer )
0046 
0047 # ----------------------------------------------------------------------------------
0048 # L1 tracking
0049 # ----------------------------------------------------------------------------------
0050 
0051 process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
0052 
0053 # prompt tracking only
0054 process.TTTracksEmulation = cms.Path(process.L1HybridTracks)
0055 process.TTTracksEmulationWithTruth = cms.Path(process.L1HybridTracksWithAssociators)
0056 
0057 # extended tracking only
0058 #process.TTTracksEmulation = cms.Path(process.L1ExtendedHybridTracks)
0059 #process.TTTracksEmulationWithTruth = cms.Path(process.L1ExtendedHybridTracksWithAssociators)
0060 
0061 # both prompt+extended hybrid tracking
0062 #process.TTTracksEmulation = cms.Path(process.L1PromptExtendedHybridTracks)
0063 #process.TTTracksEmulationWithTruth = cms.Path(process.L1PromptExtendedHybridTracksWithAssociators)
0064 
0065 # ----------------------------------------------------------------------------------
0066 # output module
0067 # ----------------------------------------------------------------------------------
0068 
0069 process.out = cms.OutputModule( "PoolOutputModule",
0070                                 fileName = cms.untracked.string("L1Tracks.root"),
0071                                 fastCloning = cms.untracked.bool( False ),
0072                                 outputCommands = cms.untracked.vstring('drop *',
0073                                                                        'keep *_TTTrack*_Level1TTTracks_*', 
0074 )
0075 )
0076 process.FEVToutput_step = cms.EndPath(process.out)
0077 
0078 # ----------------------------------------------------------------------------------
0079 # schedule
0080 # ----------------------------------------------------------------------------------
0081 
0082 process.schedule = cms.Schedule(process.dtc,process.TTTracksEmulationWithTruth,process.FEVToutput_step)