Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("HLTHiggsOfflineAnalysis")
0004 
0005 #process.load("DQMOffline.RecoB.dqmAnalyzer_cff")

0006 process.load("HLTriggerOffline.Higgs.HiggsValidation_cff")
0007 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0008 
0009 
0010 ##############################################################################

0011 ##### Templates to change parameters in hltMuonValidator #####################

0012 # process.hltMuonValidator.hltPathsToCheck = ["HLT_IsoMu3"]

0013 # process.hltMuonValidator.genMuonCut = "abs(mother.pdgId) == 24"

0014 # process.hltMuonValidator.recMuonCut = "isGlobalMuon && eta < 1.2"

0015 ##############################################################################

0016 
0017 hltProcessName = "HLT"
0018 process.hltHiggsValidator.hltProcessName = hltProcessName
0019 #process.hltHiggsValidator.HWW.hltPathsToCheck = cms.vstring(

0020 #       "HLT_Photon26",

0021         #       "HLT_Mu30_eta2p1_v",

0022         #       "HLT_IsoMu24_eta2p1_v",

0023         #"HLT_Ele27_WP80_v",

0024 #       )

0025 
0026 process.load("Configuration.StandardSequences.Reconstruction_cff")
0027 process.load("Configuration.StandardSequences.MagneticField_cff")
0028 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0029 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0030 from Configuration.AlCa.autoCond import autoCond
0031 process.GlobalTag.globaltag = cms.string(autoCond['startup'])
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(-1)
0035 )
0036 
0037 process.source = cms.Source("PoolSource",
0038     fileNames = cms.untracked.vstring(
0039         #'file:/afs/cern.ch/user/d/duarte/scratch0/step2_RAW2DIGI_RECO.root',

0040         'file:/afs/cern.ch/user/s/sdonato/AFSwork/public/TTbar-GEN-SIM-RECO-new.root'
0041         #'file:/afs/cern.ch/user/s/sdonato/AFSwork/public/forJasper/ZnnHbb_GEN_SIM_RECO_trigger.root'

0042     ),
0043     secondaryFileNames = cms.untracked.vstring(
0044         #'file:/afs/cern.ch/user/d/duarte/scratch0/H130GGgluonfusion_cfi_py_GEN_SIM_DIGI_L1_DIGI2RAW_HLT.root',

0045         #'file:/afs/cern.ch/work/j/jlauwers/hlt/CMSSW_7_2_0_pre1/src/GEN-SIM-RAW/0090828A-AC71-E311-A488-7845C4FC36D7.root'

0046     )
0047 )
0048 
0049 #process.ak4PFJetsJEC.src = cms.InputTag("ak5PFJets")

0050 #process.caloMet.alias = cms.string('met')

0051 #process.hltHiggsValidator.Htaunu.recCaloMETLabel = cms.string('met')

0052 
0053 process.DQMStore = cms.Service("DQMStore")
0054 
0055 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0056 process.MessageLogger.cerr.FwkReport.reportEvery = 2000
0057 
0058 process.MessageLogger.debugModules += ['*']#HLTHiggsValidator','HLTHiggsSubAnalysis','HLTHiggsPlotter']

0059 process.MessageLogger.files.HiggsValidationMessages = cms.untracked.PSet(
0060     threshold       = cms.untracked.string('DEBUG'),
0061     default         = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0062     HiggsValidation = cms.untracked.PSet(limit = cms.untracked.int32(1000))
0063 )
0064 
0065 process.out = cms.OutputModule("PoolOutputModule",
0066     outputCommands = cms.untracked.vstring(
0067         'drop *', 
0068         'keep *_MEtoEDMConverter_*_HLTHiggsOfflineAnalysis'),
0069     fileName = cms.untracked.string('hltHiggsValidator.root')
0070 )
0071 
0072 
0073 process.analyzerpath = cms.Path(
0074     process.hltHiggsValidator *
0075     process.MEtoEDMConverter
0076 )
0077 
0078 process.outpath = cms.EndPath(process.out)