Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-18 00:40:09

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: step2 --conditions auto:run2_mc_25ns14e33_v4 -s DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@relval25ns --datatier GEN-SIM-DIGI-RAW-HLTDEBUG -n 10 --era Run2_25ns --eventcontent FEVTDEBUGHLT --filein filelist:step1_dasquery.log --fileout file:step2.root
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 
0009 #from Configuration.Eras.Era_Run2_25ns_cff import Run2_25ns
0010 #process = cms.Process('HLT',Run2_25ns)
0011 from Configuration.Eras.Era_Run2_2016_cff import Run2_2016
0012 process = cms.Process('HLT',Run2_2016)
0013 
0014 # import of standard configurations
0015 process.load('Configuration.StandardSequences.Services_cff')
0016 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0017 process.load('FWCore.MessageService.MessageLogger_cfi')
0018 process.MessageLogger = cms.Service("MessageLogger",
0019             destinations = cms.untracked.vstring( 'detailedInfo', 'critical'),
0020             detailedInfo = cms.untracked.PSet( threshold = cms.untracked.string('DEBUG')),
0021             debugModules = cms.untracked.vstring( 'hltL1T' )
0022 )
0023 #process.MessageLogger.cerr.FwkReport.reportEvery = 10 # only report every 10th event start
0024 #process.MessageLogger.cerr_stats.threshold = 'INFO' # also info in statistics
0025 process.load('Configuration.EventContent.EventContent_cff')
0026 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0027 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0028 process.load('Configuration.StandardSequences.MagneticField_cff')
0029 process.load('Configuration.StandardSequences.Digi_cff')
0030 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0031 process.load('Configuration.StandardSequences.DigiToRaw_cff')
0032 #process.load('HLT_25ns14e33_v4_hacked_cff')
0033 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0034 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(10)
0038 )
0039 
0040 # Input source
0041 process.source = cms.Source("PoolSource",
0042     dropDescendantsOfDroppedBranches = cms.untracked.bool(False),
0043     fileNames = cms.untracked.vstring('/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/0A812333-427C-E511-A80A-0025905964A2.root', 
0044 #        '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/1E9D9F9B-467C-E511-85B6-0025905A6090.root'), 
0045         '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/AA4FBC07-3E7C-E511-B9FC-00261894386C.root'), 
0046 #        '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/E2072991-3E7C-E511-803D-002618943947.root', 
0047 #        '/store/relval/CMSSW_7_6_0_pre7/RelValTTbar_13/GEN-SIM/76X_mcRun2_asymptotic_v9_realBS-v1/00000/FAE20D9D-467C-E511-AF39-0025905B85D8.root'),
0048     inputCommands = cms.untracked.vstring('keep *', 
0049         'drop *_genParticles_*_*', 
0050         'drop *_genParticlesForJets_*_*', 
0051         'drop *_kt4GenJets_*_*', 
0052         'drop *_kt6GenJets_*_*', 
0053         'drop *_iterativeCone5GenJets_*_*', 
0054         'drop *_ak4GenJets_*_*', 
0055         'drop *_ak7GenJets_*_*', 
0056         'drop *_ak8GenJets_*_*', 
0057         'drop *_ak4GenJetsNoNu_*_*', 
0058         'drop *_ak8GenJetsNoNu_*_*', 
0059         'drop *_genCandidatesForMET_*_*', 
0060         'drop *_genParticlesForMETAllVisible_*_*', 
0061         'drop *_genMetCalo_*_*', 
0062         'drop *_genMetCaloAndNonPrompt_*_*', 
0063         'drop *_genMetTrue_*_*', 
0064         'drop *_genMetIC5GenJs_*_*'),
0065     secondaryFileNames = cms.untracked.vstring()
0066 )
0067 
0068 process.options = cms.untracked.PSet(
0069 
0070 )
0071 
0072 # Production Info
0073 process.configurationMetadata = cms.untracked.PSet(
0074     annotation = cms.untracked.string('step2 nevts:10'),
0075     name = cms.untracked.string('Applications'),
0076     version = cms.untracked.string('$Revision: 1.19 $')
0077 )
0078 
0079 # additional tests:
0080 process.dumpED = cms.EDAnalyzer("EventContentAnalyzer")
0081 process.dumpES = cms.EDAnalyzer("PrintEventSetupContent")
0082 
0083 # Output definition
0084 
0085 process.FEVTDEBUGHLToutput = cms.OutputModule("PoolOutputModule",
0086     dataset = cms.untracked.PSet(
0087         dataTier = cms.untracked.string('GEN-SIM-DIGI-RAW-HLTDEBUG'),
0088         filterName = cms.untracked.string('')
0089     ),
0090     eventAutoFlushCompressedSize = cms.untracked.int32(1048576),
0091     fileName = cms.untracked.string('file:step2.root'),
0092     outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0093     splitLevel = cms.untracked.int32(0)
0094 )
0095 
0096 # Additional output definition
0097 
0098 # HLT minimal testing:
0099 
0100 process.hltL1T = cms.EDFilter( "HLTL1TSeed",
0101     L1SeedsLogicalExpression = cms.string( "L1_SingleJet36 AND L1_SingleEG10" ),
0102     saveTags = cms.bool( True ),
0103     L1GtObjectMapTag = cms.InputTag( "simGtStage2Digis" ),
0104 #    L1UseL1TriggerObjectMaps = cms.bool( True ),
0105 #    L1UseAliasesForSeeding = cms.bool( True ),
0106 #    L1GtReadoutRecordTag = cms.InputTag( "simGtStage2Digis" ),
0107 #    L1NrBxInEvent = cms.int32( 3 ),
0108 #    L1TechTriggerSeeding = cms.bool( False )
0109 )
0110 
0111 process.HLTTesting  = cms.Sequence( process.hltL1T )
0112 
0113 
0114 # Other statements
0115 process.mix.digitizers = cms.PSet(process.theDigitizersValid)
0116 from Configuration.AlCa.GlobalTag import GlobalTag
0117 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc_25ns14e33_v4', '')
0118 
0119 # Path and EndPath definitions
0120 process.digitisation_step = cms.Path(process.pdigi_valid)
0121 process.L1simulation_step = cms.Path(process.SimL1Emulator)
0122 process.digi2raw_step = cms.Path(process.DigiToRaw)
0123 process.debug_step = cms.Path(process.HLTTesting)
0124 process.dump_step = cms.Path(process.dumpED)
0125 process.endjob_step = cms.EndPath(process.endOfProcess)
0126 #process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)
0127 
0128 
0129 
0130 
0131 
0132 
0133 
0134 # Schedule definition
0135 process.schedule = cms.Schedule(process.digitisation_step,process.L1simulation_step,process.digi2raw_step,process.debug_step)
0136 #process.schedule.extend([process.endjob_step,process.FEVTDEBUGHLToutput_step])
0137 process.schedule.extend([process.endjob_step])
0138 
0139 # customisation of the process.
0140 
0141 # Automatic addition of the customisation function from HLTrigger.Configuration.customizeHLTforMC
0142 #from HLTrigger.Configuration.customizeHLTforMC import customizeHLTforFullSim 
0143 
0144 #call to customisation function customizeHLTforFullSim imported from HLTrigger.Configuration.customizeHLTforMC
0145 #process = customizeHLTforFullSim(process)
0146 
0147 # End of customisation functions
0148