process.flashggDiPhotonSystematics + process.flashggDiPhotonMVA + process.sampleInfo + process.hltFilter + process.pho_sequence + process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence) else: process.p = cms.Path(process.flashggUpdatedIdMVADiPhotons + process.flashggDiPhotonSystematics + process.flashggDiPhotonMVA + #process.sampleInfo + process.hltFilter + process.pho_sequence + process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence) process.TFileService = cms.Service( "TFileService", #fileName = cms.string(myoptions['OUTPUT_FILE_NAME']), fileName=cms.string("TnP.root"), closeFileFast=cms.untracked.bool(True)) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=[ "$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json" ]) customize.setDefault("maxEvents", -1) customize.setDefault("targetLumi", 1) customize(process)
import FWCore.ParameterSet.Config as cms import FWCore.Utilities.FileUtils as FileUtils import FWCore.ParameterSet.VarParsing as VarParsing from flashgg.MetaData.samples_utils import SamplesManager process = cms.Process("zeeValidationDumper") process.load("HLTrigger.HLTfilters.hltHighLevel_cfi") process.hltFilter = process.hltHighLevel.clone() process.hltFilter.throw = cms.bool(False) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=["$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json"]) customize.setDefault("maxEvents",10000) customize.setDefault("targetLumi",2.6e+4) customize.parse() if ("data_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring("HLT_Ele27_WPTight_Gsf_v*") # process.hltFilter.HLTPaths = cms.vstring("HLT_Ele22_eta2p1_WPLoose_Gsf_v*") #elif ("data_double" in customize.processId): # process.hltFilter.HLTPaths = cms.vstring("HLT_Diphoton30_18_R9Id_OR_IsoCaloId_AND_HE_R9Id_DoublePixelSeedMatch_Mass70_v*") elif ("mc_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring("HLT_Ele27_WPTight_Gsf_v*") #elif ("mc_double" in customize.processId): # process.hltFilter.HLTPaths = cms.vstring("HLT_Diphoton30_18_R9Id_OR_IsoCaloId_AND_HE_R9Id_DoublePixelSeedMatch_Mass70_v*") # process.hltFilter.HLTPaths = cms.vstring("HLT_Ele27_WPTight_Gsf_v*")#for interactive running process.load('RecoMET.METFilters.eeBadScFilter_cfi') process.eeBadScFilter.EERecHitSource = cms.InputTag("reducedEgamma","reducedEERecHits") # Saved MicroAOD Collection (data only)
else: if (isMC): process.p = cms.Path(process.flashggDiPhotonMVA + process.hltFilter + process.pho_sequence + process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence) else: process.p = cms.Path(process.flashggDiPhotonMVA + process.hltFilter + process.pho_sequence + process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence) process.TFileService = cms.Service( "TFileService", #fileName = cms.string(myoptions['OUTPUT_FILE_NAME']), fileName=cms.string("TnP.root"), closeFileFast=cms.untracked.bool(True)) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=[ "$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json" ]) customize.setDefault("maxEvents", 1000) customize.setDefault("targetLumi", 1) customize(process) # get filters summary process.options = cms.untracked.PSet(wantSummary=cms.untracked.bool(True))
process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence ) else: process.p = cms.Path( process.flashggDiPhotonMVA + #process.sampleInfo + process.hltFilter + process.pho_sequence + process.allTagsAndProbes + process.pileupReweightingProducer + process.mc_sequence + process.tree_sequence ) process.TFileService = cms.Service("TFileService", #fileName = cms.string(myoptions['OUTPUT_FILE_NAME']), fileName = cms.string("TnP.root"), closeFileFast = cms.untracked.bool(True) ) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=["$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json"]) customize.setDefault("maxEvents", -1) customize.setDefault("targetLumi", 1) customize(process)
import FWCore.Utilities.FileUtils as FileUtils import FWCore.ParameterSet.VarParsing as VarParsing from flashgg.MetaData.samples_utils import SamplesManager process = cms.Process("zeeValidationDumper") process.load("HLTrigger.HLTfilters.hltHighLevel_cfi") process.hltFilter = process.hltHighLevel.clone() process.hltFilter.throw = cms.bool(False) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=[ "$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json" ]) customize.setDefault("maxEvents", -1) customize.setDefault("targetLumi", 1.0e+4) customize.parse() if ("data_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring( "HLT_Ele32_WPTight_Gsf_L1DoubleEG_v") elif ("mc_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring( "HLT_Ele32_WPTight_Gsf_L1DoubleEG_v*") process.load('RecoMET.METFilters.eeBadScFilter_cfi') process.eeBadScFilter.EERecHitSource = cms.InputTag( "reducedEgamma", "reducedEERecHits") # Saved MicroAOD Collection (data only) process.dataRequirements = cms.Sequence()
import FWCore.ParameterSet.Config as cms import FWCore.Utilities.FileUtils as FileUtils import FWCore.ParameterSet.VarParsing as VarParsing from flashgg.MetaData.samples_utils import SamplesManager process = cms.Process("zeeValidationDumper") process.load("HLTrigger.HLTfilters.hltHighLevel_cfi") process.hltFilter = process.hltHighLevel.clone() process.hltFilter.throw = cms.bool(False) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=["$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json"]) customize.setDefault("maxEvents",-1) customize.setDefault("targetLumi",1.0e+4) customize.parse() if ("data_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring("HLT_Ele32_WPTight_Gsf_L1DoubleEG_v") elif ("mc_single" in customize.processId): process.hltFilter.HLTPaths = cms.vstring("HLT_Ele32_WPTight_Gsf_L1DoubleEG_v*") process.load('RecoMET.METFilters.eeBadScFilter_cfi') process.eeBadScFilter.EERecHitSource = cms.InputTag("reducedEgamma","reducedEERecHits") # Saved MicroAOD Collection (data only) process.dataRequirements = cms.Sequence() process.dataRequirements += process.hltFilter process.load("FWCore.MessageService.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32( 10000 ) process.load("Configuration.StandardSequences.GeometryDB_cff")
import FWCore.ParameterSet.Config as cms import FWCore.Utilities.FileUtils as FileUtils import FWCore.ParameterSet.VarParsing as VarParsing from flashgg.MetaData.samples_utils import SamplesManager process = cms.Process("mytest") process.load("HLTrigger.HLTfilters.hltHighLevel_cfi") process.hltFilter = process.hltHighLevel.clone() process.hltFilter.throw = cms.bool(True) from flashgg.MetaData.JobConfig import JobConfig customize = JobConfig(crossSections=["$CMSSW_BASE/src/flashgg/MetaData/data/cross_sections.json"]) customize.setDefault("maxEvents",15000) customize.setDefault("targetLumi",2.6e+4) customize.parse() if ("data" in customize.processId): process.hltFilter.HLTPaths = cms.vstring("HLT_Diphoton30_18_R9Id_OR_IsoCaloId_AND_HE_R9Id_Mass95_v*", "HLT_Diphoton30PV_18PV_R9Id_AND_IsoCaloId_AND_HE_R9Id_DoublePixelVeto_Mass55_v*", "HLT_Diphoton30EB_18EB_R9Id_OR_IsoCaloId_AND_HE_R9Id_DoublePixelVeto_Mass55_v*") else : process.hltFilter.HLTPaths = cms.vstring("*") process.load('RecoMET.METFilters.eeBadScFilter_cfi') process.eeBadScFilter.EERecHitSource = cms.InputTag("reducedEgamma","reducedEERecHits") # Saved MicroAOD Collection (data only) process.dataRequirements = cms.Sequence() process.dataRequirements += process.hltHighLevel process.load("FWCore.MessageService.MessageLogger_cfi")