Created
March 1, 2016 12:37
-
-
Save matz-e/16efcbbc49c0e98359e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import FWCore.ParameterSet.Config as cms | |
| process = cms.Process("HFCALIB") | |
| ## Import of standard configurations | |
| process.load('FWCore/MessageService/MessageLogger_cfi') | |
| process.MessageLogger.cerr.FwkReport.reportEvery = 100 | |
| process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff") | |
| from Configuration.AlCa.autoCond import autoCond | |
| process.GlobalTag.globaltag = autoCond['run2_mc'] | |
| process.load("Configuration.Geometry.GeometryExtended2016Reco_cff") | |
| from SLHCUpgradeSimulations.Configuration.HCalCustoms import customise_HcalPhase1 | |
| customise_HcalPhase1(process) | |
| process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) | |
| process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) ) | |
| process.source = cms.Source("PoolSource", | |
| fileNames = cms.untracked.vstring( | |
| '/store/relval/CMSSW_7_6_0/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/76X_mcRun2_asymptotic_v11-v1/00000/4431031E-9E7F-E511-9F42-0025905938A4.root', | |
| ) | |
| ) | |
| process.load('SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff') | |
| process.simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag( cms.InputTag('simHcalUnsuppressedDigis'), cms.InputTag('simHcalUnsuppressedDigis') ) | |
| # process.simHcalTriggerPrimitiveDigis.inputLabel = cms.VInputTag( cms.InputTag('simHcalDigis'), cms.InputTag('simHcalDigis') ) | |
| process.simHcalTriggerPrimitiveDigis.FrontEndFormatError = cms.bool(False) | |
| process.TFileService = cms.Service("TFileService", | |
| closeFileFast = cms.untracked.bool(True), | |
| fileName = cms.string('analyze.root')) | |
| process.analyze = cms.EDAnalyzer("AnalyzeTP", | |
| triggerPrimitives = cms.InputTag("simHcalTriggerPrimitiveDigis", "" , "HFCALIB")) | |
| process.analyzeOld = cms.EDAnalyzer("AnalyzeTP", | |
| triggerPrimitives = cms.InputTag("simHcalTriggerPrimitiveDigis", "" , "HLT")) | |
| process.compare = cms.EDAnalyzer("CompareTP", | |
| triggerPrimitives = cms.InputTag("simHcalTriggerPrimitiveDigis", "" , "HLT"), | |
| emulTriggerPrimitives = cms.InputTag("simHcalTriggerPrimitiveDigis", "" , "HFCALIB")) | |
| process.p = cms.Path(process.simHcalTriggerPrimitiveDigis * process.analyze * process.analyzeOld * process.compare) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment