Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-18 08:23:40

0001 import FWCore.ParameterSet.Config as cms 
0002 
0003 from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
0004 process = cms.Process('DIGI',Phase2C9)
0005 
0006 # import of standard configurations
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0012 process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
0013 process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
0014 process.load('Configuration.StandardSequences.MagneticField_cff')
0015 process.load('Configuration.StandardSequences.Generator_cff')
0016 process.load('IOMC.EventVertexGenerators.VtxSmearedHLLHC14TeV_cfi')
0017 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0018 process.load('Configuration.StandardSequences.SimIdeal_cff')
0019 process.load('Configuration.StandardSequences.Digi_cff')
0020 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0021 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0022 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0023 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0024 
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(50)
0028 )
0029 
0030 # Input source
0031 process.source = cms.Source("PoolSource",
0032        fileNames = cms.untracked.vstring('/store/mc/Phase2HLTTDRWinter20DIGI/SingleElectron_PT2to200/GEN-SIM-DIGI-RAW/PU200_110X_mcRun4_realistic_v3_ext2-v2/40000/00582F93-5A2A-5847-8162-D81EE503500F.root'),
0033        inputCommands=cms.untracked.vstring(
0034            'keep *',
0035            'drop l1tEMTFHit2016Extras_simEmtfDigis_CSC_HLT',
0036            'drop l1tEMTFHit2016Extras_simEmtfDigis_RPC_HLT',
0037            'drop l1tEMTFHit2016s_simEmtfDigis__HLT',
0038            'drop l1tEMTFTrack2016Extras_simEmtfDigis__HLT',
0039            'drop l1tEMTFTrack2016s_simEmtfDigis__HLT',
0040            'drop FTLClusteredmNewDetSetVector_mtdClusters_FTLBarrel_RECO',
0041            'drop FTLClusteredmNewDetSetVector_mtdClusters_FTLEndcap_RECO',
0042            'drop MTDTrackingRecHitedmNewDetSetVector_mtdTrackingRecHits__RECO',
0043            'drop BTLDetIdBTLSampleFTLDataFrameTsSorted_mix_FTLBarrel_HLT',
0044            'drop ETLDetIdETLSampleFTLDataFrameTsSorted_mix_FTLEndcap_HLT',
0045            )
0046        )
0047 
0048 process.options = cms.untracked.PSet(
0049 
0050 )
0051 
0052 # Production Info
0053 process.configurationMetadata = cms.untracked.PSet(
0054     version = cms.untracked.string('$Revision: 1.20 $'),
0055     annotation = cms.untracked.string('SingleElectronPt10_cfi nevts:10'),
0056     name = cms.untracked.string('Applications')
0057 )
0058 
0059 # Output definition
0060 process.TFileService = cms.Service(
0061     "TFileService",
0062     fileName = cms.string("ntuple.root")
0063     )
0064 
0065 # Other statements
0066 from Configuration.AlCa.GlobalTag import GlobalTag
0067 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
0068 
0069 # load HGCAL TPG simulation
0070 process.load('L1Trigger.L1THGCal.hgcalTriggerPrimitives_cff')
0071 
0072 # Use new processors and standalone algorithms
0073 from L1Trigger.L1THGCal.customNewProcessors import custom_clustering_standalone, custom_tower_standalone
0074 process = custom_clustering_standalone(process)
0075 process = custom_tower_standalone(process)
0076 
0077 process.hgcl1tpg_step = cms.Path(process.hgcalTriggerPrimitives)
0078 
0079 
0080 # load ntuplizer
0081 process.load('L1Trigger.L1THGCalUtilities.hgcalTriggerNtuples_cff')
0082 from L1Trigger.L1THGCalUtilities.customNtuples import custom_ntuples_standalone_clustering, custom_ntuples_standalone_tower
0083 process = custom_ntuples_standalone_clustering(process)
0084 process = custom_ntuples_standalone_tower(process)
0085 process.ntuple_step = cms.Path(process.hgcalTriggerNtuples)
0086 
0087 # Schedule definition
0088 process.schedule = cms.Schedule(process.hgcl1tpg_step, process.ntuple_step)
0089 
0090 # Add early deletion of temporary data products to reduce peak memory need
0091 from Configuration.StandardSequences.earlyDeleteSettings_cff import customiseEarlyDelete
0092 process = customiseEarlyDelete(process)
0093 # End adding early deletion
0094