Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-27 23:06:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.Eras import eras
0004 
0005 process = cms.Process('REPR',eras.Phase2C9)
0006 
0007 # import of standard configurations
0008 process.load('Configuration.StandardSequences.Services_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.load('Configuration.EventContent.EventContent_cff')
0012 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0013 process.load('Configuration.Geometry.GeometryExtended2026D41Reco_cff')
0014 process.load('Configuration.Geometry.GeometryExtended2026D41_cff')
0015 process.load('Configuration.StandardSequences.MagneticField_cff')
0016 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0017 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0018 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0019 
0020 process.MessageLogger.categories = cms.untracked.vstring('L1CaloJets', 'FwkReport')
0021 process.MessageLogger.cerr.FwkReport = cms.untracked.PSet(
0022     reportEvery = cms.untracked.int32(1)
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
0026 #process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0027 
0028 process.source = cms.Source("PoolSource",
0029     # dasgoclient --query="dataset dataset=/VBFHToTauTau*/Phase2HLTTDR*/FEVT"
0030     #fileNames = cms.untracked.vstring('root://cms-xrd-global.cern.ch//store/mc/PhaseIIMTDTDRAutumn18DR/VBFHToTauTau_M125_14TeV_powheg_pythia8/FEVT/PU200_103X_upgrade2023_realistic_v2-v1/280000/EFC8271A-8026-6A43-AF18-4CB7609B3348.root'),
0031     fileNames = cms.untracked.vstring('root://cms-xrd-global.cern.ch//store/mc/Phase2HLTTDRSummer20ReRECOMiniAOD/VBFHToTauTau_M125_14TeV_powheg_pythia8_correctedGridpack_tuneCP5/FEVT/PU200_111X_mcRun4_realistic_T15_v1-v1/120000/084C8B72-BC64-DE46-801F-D971D5A34F62.root'),
0032     inputCommands = cms.untracked.vstring(
0033                           "keep *",
0034                           "drop l1tEMTFHitExtras_simEmtfDigis_CSC_HLT",
0035                           "drop l1tEMTFHitExtras_simEmtfDigis_RPC_HLT",
0036                           "drop l1tEMTFTrackExtras_simEmtfDigis__HLT",
0037                           "drop l1tEMTFHit2016Extras_simEmtfDigis_CSC_HLT",
0038                           "drop l1tEMTFHit2016Extras_simEmtfDigis_RPC_HLT",
0039                           "drop l1tEMTFHit2016s_simEmtfDigis__HLT",
0040                           "drop l1tEMTFTrack2016Extras_simEmtfDigis__HLT",
0041                           "drop l1tEMTFTrack2016s_simEmtfDigis__HLT",
0042     )
0043 )
0044 
0045 # All this stuff just runs the various EG algorithms that we are studying
0046                                  
0047 # ---- Global Tag :
0048 from Configuration.AlCa.GlobalTag import GlobalTag
0049 #process.GlobalTag = GlobalTag(process.GlobalTag, '103X_upgrade2023_realistic_v2', '')
0050 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '') 
0051 
0052 # Add HCAL Transcoder
0053 process.load('SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff')
0054 process.load('CalibCalorimetry.CaloTPG.CaloTPGTranscoder_cfi')
0055 
0056 
0057 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0058 
0059 
0060 
0061 ### Based on: L1Trigger/L1TCommon/test/reprocess_test_10_4_0_mtd5.py
0062 ### This code is a portion of what is imported and excludes the 'schedule' portion
0063 ### of the two lines below.  It makes the test script run!
0064 ### from L1Trigger.Configuration.customiseUtils import L1TrackTriggerTracklet
0065 ### process = L1TrackTriggerTracklet(process)
0066 process.load('L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff')
0067 process.L1TrackTriggerTracklet_step = cms.Path(process.L1HybridTracksWithAssociators)
0068 
0069 
0070 
0071 
0072 # --------------------------------------------------------------------------------------------
0073 #
0074 # ----    Load the L1CaloJet sequence designed to accompany process named "REPR"
0075 
0076 process.load('L1Trigger.L1CaloTrigger.L1CaloJets_cff')
0077 process.l1CaloJets = cms.Path(process.l1CaloJetsSequence)
0078 
0079 
0080 
0081 process.Out = cms.OutputModule( "PoolOutputModule",
0082      fileName = cms.untracked.string( "l1caloJetTest.root" ),
0083      fastCloning = cms.untracked.bool( False ),
0084      outputCommands = cms.untracked.vstring(
0085                           "keep *_L1EGammaClusterEmuProducer_*_*",
0086                           "keep *_L1CaloJetProducer_*_*",
0087                           "keep *_L1CaloJetHTTProducer_*_*",
0088                           "keep *_TriggerResults_*_*",
0089                           "keep *_simHcalTriggerPrimitiveDigis_*_*",
0090                           "keep *_EcalEBTrigPrimProducer_*_*",
0091                           "keep *_hgcalTowerProducer_*_*"
0092                           )
0093 )
0094 
0095 process.end = cms.EndPath( process.Out )
0096 
0097 
0098 
0099 #dump_file = open("dump_file.py", "w")
0100 #dump_file.write(process.dumpPython())
0101 
0102