import FWCore.ParameterSet.Config as cms import HiggsAnalysis.MiniAOD2TTree.tools.git as git #HiggsAnalysis.HeavyChHiggsToTauNu.tools.git as git from HiggsAnalysis.MiniAOD2TTree.tools.HChOptions import getOptionsDataVersion process = cms.Process("TTreeDump") #dataVersion = "80Xmc" dataVersion = "80Xdata" options, dataVersion = getOptionsDataVersion(dataVersion) print dataVersion process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) ) process.load("FWCore/MessageService/MessageLogger_cfi") process.MessageLogger.categories.append("TriggerBitCounter") process.MessageLogger.cerr.FwkReport.reportEvery = 10000 # print the event number for every 100th event process.MessageLogger.cerr.TriggerBitCounter = cms.untracked.PSet(limit = cms.untracked.int32(10)) # print max 100 warnings # Set the process options -- Display summary at the end, enable unscheduled execution process.options = cms.untracked.PSet( allowUnscheduled = cms.untracked.bool(True), wantSummary = cms.untracked.bool(False) ) process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( '/store/data/Run2016B/Tau/MINIAOD/PromptReco-v2/000/273/150/00000/64EFFDF2-D719-E611-A0C3-02163E01421D.root',
# For miniAOD instructions see: https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookMiniAOD2015 import FWCore.ParameterSet.Config as cms import HiggsAnalysis.MiniAOD2TTree.tools.git as git from HiggsAnalysis.MiniAOD2TTree.tools.HChOptions import getOptionsDataVersion process = cms.Process("TTreeDump") dataVersion = "80Xmc" #dataVersion = "80Xdata" options, dataVersion = getOptionsDataVersion(dataVersion) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.load("FWCore/MessageService/MessageLogger_cfi") process.MessageLogger.categories.append("TriggerBitCounter") process.MessageLogger.cerr.FwkReport.reportEvery = 10000 # print the event number for every 100th event process.MessageLogger.cerr.TriggerBitCounter = cms.untracked.PSet(limit = cms.untracked.int32(10)) # print max 100 warnings # Set the process options -- Display summary at the end, enable unscheduled execution process.options = cms.untracked.PSet( allowUnscheduled = cms.untracked.bool(True), wantSummary = cms.untracked.bool(False) ) process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( # '/store/data/Run2016H/Tau/MINIAOD/03Feb2017_ver2-v1/100000/00A17AC6-8AEB-E611-9A86-A0369F83627E.root',