From a88d37930d045b324035992d4926a294af0a0f61 Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 13 May 2015 10:31:53 +0200 Subject: [PATCH 01/15] Add hotline skim configs --- Calibration/Hotline/BuildFile.xml | 38 +++ .../Hotline/python/hotlineSkims_Output_cff.py | 25 ++ .../Hotline/python/hotlineSkims_cff.py | 239 ++++++++++++++++++ .../Hotline/test/hotlineSkims_test_cfg.py | 38 +++ 4 files changed, 340 insertions(+) create mode 100644 Calibration/Hotline/BuildFile.xml create mode 100644 Calibration/Hotline/python/hotlineSkims_Output_cff.py create mode 100644 Calibration/Hotline/python/hotlineSkims_cff.py create mode 100644 Calibration/Hotline/test/hotlineSkims_test_cfg.py diff --git a/Calibration/Hotline/BuildFile.xml b/Calibration/Hotline/BuildFile.xml new file mode 100644 index 0000000000000..24dedb6428bc6 --- /dev/null +++ b/Calibration/Hotline/BuildFile.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py new file mode 100644 index 0000000000000..74a86c9e9dc32 --- /dev/null +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -0,0 +1,25 @@ +import FWCore.ParameterSet.Config as cms + +OutALCARECOHotline = cms.PSet( + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring( + "hotlineSkimSingleMuon", + "hotlineSkimDoubleMuon", + "hotlineSkimTripleMuon", + "hotlineSkimSingleElectron", + "hotlineSkimDoubleElectron", + "hotlineSkimTripleElectron", + "hotlineSkimSinglePhoton", + "hotlineSkimDoublePhoton", + "hotlineSkimTriplePhoton", + "hotlineSkimSingleJet", + "hotlineSkimDoubleJet", + "hotlineSkimMultiJet", + "hotlineSkimHT", + "hotlineSkimMassiveDimuon", + "hotlineSkimMassiveDielectron", + "hotlineSkimMassiveEMu" + ), + ), + outputCommands = cms.untracked.vstring('keep *') +) diff --git a/Calibration/Hotline/python/hotlineSkims_cff.py b/Calibration/Hotline/python/hotlineSkims_cff.py new file mode 100644 index 0000000000000..e095fe31441e3 --- /dev/null +++ b/Calibration/Hotline/python/hotlineSkims_cff.py @@ -0,0 +1,239 @@ +import FWCore.ParameterSet.Config as cms + +singleMuonCut = 500 +doubleMuonCut = 300 +tripleMuonCut = 100 +singleElectronCut = 500 +doubleElectronCut = 300 +tripleElectronCut = 100 +singlePhotonCut = 800 +doublePhotonCut = 400 +triplePhotonCut = 200 +singleJetCut = 1500 +doubleJetCut = 500 +multiJetCut = 100 +multiJetNJets = 8 +htCut = 4000 +dimuonMassCut = 500 +dielectronMassCut = 500 +diEMuMassCut = 500 + +#one muon +singleMuonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("muons"), + cut = cms.string( "pt() > "+str(singleMuonCut) ) +) +singleMuonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("singleMuonSelector"), + minNumber = cms.uint32(1) +) +hotlineSkimSingleMuon = cms.Path(singleMuonSelector * singleMuonFilter) + +#two muons +doubleMuonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("muons"), + cut = cms.string( "pt() > "+str(doubleMuonCut) ) +) +doubleMuonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("doubleMuonSelector"), + minNumber = cms.uint32(2) +) +hotlineSkimDoubleMuon = cms.Path(doubleMuonSelector * doubleMuonFilter) + +#three muons +tripleMuonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("muons"), + cut = cms.string( "pt() > "+str(tripleMuonCut) ) +) +tripleMuonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("tripleMuonSelector"), + minNumber = cms.uint32(3) +) +hotlineSkimTripleMuon = cms.Path(tripleMuonSelector * tripleMuonFilter) + +#one electron +singleElectronSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedGsfElectrons"), + cut = cms.string( "pt() > "+str(singleElectronCut) ) +) +singleElectronFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("singleElectronSelector"), + minNumber = cms.uint32(1) +) +hotlineSkimSingleElectron = cms.Path(singleElectronSelector * singleElectronFilter) + +#two electrons +doubleElectronSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedGsfElectrons"), + cut = cms.string( "pt() > "+str(doubleElectronCut) ) +) +doubleElectronFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("doubleElectronSelector"), + minNumber = cms.uint32(2) +) +hotlineSkimDoubleElectron = cms.Path(doubleElectronSelector * doubleElectronFilter) + +#three electrons +tripleElectronSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedGsfElectrons"), + cut = cms.string( "pt() > "+str(tripleElectronCut) ) +) +tripleElectronFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("tripleElectronSelector"), + minNumber = cms.uint32(3) +) +hotlineSkimTripleElectron = cms.Path(tripleElectronSelector * tripleElectronFilter) + +#one photon +singlePhotonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedPhotons"), + cut = cms.string( "pt() > "+str(singlePhotonCut) ) +) +singlePhotonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("singlePhotonSelector"), + minNumber = cms.uint32(1) +) +hotlineSkimSinglePhoton = cms.Path(singlePhotonSelector * singlePhotonFilter) + +#two photons +doublePhotonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedPhotons"), + cut = cms.string( "pt() > "+str(doublePhotonCut) ) +) +doublePhotonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("doublePhotonSelector"), + minNumber = cms.uint32(2) +) +hotlineSkimDoublePhoton = cms.Path(doublePhotonSelector * doublePhotonFilter) + +#three photons +triplePhotonSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("gedPhotons"), + cut = cms.string( "pt() > "+str(triplePhotonCut) ) +) +triplePhotonFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("triplePhotonSelector"), + minNumber = cms.uint32(3) +) +hotlineSkimTriplePhoton = cms.Path(triplePhotonSelector * triplePhotonFilter) + +#one jet +singleJetSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("ak4PFJets"), + cut = cms.string( "pt() > "+str(singleJetCut) ) +) +singleJetFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("singleJetSelector"), + minNumber = cms.uint32(1) +) +hotlineSkimSingleJet = cms.Path(singleJetSelector * singleJetFilter) + +#two jets +doubleJetSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("ak4PFJets"), + cut = cms.string( "pt() > "+str(doubleJetCut) ) +) +doubleJetFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("doubleJetSelector"), + minNumber = cms.uint32(2) +) +hotlineSkimDoubleJet = cms.Path(doubleJetSelector * doubleJetFilter) + +#many jets +multiJetSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("ak4PFJets"), + cut = cms.string( "pt() > "+str(multiJetCut) ) +) +multiJetFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("multiJetSelector"), + minNumber = cms.uint32(multiJetNJets) +) +hotlineSkimMultiJet = cms.Path(multiJetSelector * multiJetFilter) + +#HT +htMht = cms.EDProducer( "HLTHtMhtProducer", + usePt = cms.bool( False ), + minPtJetHt = cms.double( 40.0 ), + maxEtaJetMht = cms.double( 5.0 ), + minNJetMht = cms.int32( 0 ), + jetsLabel = cms.InputTag( "ak4CaloJets" ), + maxEtaJetHt = cms.double( 3.0 ), + minPtJetMht = cms.double( 30.0 ), + minNJetHt = cms.int32( 0 ), + pfCandidatesLabel = cms.InputTag( "" ), + excludePFMuons = cms.bool( False ) +) +htSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("htMht"), + cut = cms.string( "sumEt() > "+str(htCut) ) +) +htFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("htSelector"), + minNumber = cms.uint32(1) +) +hotlineSkimHT = cms.Path(htMht * htSelector * htFilter) + +#high-mass dileptons +dimuons = cms.EDProducer( + "CandViewShallowCloneCombiner", + decay = cms.string("muons muons"), + checkCharge = cms.bool(False), + cut = cms.string("mass > "+str(dimuonMassCut)), +) +dielectrons = cms.EDProducer( + "CandViewShallowCloneCombiner", + decay = cms.string("gedGsfElectrons gedGsfElectrons"), + checkCharge = cms.bool(False), + cut = cms.string("mass > "+str(dielectronMassCut)), +) +diEMu = cms.EDProducer( + "CandViewShallowCloneCombiner", + decay = cms.string("muons gedGsfElectrons"), + checkCharge = cms.bool(False), + cut = cms.string("mass > "+str(diEMuMassCut)), +) +dimuonMassFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("dimuons"), + minNumber = cms.uint32(1) +) +dielectronMassFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("dielectrons"), + minNumber = cms.uint32(1) +) +diEMuMassFilter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("diEMu"), + minNumber = cms.uint32(1) +) + +hotlineSkimMassiveDimuon = cms.Path(dimuons * dimuonMassFilter) +hotlineSkimMassiveDielectron = cms.Path(dielectrons * dielectronMassFilter) +hotlineSkimMassiveEMu = cms.Path(diEMu * diEMuMassFilter) diff --git a/Calibration/Hotline/test/hotlineSkims_test_cfg.py b/Calibration/Hotline/test/hotlineSkims_test_cfg.py new file mode 100644 index 0000000000000..c8d2f9502f849 --- /dev/null +++ b/Calibration/Hotline/test/hotlineSkims_test_cfg.py @@ -0,0 +1,38 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("skim") + +process.load("Configuration.Geometry.GeometryIdeal_cff") +process.load("Configuration.StandardSequences.MagneticField_cff") +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') +from Configuration.AlCa.autoCond_condDBv2 import autoCond +process.GlobalTag.globaltag=autoCond['run2_mc'] + +process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('file:step3QCD.root') +) + +process.load("FWCore.MessageLogger.MessageLogger_cfi") +process.MessageLogger.cerr.FwkReport.reportEvery = 1000 + +process.load('Configuration.StandardSequences.GeometryExtended_cff') +process.load('Configuration/StandardSequences/Reconstruction_cff') +process.load('Configuration/EventContent/EventContent_cff') + +#hotline filters +process.load("Calibration.Hotline.hotlineSkims_cff") +process.load("Calibration.Hotline.hotlineSkims_Output_cff") + +process.out = cms.OutputModule("PoolOutputModule", + SelectEvents = process.OutALCARECOHotline.SelectEvents, + outputCommands = process.OutALCARECOHotline.outputCommands, + fileName = cms.untracked.string('prova.root') +) + +process.e = cms.EndPath(process.out) From d26a767606f675ed9f12b353563b20241808fb6a Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 13 May 2015 11:10:59 +0200 Subject: [PATCH 02/15] Added new input file and updated configuration --- Calibration/Hotline/test/hotlineSkims_test_cfg.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/Calibration/Hotline/test/hotlineSkims_test_cfg.py b/Calibration/Hotline/test/hotlineSkims_test_cfg.py index c8d2f9502f849..73e0705cfefbd 100644 --- a/Calibration/Hotline/test/hotlineSkims_test_cfg.py +++ b/Calibration/Hotline/test/hotlineSkims_test_cfg.py @@ -2,11 +2,10 @@ process = cms.Process("skim") -process.load("Configuration.Geometry.GeometryIdeal_cff") -process.load("Configuration.StandardSequences.MagneticField_cff") -process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') -from Configuration.AlCa.autoCond_condDBv2 import autoCond -process.GlobalTag.globaltag=autoCond['run2_mc'] +process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') +from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_mc_GRun') process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) @@ -15,15 +14,13 @@ ) process.source = cms.Source("PoolSource", - fileNames = cms.untracked.vstring('file:step3QCD.root') + fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') ) process.load("FWCore.MessageLogger.MessageLogger_cfi") process.MessageLogger.cerr.FwkReport.reportEvery = 1000 -process.load('Configuration.StandardSequences.GeometryExtended_cff') -process.load('Configuration/StandardSequences/Reconstruction_cff') -process.load('Configuration/EventContent/EventContent_cff') +process.load('Configuration.Geometry.GeometryExtended2015Reco_cff') #hotline filters process.load("Calibration.Hotline.hotlineSkims_cff") From 0faee978c541a7a80acd2d38a05f2b7c00a6fc80 Mon Sep 17 00:00:00 2001 From: Dustin Date: Tue, 19 May 2015 15:08:24 +0200 Subject: [PATCH 03/15] Added MET skims --- .../python/hotlineMETSkims_Output_cff.py | 12 +++ .../Hotline/python/hotlineMETSkims_cff.py | 80 +++++++++++++++++++ .../Hotline/test/hotlineMETSkims_test_cfg.py | 35 ++++++++ 3 files changed, 127 insertions(+) create mode 100644 Calibration/Hotline/python/hotlineMETSkims_Output_cff.py create mode 100644 Calibration/Hotline/python/hotlineMETSkims_cff.py create mode 100644 Calibration/Hotline/test/hotlineMETSkims_test_cfg.py diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py new file mode 100644 index 0000000000000..8b70d5da48e72 --- /dev/null +++ b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py @@ -0,0 +1,12 @@ +import FWCore.ParameterSet.Config as cms + +OutALCARECOMETHotline = cms.PSet( + SelectEvents = cms.untracked.PSet( + SelectEvents = cms.vstring( + "hotlineSkimPFMET", + "hotlineSkimCaloMET", + "hotlineSkimCondMET" + ), + ), + outputCommands = cms.untracked.vstring('keep *') +) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py new file mode 100644 index 0000000000000..9b49e589b2910 --- /dev/null +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -0,0 +1,80 @@ +import FWCore.ParameterSet.Config as cms + +pfMetCut = 200 +caloMetCut = 200 +condPFMetCut = 150 #PF MET cut for large Calo/PF skim +condCaloMetCut = 150 #Calo MET cut for large PF/Calo skim +caloOverPFRatioCut = 2 #cut on Calo MET / PF MET +PFOverCaloRatioCut = 2 #cut on PF MET / Calo MET + +## select events with at least one good PV +pvFilter = cms.EDFilter( + "VertexSelector", + src = cms.InputTag("offlinePrimaryVertices"), + cut = cms.string("!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"), + filter = cms.bool(True), # otherwise it won't filter the events, just produce an empty vertex collection. +) + +## apply HBHE Noise filter +## import CommonTools.RecoAlgos.HBHENoiseFilter_cfi +## HBHENoiseFilter = CommonTools.RecoAlgos.HBHENoiseFilter_cfi.HBHENoiseFilter.clone() + +## select events with high pfMET +pfMETSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("pfMet"), + cut = cms.string( "pt()>"+str(pfMetCut) ) +) + +pfMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("pfMETSelector"), + minNumber = cms.uint32(1), +) + +hotlineSkimPFMET = cms.Path( + pvFilter* + ##HBHENoiseFilter* + pfMETSelector* + pfMETCounter +) + +## select events with high caloMET +caloMETSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("caloMetM"), + cut = cms.string( "pt()>"+str(caloMetCut) ) +) + +caloMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("caloMETSelector"), + minNumber = cms.uint32(1), +) + +hotlineSkimCaloMET = cms.Path( + pvFilter* + ##HBHENoiseFilter* + caloMETSelector* + caloMETCounter +) + +## select events with high MET dependent on PF and Calo MET Conditions +CondMETSelector = cms.EDProducer( + "CandViewShallowCloneCombiner", + decay = cms.string("pfMet caloMetM"), + cut = cms.string("(daughter(0).pt/daughter(1).pt > "+str(PFOverCaloRatioCut)+" && daughter(1).pt > "+str(condCaloMetCut)+") || (daughter(1).pt/daughter(0).pt > "+str(caloOverPFRatioCut)+" && daughter(0).pt > "+str(condPFMetCut)+" ) " ) +) + +CondMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("CondMETSelector"), + minNumber = cms.uint32(1), +) + +hotlineSkimCondMET = cms.Path( + pvFilter* + ##HBHENoiseFilter* + CondMETSelector* + CondMETCounter +) diff --git a/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py b/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py new file mode 100644 index 0000000000000..52a7bf588832b --- /dev/null +++ b/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py @@ -0,0 +1,35 @@ +import FWCore.ParameterSet.Config as cms + +process = cms.Process("skim") + +process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff') +process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') +from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag +process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_mc_GRun') + +process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) + +process.maxEvents = cms.untracked.PSet( + input = cms.untracked.int32(-1) +) + +process.source = cms.Source("PoolSource", + fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') +) + +process.load("FWCore.MessageLogger.MessageLogger_cfi") +process.MessageLogger.cerr.FwkReport.reportEvery = 1000 + +process.load('Configuration.Geometry.GeometryExtended2015Reco_cff') + +#hotline filters +process.load("Calibration.Hotline.hotlineMETSkims_cff") +process.load("Calibration.Hotline.hotlineMETSkims_Output_cff") + +process.out = cms.OutputModule("PoolOutputModule", + SelectEvents = process.OutALCARECOMETHotline.SelectEvents, + outputCommands = process.OutALCARECOMETHotline.outputCommands, + fileName = cms.untracked.string('provaMET.root') +) + +process.e = cms.EndPath(process.out) From 8cb32373fd80d0fe2d37fa540c112897d88402bd Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 27 May 2015 22:57:25 +0200 Subject: [PATCH 04/15] Add HBHE filter to MET skim sequence --- .../Hotline/python/hotlineMETSkims_cff.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index 9b49e589b2910..b0ff431251ca9 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -16,8 +16,14 @@ ) ## apply HBHE Noise filter -## import CommonTools.RecoAlgos.HBHENoiseFilter_cfi -## HBHENoiseFilter = CommonTools.RecoAlgos.HBHENoiseFilter_cfi.HBHENoiseFilter.clone() +from CommonTools.RecoAlgos.HBHENoiseFilterResultProducer_cfi import HBHENoiseFilterResultProducer +HBHENoiseFilterResultProducerRunTwo = HBHENoiseFilterResultProducer.clone() +HBHENoiseFilterResultProducerRunTwo.defaultDecision = "HBHENoiseFilterResultRun2Loose" +HBHENoiseFilter = cms.EDFilter( + "BooleanFlagFilter", + inputLabel = cms.InputTag("HBHENoiseFilterResultProducerRunTwo", "HBHENoiseFilterResultRun2Loose", "skim"), + reverseDecision = cms.bool(False) +) ## select events with high pfMET pfMETSelector = cms.EDFilter( @@ -34,7 +40,8 @@ hotlineSkimPFMET = cms.Path( pvFilter* - ##HBHENoiseFilter* + HBHENoiseFilterResultProducerRunTwo* + HBHENoiseFilter* pfMETSelector* pfMETCounter ) @@ -54,7 +61,8 @@ hotlineSkimCaloMET = cms.Path( pvFilter* - ##HBHENoiseFilter* + HBHENoiseFilterResultProducerRunTwo* + HBHENoiseFilter* caloMETSelector* caloMETCounter ) @@ -74,7 +82,8 @@ hotlineSkimCondMET = cms.Path( pvFilter* - ##HBHENoiseFilter* + HBHENoiseFilterResultProducerRunTwo* + HBHENoiseFilter* CondMETSelector* CondMETCounter ) From d94209f4fd2839b65244bb3d3b2ba77baa92c2d7 Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 1 Jun 2015 17:11:13 +0200 Subject: [PATCH 05/15] Adjust MET skim thresholds --- Calibration/Hotline/python/hotlineMETSkims_cff.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index b0ff431251ca9..4661e82148391 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -1,9 +1,9 @@ import FWCore.ParameterSet.Config as cms -pfMetCut = 200 -caloMetCut = 200 -condPFMetCut = 150 #PF MET cut for large Calo/PF skim -condCaloMetCut = 150 #Calo MET cut for large PF/Calo skim +pfMetCut = 300 +caloMetCut = 300 +condPFMetCut = 100 #PF MET cut for large Calo/PF skim +condCaloMetCut = 100 #Calo MET cut for large PF/Calo skim caloOverPFRatioCut = 2 #cut on Calo MET / PF MET PFOverCaloRatioCut = 2 #cut on PF MET / Calo MET From a250351f53fa0595d3cd2893250cca6e4b7ce736 Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 3 Jun 2015 16:18:59 +0200 Subject: [PATCH 06/15] Further changes to MET skim code --- .../Hotline/python/hotlineMETSkims_cff.py | 38 +++++++++++++------ .../Hotline/test/hotlineMETSkims_test_cfg.py | 4 +- 2 files changed, 29 insertions(+), 13 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index 4661e82148391..180e91b93ddf7 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -16,14 +16,7 @@ ) ## apply HBHE Noise filter -from CommonTools.RecoAlgos.HBHENoiseFilterResultProducer_cfi import HBHENoiseFilterResultProducer -HBHENoiseFilterResultProducerRunTwo = HBHENoiseFilterResultProducer.clone() -HBHENoiseFilterResultProducerRunTwo.defaultDecision = "HBHENoiseFilterResultRun2Loose" -HBHENoiseFilter = cms.EDFilter( - "BooleanFlagFilter", - inputLabel = cms.InputTag("HBHENoiseFilterResultProducerRunTwo", "HBHENoiseFilterResultRun2Loose", "skim"), - reverseDecision = cms.bool(False) -) +from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import HBHENoiseFilter, MakeHBHENoiseFilterResult ## select events with high pfMET pfMETSelector = cms.EDFilter( @@ -40,7 +33,7 @@ hotlineSkimPFMET = cms.Path( pvFilter* - HBHENoiseFilterResultProducerRunTwo* + MakeHBHENoiseFilterResult* HBHENoiseFilter* pfMETSelector* pfMETCounter @@ -61,13 +54,13 @@ hotlineSkimCaloMET = cms.Path( pvFilter* - HBHENoiseFilterResultProducerRunTwo* + MakeHBHENoiseFilterResult* HBHENoiseFilter* caloMETSelector* caloMETCounter ) -## select events with high MET dependent on PF and Calo MET Conditions +## select events with extreme PFMET/CaloMET ratio CondMETSelector = cms.EDProducer( "CandViewShallowCloneCombiner", decay = cms.string("pfMet caloMetM"), @@ -82,8 +75,29 @@ hotlineSkimCondMET = cms.Path( pvFilter* - HBHENoiseFilterResultProducerRunTwo* + MakeHBHENoiseFilterResult* HBHENoiseFilter* CondMETSelector* CondMETCounter ) + +## select events with high tcMET +tcMETSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("tcMet"), + cut = cms.string( "pt()>150" ) +) + +tcMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("tcMETSelector"), + minNumber = cms.uint32(1), +) + +tcMETSelSeq = cms.Sequence( + pvFilter* + MakeHBHENoiseFilterResult* + HBHENoiseFilter* + tcMETSelector* + tcMETCounter +) diff --git a/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py b/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py index 52a7bf588832b..f0861b8d7e0e3 100644 --- a/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py +++ b/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py @@ -14,7 +14,9 @@ ) process.source = cms.Source("PoolSource", - fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') + fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_4_2/JetHT25ns/MINIAOD/GR_R_74_V12_19May_RelVal_jht25ns2012D-v1/00000/0AD399D0-C3FE-E411-817D-002618943896.root', + 'root://eoscms:///eos/cms/store/relval/CMSSW_7_4_2/JetHT25ns/MINIAOD/GR_R_74_V12_19May_RelVal_jht25ns2012D-v1/00000/3E4A21D0-C3FE-E411-B046-0026189438FA.root') + #fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') ) process.load("FWCore.MessageLogger.MessageLogger_cfi") From ceaa043b480cfb3f5ccf3ba65f3423839d248723 Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 3 Jun 2015 17:16:52 +0200 Subject: [PATCH 07/15] Added TcMET skim to output module --- .../python/hotlineMETSkims_Output_cff.py | 3 +- .../Hotline/python/hotlineMETSkims_cff.py | 2 +- .../Hotline/test/hotlineMETSkims_test_cfg.py | 37 ------------------- .../Hotline/test/hotlineSkims_test_cfg.py | 35 ------------------ 4 files changed, 3 insertions(+), 74 deletions(-) delete mode 100644 Calibration/Hotline/test/hotlineMETSkims_test_cfg.py delete mode 100644 Calibration/Hotline/test/hotlineSkims_test_cfg.py diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py index 8b70d5da48e72..ac6ea3c897c9f 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py @@ -5,7 +5,8 @@ SelectEvents = cms.vstring( "hotlineSkimPFMET", "hotlineSkimCaloMET", - "hotlineSkimCondMET" + "hotlineSkimCondMET", + "hotlineSkimTcMET" ), ), outputCommands = cms.untracked.vstring('keep *') diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index 180e91b93ddf7..6c5bb6946a492 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -94,7 +94,7 @@ minNumber = cms.uint32(1), ) -tcMETSelSeq = cms.Sequence( +hotlineSkimTcMET = cms.Path( pvFilter* MakeHBHENoiseFilterResult* HBHENoiseFilter* diff --git a/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py b/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py deleted file mode 100644 index f0861b8d7e0e3..0000000000000 --- a/Calibration/Hotline/test/hotlineMETSkims_test_cfg.py +++ /dev/null @@ -1,37 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("skim") - -process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff') -process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') -from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag -process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_mc_GRun') - -process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(-1) -) - -process.source = cms.Source("PoolSource", - fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_4_2/JetHT25ns/MINIAOD/GR_R_74_V12_19May_RelVal_jht25ns2012D-v1/00000/0AD399D0-C3FE-E411-817D-002618943896.root', - 'root://eoscms:///eos/cms/store/relval/CMSSW_7_4_2/JetHT25ns/MINIAOD/GR_R_74_V12_19May_RelVal_jht25ns2012D-v1/00000/3E4A21D0-C3FE-E411-B046-0026189438FA.root') - #fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') -) - -process.load("FWCore.MessageLogger.MessageLogger_cfi") -process.MessageLogger.cerr.FwkReport.reportEvery = 1000 - -process.load('Configuration.Geometry.GeometryExtended2015Reco_cff') - -#hotline filters -process.load("Calibration.Hotline.hotlineMETSkims_cff") -process.load("Calibration.Hotline.hotlineMETSkims_Output_cff") - -process.out = cms.OutputModule("PoolOutputModule", - SelectEvents = process.OutALCARECOMETHotline.SelectEvents, - outputCommands = process.OutALCARECOMETHotline.outputCommands, - fileName = cms.untracked.string('provaMET.root') -) - -process.e = cms.EndPath(process.out) diff --git a/Calibration/Hotline/test/hotlineSkims_test_cfg.py b/Calibration/Hotline/test/hotlineSkims_test_cfg.py deleted file mode 100644 index 73e0705cfefbd..0000000000000 --- a/Calibration/Hotline/test/hotlineSkims_test_cfg.py +++ /dev/null @@ -1,35 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -process = cms.Process("skim") - -process.load('Configuration.StandardSequences.MagneticField_38T_PostLS1_cff') -process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff') -from Configuration.AlCa.GlobalTag_condDBv2 import GlobalTag -process.GlobalTag = GlobalTag(process.GlobalTag,'auto:run2_mc_GRun') - -process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) - -process.maxEvents = cms.untracked.PSet( - input = cms.untracked.int32(-1) -) - -process.source = cms.Source("PoolSource", - fileNames = cms.untracked.vstring('root://eoscms:///eos/cms/store/relval/CMSSW_7_5_0_pre1/RelValQCD_Pt_3000_3500_13/GEN-SIM-RECO/MCRUN2_74_V7-v1/00000/826FE575-5CE3-E411-BA9F-00248C0BE012.root') -) - -process.load("FWCore.MessageLogger.MessageLogger_cfi") -process.MessageLogger.cerr.FwkReport.reportEvery = 1000 - -process.load('Configuration.Geometry.GeometryExtended2015Reco_cff') - -#hotline filters -process.load("Calibration.Hotline.hotlineSkims_cff") -process.load("Calibration.Hotline.hotlineSkims_Output_cff") - -process.out = cms.OutputModule("PoolOutputModule", - SelectEvents = process.OutALCARECOHotline.SelectEvents, - outputCommands = process.OutALCARECOHotline.outputCommands, - fileName = cms.untracked.string('prova.root') -) - -process.e = cms.EndPath(process.out) From 099e3493604209fe7eeca476df6f732cef19bffe Mon Sep 17 00:00:00 2001 From: Dustin Date: Wed, 3 Jun 2015 18:59:08 +0200 Subject: [PATCH 08/15] Adding hotline workflows as AlCaRecos Conflicts: Configuration/StandardSequences/python/AlCaRecoStreams_cff.py --- .../python/hotlineMETSkims_Output_cff.py | 11 ++-- .../Hotline/python/hotlineMETSkims_cff.py | 27 +------- .../Hotline/python/hotlineSkims_Output_cff.py | 36 ++++++----- .../Hotline/python/hotlineSkims_cff.py | 32 +++++----- Configuration/AlCa/python/autoAlca.py | 2 +- .../EventContent/python/AlCaRecoOutput_cff.py | 6 ++ .../EventContent/python/EventContent_cff.py | 2 + .../python/AlCaRecoStreams_cff.py | 63 +++++++++++++++++++ 8 files changed, 116 insertions(+), 63 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py index ac6ea3c897c9f..cf58e64d8013c 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py @@ -1,13 +1,14 @@ import FWCore.ParameterSet.Config as cms +from Configuration.EventContent.EventContent_cff import FEVTEventContent + OutALCARECOMETHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( - "hotlineSkimPFMET", - "hotlineSkimCaloMET", - "hotlineSkimCondMET", - "hotlineSkimTcMET" + "pathHotlineSkimPFMET", + "pathHotlineSkimCaloMET", + "pathHotlineSkimCondMET", ), ), - outputCommands = cms.untracked.vstring('keep *') + outputCommands = FEVTEventContent ) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index 6c5bb6946a492..e82bdf310c0fe 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -31,7 +31,7 @@ minNumber = cms.uint32(1), ) -hotlineSkimPFMET = cms.Path( +seqHotlineSkimPFMET = cms.Sequence( pvFilter* MakeHBHENoiseFilterResult* HBHENoiseFilter* @@ -52,7 +52,7 @@ minNumber = cms.uint32(1), ) -hotlineSkimCaloMET = cms.Path( +seqHotlineSkimCaloMET = cms.Sequence( pvFilter* MakeHBHENoiseFilterResult* HBHENoiseFilter* @@ -73,31 +73,10 @@ minNumber = cms.uint32(1), ) -hotlineSkimCondMET = cms.Path( +seqHotlineSkimCondMET = cms.Sequence( pvFilter* MakeHBHENoiseFilterResult* HBHENoiseFilter* CondMETSelector* CondMETCounter ) - -## select events with high tcMET -tcMETSelector = cms.EDFilter( - "CandViewSelector", - src = cms.InputTag("tcMet"), - cut = cms.string( "pt()>150" ) -) - -tcMETCounter = cms.EDFilter( - "CandViewCountFilter", - src = cms.InputTag("tcMETSelector"), - minNumber = cms.uint32(1), -) - -hotlineSkimTcMET = cms.Path( - pvFilter* - MakeHBHENoiseFilterResult* - HBHENoiseFilter* - tcMETSelector* - tcMETCounter -) diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py index 74a86c9e9dc32..6a37c2afad553 100644 --- a/Calibration/Hotline/python/hotlineSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -1,25 +1,27 @@ import FWCore.ParameterSet.Config as cms +from Configuration.EventContent.EventContent_cff import FEVTEventContent + OutALCARECOHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( - "hotlineSkimSingleMuon", - "hotlineSkimDoubleMuon", - "hotlineSkimTripleMuon", - "hotlineSkimSingleElectron", - "hotlineSkimDoubleElectron", - "hotlineSkimTripleElectron", - "hotlineSkimSinglePhoton", - "hotlineSkimDoublePhoton", - "hotlineSkimTriplePhoton", - "hotlineSkimSingleJet", - "hotlineSkimDoubleJet", - "hotlineSkimMultiJet", - "hotlineSkimHT", - "hotlineSkimMassiveDimuon", - "hotlineSkimMassiveDielectron", - "hotlineSkimMassiveEMu" + "pathHotlineSkimSingleMuon", + "pathHotlineSkimDoubleMuon", + "pathHotlineSkimTripleMuon", + "pathHotlineSkimSingleElectron", + "pathHotlineSkimDoubleElectron", + "pathHotlineSkimTripleElectron", + "pathHotlineSkimSinglePhoton", + "pathHotlineSkimDoublePhoton", + "pathHotlineSkimTriplePhoton", + "pathHotlineSkimSingleJet", + "pathHotlineSkimDoubleJet", + "pathHotlineSkimMultiJet", + "pathHotlineSkimHT", + "pathHotlineSkimMassiveDimuon", + "pathHotlineSkimMassiveDielectron", + "pathHotlineSkimMassiveEMu" ), ), - outputCommands = cms.untracked.vstring('keep *') + outputCommands = FEVTEventContent ) diff --git a/Calibration/Hotline/python/hotlineSkims_cff.py b/Calibration/Hotline/python/hotlineSkims_cff.py index e095fe31441e3..9126207887517 100644 --- a/Calibration/Hotline/python/hotlineSkims_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_cff.py @@ -29,7 +29,7 @@ src = cms.InputTag("singleMuonSelector"), minNumber = cms.uint32(1) ) -hotlineSkimSingleMuon = cms.Path(singleMuonSelector * singleMuonFilter) +seqHotlineSkimSingleMuon = cms.Sequence(singleMuonSelector * singleMuonFilter) #two muons doubleMuonSelector = cms.EDFilter( @@ -42,7 +42,7 @@ src = cms.InputTag("doubleMuonSelector"), minNumber = cms.uint32(2) ) -hotlineSkimDoubleMuon = cms.Path(doubleMuonSelector * doubleMuonFilter) +seqHotlineSkimDoubleMuon = cms.Sequence(doubleMuonSelector * doubleMuonFilter) #three muons tripleMuonSelector = cms.EDFilter( @@ -55,7 +55,7 @@ src = cms.InputTag("tripleMuonSelector"), minNumber = cms.uint32(3) ) -hotlineSkimTripleMuon = cms.Path(tripleMuonSelector * tripleMuonFilter) +seqHotlineSkimTripleMuon = cms.Sequence(tripleMuonSelector * tripleMuonFilter) #one electron singleElectronSelector = cms.EDFilter( @@ -68,7 +68,7 @@ src = cms.InputTag("singleElectronSelector"), minNumber = cms.uint32(1) ) -hotlineSkimSingleElectron = cms.Path(singleElectronSelector * singleElectronFilter) +seqHotlineSkimSingleElectron = cms.Sequence(singleElectronSelector * singleElectronFilter) #two electrons doubleElectronSelector = cms.EDFilter( @@ -81,7 +81,7 @@ src = cms.InputTag("doubleElectronSelector"), minNumber = cms.uint32(2) ) -hotlineSkimDoubleElectron = cms.Path(doubleElectronSelector * doubleElectronFilter) +seqHotlineSkimDoubleElectron = cms.Sequence(doubleElectronSelector * doubleElectronFilter) #three electrons tripleElectronSelector = cms.EDFilter( @@ -94,7 +94,7 @@ src = cms.InputTag("tripleElectronSelector"), minNumber = cms.uint32(3) ) -hotlineSkimTripleElectron = cms.Path(tripleElectronSelector * tripleElectronFilter) +seqHotlineSkimTripleElectron = cms.Sequence(tripleElectronSelector * tripleElectronFilter) #one photon singlePhotonSelector = cms.EDFilter( @@ -107,7 +107,7 @@ src = cms.InputTag("singlePhotonSelector"), minNumber = cms.uint32(1) ) -hotlineSkimSinglePhoton = cms.Path(singlePhotonSelector * singlePhotonFilter) +seqHotlineSkimSinglePhoton = cms.Sequence(singlePhotonSelector * singlePhotonFilter) #two photons doublePhotonSelector = cms.EDFilter( @@ -120,7 +120,7 @@ src = cms.InputTag("doublePhotonSelector"), minNumber = cms.uint32(2) ) -hotlineSkimDoublePhoton = cms.Path(doublePhotonSelector * doublePhotonFilter) +seqHotlineSkimDoublePhoton = cms.Sequence(doublePhotonSelector * doublePhotonFilter) #three photons triplePhotonSelector = cms.EDFilter( @@ -133,7 +133,7 @@ src = cms.InputTag("triplePhotonSelector"), minNumber = cms.uint32(3) ) -hotlineSkimTriplePhoton = cms.Path(triplePhotonSelector * triplePhotonFilter) +seqHotlineSkimTriplePhoton = cms.Sequence(triplePhotonSelector * triplePhotonFilter) #one jet singleJetSelector = cms.EDFilter( @@ -146,7 +146,7 @@ src = cms.InputTag("singleJetSelector"), minNumber = cms.uint32(1) ) -hotlineSkimSingleJet = cms.Path(singleJetSelector * singleJetFilter) +seqHotlineSkimSingleJet = cms.Sequence(singleJetSelector * singleJetFilter) #two jets doubleJetSelector = cms.EDFilter( @@ -159,7 +159,7 @@ src = cms.InputTag("doubleJetSelector"), minNumber = cms.uint32(2) ) -hotlineSkimDoubleJet = cms.Path(doubleJetSelector * doubleJetFilter) +seqHotlineSkimDoubleJet = cms.Sequence(doubleJetSelector * doubleJetFilter) #many jets multiJetSelector = cms.EDFilter( @@ -172,7 +172,7 @@ src = cms.InputTag("multiJetSelector"), minNumber = cms.uint32(multiJetNJets) ) -hotlineSkimMultiJet = cms.Path(multiJetSelector * multiJetFilter) +seqHotlineSkimMultiJet = cms.Sequence(multiJetSelector * multiJetFilter) #HT htMht = cms.EDProducer( "HLTHtMhtProducer", @@ -197,7 +197,7 @@ src = cms.InputTag("htSelector"), minNumber = cms.uint32(1) ) -hotlineSkimHT = cms.Path(htMht * htSelector * htFilter) +seqHotlineSkimHT = cms.Sequence(htMht * htSelector * htFilter) #high-mass dileptons dimuons = cms.EDProducer( @@ -234,6 +234,6 @@ minNumber = cms.uint32(1) ) -hotlineSkimMassiveDimuon = cms.Path(dimuons * dimuonMassFilter) -hotlineSkimMassiveDielectron = cms.Path(dielectrons * dielectronMassFilter) -hotlineSkimMassiveEMu = cms.Path(diEMu * diEMuMassFilter) +seqHotlineSkimMassiveDimuon = cms.Sequence(dimuons * dimuonMassFilter) +seqHotlineSkimMassiveDielectron = cms.Sequence(dielectrons * dielectronMassFilter) +seqHotlineSkimMassiveEMu = cms.Sequence(diEMu * diEMuMassFilter) diff --git a/Configuration/AlCa/python/autoAlca.py b/Configuration/AlCa/python/autoAlca.py index 37c5c22e8a042..e672f97f358b3 100644 --- a/Configuration/AlCa/python/autoAlca.py +++ b/Configuration/AlCa/python/autoAlca.py @@ -1,5 +1,5 @@ AlCaRecoMatrix = {'ExpressCosmics' : 'SiStripCalZeroBias+TkAlCosmics0T', - 'StreamExpress' : 'SiStripCalZeroBias+TkAlMinBias+MuAlCalIsolatedMu+DtCalib', + 'StreamExpress' : 'SiStripCalZeroBias+TkAlMinBias+MuAlCalIsolatedMu+DtCalib+Hotline+METHotline', 'MinimumBias' : 'SiStripCalMinBias+TkAlMinBias', 'Commissioning' : 'HcalCalIsoTrk', 'SingleMu' : 'MuAlCalIsolatedMu+MuAlOverlaps+TkAlMuonIsolated+DtCalib', diff --git a/Configuration/EventContent/python/AlCaRecoOutput_cff.py b/Configuration/EventContent/python/AlCaRecoOutput_cff.py index d5029ff6c6a92..e63e7b52a352a 100644 --- a/Configuration/EventContent/python/AlCaRecoOutput_cff.py +++ b/Configuration/EventContent/python/AlCaRecoOutput_cff.py @@ -111,3 +111,9 @@ # stream for the LumiPixels workflow from Calibration.TkAlCaRecoProducers.ALCARECOLumiPixels_Output_cff import * from Calibration.TkAlCaRecoProducers.ALCARECOLumiPixelsMinBias_Output_cff import * + +############################################################### +# hotline skim workflows +############################################################### +from Calibration.Hotline.hotlineSkims_Output_cff import * +from Calibration.Hotline.hotlineMETSkims_Output_cff import * diff --git a/Configuration/EventContent/python/EventContent_cff.py b/Configuration/EventContent/python/EventContent_cff.py index 395cdcabc8b0f..d3757198ad3d5 100644 --- a/Configuration/EventContent/python/EventContent_cff.py +++ b/Configuration/EventContent/python/EventContent_cff.py @@ -705,6 +705,8 @@ ALCARECOEventContent.outputCommands.extend(OutALCARECODtCalib_noDrop.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripPCLHistos_noDrop.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOLumiPixels_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHotline.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMETHotline.outputCommands) ALCARECOEventContent.outputCommands.append('drop *_MEtoEDMConverter_*_*') diff --git a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py index a7d8dab5bec95..0c2a02c643151 100644 --- a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py +++ b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py @@ -111,6 +111,12 @@ from Calibration.TkAlCaRecoProducers.ALCARECOSiStripPCLHistos_cff import * +############################################################### +# hotline skim workflows +############################################################### +from Calibration.Hotline.hotlineSkims_cff import * +from Calibration.Hotline.hotlineMETSkims_cff import * + # NOTE: the ALCARECO DQM modules can not be placed together in a single path # because the non-DQM sequences act as filters. # They are therefore inserted per ALCARECO path. @@ -179,6 +185,25 @@ pathALCARECOPromptCalibProdSiStrip = cms.Path(seqALCARECOPromptCalibProdSiStrip) pathALCARECOPromptCalibProdSiStripGains = cms.Path(seqALCARECOPromptCalibProdSiStripGains) pathALCARECOSiStripPCLHistos = cms.Path(seqALCARECOSiStripPCLHistos) +pathHotlineSkimSingleMuon = cms.Path(seqHotlineSkimSingleMuon) +pathHotlineSkimDoubleMuon = cms.Path(seqHotlineSkimDoubleMuon) +pathHotlineSkimTripleMuon = cms.Path(seqHotlineSkimTripleMuon) +pathHotlineSkimSingleElectron = cms.Path(seqHotlineSkimSingleElectron) +pathHotlineSkimDoubleElectron = cms.Path(seqHotlineSkimDoubleElectron) +pathHotlineSkimTripleElectron = cms.Path(seqHotlineSkimTripleElectron) +pathHotlineSkimSinglePhoton = cms.Path(seqHotlineSkimSinglePhoton) +pathHotlineSkimDoublePhoton = cms.Path(seqHotlineSkimDoublePhoton) +pathHotlineSkimTriplePhoton = cms.Path(seqHotlineSkimTriplePhoton) +pathHotlineSkimSingleJet = cms.Path(seqHotlineSkimSingleJet) +pathHotlineSkimDoubleJet = cms.Path(seqHotlineSkimDoubleJet) +pathHotlineSkimMultiJet = cms.Path(seqHotlineSkimMultiJet) +pathHotlineSkimHT = cms.Path(seqHotlineSkimHT) +pathHotlineSkimMassiveDimuon = cms.Path(seqHotlineSkimMassiveDimuon) +pathHotlineSkimMassiveDielectron = cms.Path(seqHotlineSkimMassiveDielectron) +pathHotlineSkimMassiveEMu = cms.Path(seqHotlineSkimMassiveEMu) +pathHotlineSkimPFMET = cms.Path(seqHotlineSkimPFMET) +pathHotlineSkimCaloMET = cms.Path(seqHotlineSkimCaloMET) +pathHotlineSkimCondMET = cms.Path(seqHotlineSkimCondMET) # AlCaReco event content definitions: @@ -587,5 +612,43 @@ dataTier = cms.untracked.string('ALCARECO') ) +ALCARECOStreamHotline = cms.FilteredStream( + responsible = 'Dustin Anderson', + name = 'Hotline', + paths = ( + pathHotlineSkimSingleMuon, + pathHotlineSkimDoubleMuon, + pathHotlineSkimTripleMuon, + pathHotlineSkimSingleElectron, + pathHotlineSkimDoubleElectron, + pathHotlineSkimTripleElectron, + pathHotlineSkimSinglePhoton, + pathHotlineSkimDoublePhoton, + pathHotlineSkimTriplePhoton, + pathHotlineSkimSingleJet, + pathHotlineSkimDoubleJet, + pathHotlineSkimMultiJet, + pathHotlineSkimHT, + pathHotlineSkimMassiveDimuon, + pathHotlineSkimMassiveDielectron, + pathHotlineSkimMassiveEMu, + ), + content = OutALCARECOHotline.outputCommands, + selectEvents = OutALCARECOHotline.SelectEvents, + dataTier = cms.untracked.string('ALCARECO') + ) + +ALCARECOStreamMETHotline = cms.FilteredStream( + responsible = 'Dustin Anderson', + name = 'METHotline', + paths = ( + pathHotlineSkimPFMET, + pathHotlineSkimCaloMET, + pathHotlineSkimCondMET + ), + content = OutALCARECOMETHotline.outputCommands, + selectEvents = OutALCARECOMETHotline.SelectEvents, + dataTier = cms.untracked.string('ALCARECO') + ) from Configuration.StandardSequences.AlCaRecoStream_Specials_cff import * From a6a2cb29f299c94c4c47d81464f009605216ae00 Mon Sep 17 00:00:00 2001 From: Dustin Date: Thu, 4 Jun 2015 12:22:07 +0200 Subject: [PATCH 09/15] changed FEVTEventContent to 'keep *' to avoid circular import error --- Calibration/Hotline/python/hotlineMETSkims_Output_cff.py | 6 +++--- Calibration/Hotline/python/hotlineSkims_Output_cff.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py index cf58e64d8013c..bb927eda5fc78 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py @@ -1,7 +1,5 @@ import FWCore.ParameterSet.Config as cms -from Configuration.EventContent.EventContent_cff import FEVTEventContent - OutALCARECOMETHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( @@ -10,5 +8,7 @@ "pathHotlineSkimCondMET", ), ), - outputCommands = FEVTEventContent + outputCommands = cms.untracked.vstring( + 'keep *' + ) ) diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py index 6a37c2afad553..f974b62237ed4 100644 --- a/Calibration/Hotline/python/hotlineSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -1,7 +1,5 @@ import FWCore.ParameterSet.Config as cms -from Configuration.EventContent.EventContent_cff import FEVTEventContent - OutALCARECOHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( @@ -23,5 +21,7 @@ "pathHotlineSkimMassiveEMu" ), ), - outputCommands = FEVTEventContent + outputCommands = cms.untracked.vstring( + 'keep *' + ) ) From 16a6bb9d64aaa82a2079451becc3f30a21460085 Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 15 Jun 2015 21:39:23 +0200 Subject: [PATCH 10/15] Add hotline to RelVal workflows --- Configuration/PyReleaseValidation/python/relval_steps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/PyReleaseValidation/python/relval_steps.py b/Configuration/PyReleaseValidation/python/relval_steps.py index a071a79b45968..8de3b21674b9f 100644 --- a/Configuration/PyReleaseValidation/python/relval_steps.py +++ b/Configuration/PyReleaseValidation/python/relval_steps.py @@ -895,7 +895,7 @@ def genvalid(fragment,d,suffix='all',fi='',dataSet=''): dataReco={'--conditions':'auto:run1_data', - '-s':'RAW2DIGI,L1Reco,RECO,EI,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias,DQM', + '-s':'RAW2DIGI,L1Reco,RECO,EI,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias+Hotline+METHotline,DQM', '--datatier':'RECO,DQMIO', '--eventcontent':'RECO,DQM', '--data':'', From 256769d083d49a52bf46ca439733ff9225cfc031 Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 15 Jun 2015 23:36:58 +0200 Subject: [PATCH 11/15] Adapt to new behavior of HCAL noise filter code --- Calibration/Hotline/python/hotlineMETSkims_cff.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py index e82bdf310c0fe..09a4f3821d017 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_cff.py @@ -16,7 +16,8 @@ ) ## apply HBHE Noise filter -from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import HBHENoiseFilter, MakeHBHENoiseFilterResult +from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import HBHENoiseFilter +from CommonTools.RecoAlgos.HBHENoiseFilterResultProducer_cfi import HBHENoiseFilterResultProducer ## select events with high pfMET pfMETSelector = cms.EDFilter( @@ -33,7 +34,7 @@ seqHotlineSkimPFMET = cms.Sequence( pvFilter* - MakeHBHENoiseFilterResult* + HBHENoiseFilterResultProducer* HBHENoiseFilter* pfMETSelector* pfMETCounter @@ -54,7 +55,7 @@ seqHotlineSkimCaloMET = cms.Sequence( pvFilter* - MakeHBHENoiseFilterResult* + HBHENoiseFilterResultProducer* HBHENoiseFilter* caloMETSelector* caloMETCounter @@ -75,7 +76,7 @@ seqHotlineSkimCondMET = cms.Sequence( pvFilter* - MakeHBHENoiseFilterResult* + HBHENoiseFilterResultProducer* HBHENoiseFilter* CondMETSelector* CondMETCounter From 0b333f83917d64d008277bb450bbf0ba91d173b4 Mon Sep 17 00:00:00 2001 From: Dustin Date: Tue, 16 Jun 2015 09:55:32 +0200 Subject: [PATCH 12/15] Remove unneeded BuildFile.xml --- Calibration/Hotline/BuildFile.xml | 38 ------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 Calibration/Hotline/BuildFile.xml diff --git a/Calibration/Hotline/BuildFile.xml b/Calibration/Hotline/BuildFile.xml deleted file mode 100644 index 24dedb6428bc6..0000000000000 --- a/Calibration/Hotline/BuildFile.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 247d753e7be38eb96fdcfe5ac437130114c9983f Mon Sep 17 00:00:00 2001 From: David Date: Thu, 18 Jun 2015 13:01:30 +0200 Subject: [PATCH 13/15] moving alca outputs to AlCaRecoOutput_cff so that alcas can also use reco/raw/fevt definitions --- .../python/hotlineMETSkims_Output_cff.py | 6 +- .../Hotline/python/hotlineSkims_Output_cff.py | 6 +- .../EventContent/python/AlCaRecoOutput_cff.py | 55 +++++++++++++++++ .../python/EventContentCosmics_cff.py | 25 -------- .../python/EventContentHeavyIons_cff.py | 3 - .../EventContent/python/EventContent_cff.py | 60 ------------------- DPGAnalysis/Skims/python/WElectronSkim_cff.py | 2 +- 7 files changed, 62 insertions(+), 95 deletions(-) diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py index bb927eda5fc78..16da39abfac66 100644 --- a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py @@ -1,5 +1,7 @@ import FWCore.ParameterSet.Config as cms +from Configuration.EventContent.EventContent_cff import FEVTEventContent + OutALCARECOMETHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( @@ -8,7 +10,5 @@ "pathHotlineSkimCondMET", ), ), - outputCommands = cms.untracked.vstring( - 'keep *' - ) + outputCommands = FEVTEventContent.outputCommands ) diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py index f974b62237ed4..8f11ace14fc7d 100644 --- a/Calibration/Hotline/python/hotlineSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -1,5 +1,7 @@ import FWCore.ParameterSet.Config as cms +from Configuration.EventContent.EventContent_cff import FEVTEventContent + OutALCARECOHotline = cms.PSet( SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring( @@ -21,7 +23,5 @@ "pathHotlineSkimMassiveEMu" ), ), - outputCommands = cms.untracked.vstring( - 'keep *' - ) + outputCommands = FEVTEventContent.outputCommands ) diff --git a/Configuration/EventContent/python/AlCaRecoOutput_cff.py b/Configuration/EventContent/python/AlCaRecoOutput_cff.py index e63e7b52a352a..9b40b0f293797 100644 --- a/Configuration/EventContent/python/AlCaRecoOutput_cff.py +++ b/Configuration/EventContent/python/AlCaRecoOutput_cff.py @@ -117,3 +117,58 @@ ############################################################### from Calibration.Hotline.hotlineSkims_Output_cff import * from Calibration.Hotline.hotlineMETSkims_Output_cff import * + +ALCARECOEventContent = cms.PSet( + outputCommands = cms.untracked.vstring('drop *', + 'keep edmTriggerResults_*_*_*'), + splitLevel = cms.untracked.int32(0), + eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024) +) + +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlZMuMu_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsInCollisions_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsHLT_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0T_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0THLT_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlLAS_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMuonIsolated_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIterativePhiSym_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMinBias_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlBeamHalo_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripCalZeroBias_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripCalMinBias_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalElectron_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalUncalElectron_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalPi0Calib_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalEtaCalib_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalDijets_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalGammaJet_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIsoTrk_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIsoTrkNoHLT_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalMinBias_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalHO_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalHOCosmics_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalNoise_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlStandAloneCosmics_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmicsInCollisions_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmics_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlCalIsolatedMu_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlZMuMu_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlOverlaps_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHaloOverlaps_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHalo_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECORpcCalHLT_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECODtCalib_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripPCLHistos_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOLumiPixels_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHotline.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOMETHotline.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMinBiasHI_noDrop.outputCommands) +ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalMinBiasHI_noDrop.outputCommands) + + +ALCARECOEventContent.outputCommands.append('drop *_MEtoEDMConverter_*_*') diff --git a/Configuration/EventContent/python/EventContentCosmics_cff.py b/Configuration/EventContent/python/EventContentCosmics_cff.py index ac309a9c5f223..4f8dbc70c9bb0 100644 --- a/Configuration/EventContent/python/EventContentCosmics_cff.py +++ b/Configuration/EventContent/python/EventContentCosmics_cff.py @@ -49,7 +49,6 @@ from RecoVertex.Configuration.RecoVertex_EventContent_cff import * # raw2digi that are already the final RECO/AOD products from EventFilter.ScalersRawToDigi.Scalers_EventContent_cff import * -from Configuration.EventContent.AlCaRecoOutput_cff import * from Configuration.EventContent.EventContent_cff import REGENEventContent,RESIMEventContent,REDIGIEventContent #not in Cosmics @@ -167,12 +166,6 @@ # ALCARECO Data Tier definition # # -ALCARECOEventContent = cms.PSet( - outputCommands = cms.untracked.vstring('drop *', - 'keep edmTriggerResults_*_*_*'), - splitLevel = cms.untracked.int32(0), - eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024) -) from Configuration.EventContent.EventContent_cff import DQMEventContent @@ -310,21 +303,3 @@ FEVTDEBUGEventContent.outputCommands.extend(SimMuonFEVTDEBUG.outputCommands) FEVTDEBUGEventContent.outputCommands.extend(SimCalorimetryFEVTDEBUG.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsInCollisions_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsHLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0T_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0THLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripCalZeroBias_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalHOCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlStandAloneCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmicsInCollisions_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlCalIsolatedMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECORpcCalHLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlBeamHalo_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHaloOverlaps_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHalo_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripPCLHistos_noDrop.outputCommands) - -ALCARECOEventContent.outputCommands.append('drop *_MEtoEDMConverter_*_*') diff --git a/Configuration/EventContent/python/EventContentHeavyIons_cff.py b/Configuration/EventContent/python/EventContentHeavyIons_cff.py index d87635584b6da..04ac786b2ab27 100644 --- a/Configuration/EventContent/python/EventContentHeavyIons_cff.py +++ b/Configuration/EventContent/python/EventContentHeavyIons_cff.py @@ -68,6 +68,3 @@ RECODEBUGEventContent.outputCommands.extend(HiMixRAW.outputCommands) RECODEBUGEventContent.outputCommands.extend(RecoHIRECO.outputCommands) -#ALCA HeavyIons -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMinBiasHI_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalMinBiasHI_noDrop.outputCommands) diff --git a/Configuration/EventContent/python/EventContent_cff.py b/Configuration/EventContent/python/EventContent_cff.py index d3757198ad3d5..8d45f9aebbf23 100644 --- a/Configuration/EventContent/python/EventContent_cff.py +++ b/Configuration/EventContent/python/EventContent_cff.py @@ -92,11 +92,6 @@ from DQMOffline.Configuration.DQMOffline_EventContent_cff import * # # -# ALCA -# -# -from Configuration.EventContent.AlCaRecoOutput_cff import * - # # @@ -311,17 +306,6 @@ eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024) ) -# -# -# ALCARECO Data Tier definition -# -# -ALCARECOEventContent = cms.PSet( - outputCommands = cms.untracked.vstring('drop *', - 'keep edmTriggerResults_*_*_*'), - splitLevel = cms.untracked.int32(0), - eventAutoFlushCompressedSize=cms.untracked.int32(5*1024*1024) -) # ## HLTDEBUG tier definition @@ -665,50 +649,6 @@ RECODEBUGEventContent.outputCommands.extend(RECOSIMEventContent.outputCommands) RECODEBUGEventContent.outputCommands.extend(SimGeneralFEVTDEBUG.outputCommands) RECODEBUGEventContent.outputCommands.extend(SimTrackerDEBUG.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlZMuMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsInCollisions_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmicsHLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0T_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlCosmics0THLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlLAS_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMuonIsolated_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMuonIsolatedPA_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlJpsiMuMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlUpsilonMuMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIterativePhiSym_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMinBias_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlBeamHalo_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripCalZeroBias_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripCalMinBias_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalElectron_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalUncalElectron_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalPi0Calib_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOEcalCalEtaCalib_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalDijets_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalGammaJet_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIsoTrk_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalIsoTrkNoHLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalMinBias_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalHO_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalHOCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalNoise_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlStandAloneCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmicsInCollisions_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlGlobalCosmics_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlCalIsolatedMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlZMuMu_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlOverlaps_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHaloOverlaps_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMuAlBeamHalo_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECORpcCalHLT_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECODtCalib_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripPCLHistos_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOLumiPixels_noDrop.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOHotline.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMETHotline.outputCommands) - -ALCARECOEventContent.outputCommands.append('drop *_MEtoEDMConverter_*_*') REPACKRAWSIMEventContent.outputCommands.extend(['drop FEDRawDataCollection_source_*_*', 'drop FEDRawDataCollection_rawDataCollector_*_*']) diff --git a/DPGAnalysis/Skims/python/WElectronSkim_cff.py b/DPGAnalysis/Skims/python/WElectronSkim_cff.py index 438817bc991a0..1934d8bcbdf9a 100644 --- a/DPGAnalysis/Skims/python/WElectronSkim_cff.py +++ b/DPGAnalysis/Skims/python/WElectronSkim_cff.py @@ -162,7 +162,7 @@ elecMetSeq = cms.Sequence( WEnuHltFilter * ele_sequence * elecMetFilter * kt6PFJetsForRhoCorrection) -from Configuration.EventContent.EventContent_cff import OutALCARECOEcalCalElectron +from Configuration.EventContent.AlCaRecoOutput_cff import OutALCARECOEcalCalElectron WElectronSkimContent = OutALCARECOEcalCalElectron.clone() WElectronSkimContent.outputCommands.extend( [ "keep *_pfMet_*_*", From 0554baabb46f43c279f936f450b5ba686d2082ef Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 22 Jun 2015 19:20:51 +0200 Subject: [PATCH 14/15] Merge the two hotline workflows into one --- .../python/hotlineMETSkims_Output_cff.py | 14 ---- .../Hotline/python/hotlineMETSkims_cff.py | 83 ------------------ .../Hotline/python/hotlineSkims_Output_cff.py | 5 +- .../Hotline/python/hotlineSkims_cff.py | 84 +++++++++++++++++++ Configuration/AlCa/python/autoAlca.py | 2 +- .../EventContent/python/AlCaRecoOutput_cff.py | 2 - .../python/relval_steps.py | 2 +- .../python/AlCaRecoStreams_cff.py | 15 +--- 8 files changed, 92 insertions(+), 115 deletions(-) delete mode 100644 Calibration/Hotline/python/hotlineMETSkims_Output_cff.py delete mode 100644 Calibration/Hotline/python/hotlineMETSkims_cff.py diff --git a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py b/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py deleted file mode 100644 index 16da39abfac66..0000000000000 --- a/Calibration/Hotline/python/hotlineMETSkims_Output_cff.py +++ /dev/null @@ -1,14 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -from Configuration.EventContent.EventContent_cff import FEVTEventContent - -OutALCARECOMETHotline = cms.PSet( - SelectEvents = cms.untracked.PSet( - SelectEvents = cms.vstring( - "pathHotlineSkimPFMET", - "pathHotlineSkimCaloMET", - "pathHotlineSkimCondMET", - ), - ), - outputCommands = FEVTEventContent.outputCommands -) diff --git a/Calibration/Hotline/python/hotlineMETSkims_cff.py b/Calibration/Hotline/python/hotlineMETSkims_cff.py deleted file mode 100644 index 09a4f3821d017..0000000000000 --- a/Calibration/Hotline/python/hotlineMETSkims_cff.py +++ /dev/null @@ -1,83 +0,0 @@ -import FWCore.ParameterSet.Config as cms - -pfMetCut = 300 -caloMetCut = 300 -condPFMetCut = 100 #PF MET cut for large Calo/PF skim -condCaloMetCut = 100 #Calo MET cut for large PF/Calo skim -caloOverPFRatioCut = 2 #cut on Calo MET / PF MET -PFOverCaloRatioCut = 2 #cut on PF MET / Calo MET - -## select events with at least one good PV -pvFilter = cms.EDFilter( - "VertexSelector", - src = cms.InputTag("offlinePrimaryVertices"), - cut = cms.string("!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"), - filter = cms.bool(True), # otherwise it won't filter the events, just produce an empty vertex collection. -) - -## apply HBHE Noise filter -from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import HBHENoiseFilter -from CommonTools.RecoAlgos.HBHENoiseFilterResultProducer_cfi import HBHENoiseFilterResultProducer - -## select events with high pfMET -pfMETSelector = cms.EDFilter( - "CandViewSelector", - src = cms.InputTag("pfMet"), - cut = cms.string( "pt()>"+str(pfMetCut) ) -) - -pfMETCounter = cms.EDFilter( - "CandViewCountFilter", - src = cms.InputTag("pfMETSelector"), - minNumber = cms.uint32(1), -) - -seqHotlineSkimPFMET = cms.Sequence( - pvFilter* - HBHENoiseFilterResultProducer* - HBHENoiseFilter* - pfMETSelector* - pfMETCounter -) - -## select events with high caloMET -caloMETSelector = cms.EDFilter( - "CandViewSelector", - src = cms.InputTag("caloMetM"), - cut = cms.string( "pt()>"+str(caloMetCut) ) -) - -caloMETCounter = cms.EDFilter( - "CandViewCountFilter", - src = cms.InputTag("caloMETSelector"), - minNumber = cms.uint32(1), -) - -seqHotlineSkimCaloMET = cms.Sequence( - pvFilter* - HBHENoiseFilterResultProducer* - HBHENoiseFilter* - caloMETSelector* - caloMETCounter -) - -## select events with extreme PFMET/CaloMET ratio -CondMETSelector = cms.EDProducer( - "CandViewShallowCloneCombiner", - decay = cms.string("pfMet caloMetM"), - cut = cms.string("(daughter(0).pt/daughter(1).pt > "+str(PFOverCaloRatioCut)+" && daughter(1).pt > "+str(condCaloMetCut)+") || (daughter(1).pt/daughter(0).pt > "+str(caloOverPFRatioCut)+" && daughter(0).pt > "+str(condPFMetCut)+" ) " ) -) - -CondMETCounter = cms.EDFilter( - "CandViewCountFilter", - src = cms.InputTag("CondMETSelector"), - minNumber = cms.uint32(1), -) - -seqHotlineSkimCondMET = cms.Sequence( - pvFilter* - HBHENoiseFilterResultProducer* - HBHENoiseFilter* - CondMETSelector* - CondMETCounter -) diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py index 8f11ace14fc7d..4cf4beaf84248 100644 --- a/Calibration/Hotline/python/hotlineSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -20,7 +20,10 @@ "pathHotlineSkimHT", "pathHotlineSkimMassiveDimuon", "pathHotlineSkimMassiveDielectron", - "pathHotlineSkimMassiveEMu" + "pathHotlineSkimMassiveEMu", + "pathHotlineSkimPFMET", + "pathHotlineSkimCaloMET", + "pathHotlineSkimCondMET", ), ), outputCommands = FEVTEventContent.outputCommands diff --git a/Calibration/Hotline/python/hotlineSkims_cff.py b/Calibration/Hotline/python/hotlineSkims_cff.py index 9126207887517..5cfc220379b1d 100644 --- a/Calibration/Hotline/python/hotlineSkims_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_cff.py @@ -1,5 +1,6 @@ import FWCore.ParameterSet.Config as cms +#Hotline skim parameters singleMuonCut = 500 doubleMuonCut = 300 tripleMuonCut = 100 @@ -18,6 +19,14 @@ dielectronMassCut = 500 diEMuMassCut = 500 +#MET hotline skim parameters +pfMetCut = 300 +caloMetCut = 300 +condPFMetCut = 100 #PF MET cut for large Calo/PF skim +condCaloMetCut = 100 #Calo MET cut for large PF/Calo skim +caloOverPFRatioCut = 2 #cut on Calo MET / PF MET +PFOverCaloRatioCut = 2 #cut on PF MET / Calo MET + #one muon singleMuonSelector = cms.EDFilter( "CandViewSelector", @@ -237,3 +246,78 @@ seqHotlineSkimMassiveDimuon = cms.Sequence(dimuons * dimuonMassFilter) seqHotlineSkimMassiveDielectron = cms.Sequence(dielectrons * dielectronMassFilter) seqHotlineSkimMassiveEMu = cms.Sequence(diEMu * diEMuMassFilter) + +## select events with at least one good PV +pvFilter = cms.EDFilter( + "VertexSelector", + src = cms.InputTag("offlinePrimaryVertices"), + cut = cms.string("!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2"), + filter = cms.bool(True), # otherwise it won't filter the events, just produce an empty vertex collection. +) + +## apply HBHE Noise filter +from CommonTools.RecoAlgos.HBHENoiseFilter_cfi import HBHENoiseFilter +from CommonTools.RecoAlgos.HBHENoiseFilterResultProducer_cfi import HBHENoiseFilterResultProducer + +## select events with high pfMET +pfMETSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("pfMet"), + cut = cms.string( "pt()>"+str(pfMetCut) ) +) + +pfMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("pfMETSelector"), + minNumber = cms.uint32(1), +) + +seqHotlineSkimPFMET = cms.Sequence( + pvFilter* + HBHENoiseFilterResultProducer* + HBHENoiseFilter* + pfMETSelector* + pfMETCounter +) + +## select events with high caloMET +caloMETSelector = cms.EDFilter( + "CandViewSelector", + src = cms.InputTag("caloMetM"), + cut = cms.string( "pt()>"+str(caloMetCut) ) +) + +caloMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("caloMETSelector"), + minNumber = cms.uint32(1), +) + +seqHotlineSkimCaloMET = cms.Sequence( + pvFilter* + HBHENoiseFilterResultProducer* + HBHENoiseFilter* + caloMETSelector* + caloMETCounter +) + +## select events with extreme PFMET/CaloMET ratio +CondMETSelector = cms.EDProducer( + "CandViewShallowCloneCombiner", + decay = cms.string("pfMet caloMetM"), + cut = cms.string("(daughter(0).pt/daughter(1).pt > "+str(PFOverCaloRatioCut)+" && daughter(1).pt > "+str(condCaloMetCut)+") || (daughter(1).pt/daughter(0).pt > "+str(caloOverPFRatioCut)+" && daughter(0).pt > "+str(condPFMetCut)+" ) " ) +) + +CondMETCounter = cms.EDFilter( + "CandViewCountFilter", + src = cms.InputTag("CondMETSelector"), + minNumber = cms.uint32(1), +) + +seqHotlineSkimCondMET = cms.Sequence( + pvFilter* + HBHENoiseFilterResultProducer* + HBHENoiseFilter* + CondMETSelector* + CondMETCounter +) diff --git a/Configuration/AlCa/python/autoAlca.py b/Configuration/AlCa/python/autoAlca.py index e672f97f358b3..735823135dd51 100644 --- a/Configuration/AlCa/python/autoAlca.py +++ b/Configuration/AlCa/python/autoAlca.py @@ -1,5 +1,5 @@ AlCaRecoMatrix = {'ExpressCosmics' : 'SiStripCalZeroBias+TkAlCosmics0T', - 'StreamExpress' : 'SiStripCalZeroBias+TkAlMinBias+MuAlCalIsolatedMu+DtCalib+Hotline+METHotline', + 'StreamExpress' : 'SiStripCalZeroBias+TkAlMinBias+MuAlCalIsolatedMu+DtCalib+Hotline', 'MinimumBias' : 'SiStripCalMinBias+TkAlMinBias', 'Commissioning' : 'HcalCalIsoTrk', 'SingleMu' : 'MuAlCalIsolatedMu+MuAlOverlaps+TkAlMuonIsolated+DtCalib', diff --git a/Configuration/EventContent/python/AlCaRecoOutput_cff.py b/Configuration/EventContent/python/AlCaRecoOutput_cff.py index 9b40b0f293797..69c00ea636cab 100644 --- a/Configuration/EventContent/python/AlCaRecoOutput_cff.py +++ b/Configuration/EventContent/python/AlCaRecoOutput_cff.py @@ -116,7 +116,6 @@ # hotline skim workflows ############################################################### from Calibration.Hotline.hotlineSkims_Output_cff import * -from Calibration.Hotline.hotlineMETSkims_Output_cff import * ALCARECOEventContent = cms.PSet( outputCommands = cms.untracked.vstring('drop *', @@ -166,7 +165,6 @@ ALCARECOEventContent.outputCommands.extend(OutALCARECOSiStripPCLHistos_noDrop.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOLumiPixels_noDrop.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOHotline.outputCommands) -ALCARECOEventContent.outputCommands.extend(OutALCARECOMETHotline.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOTkAlMinBiasHI_noDrop.outputCommands) ALCARECOEventContent.outputCommands.extend(OutALCARECOHcalCalMinBiasHI_noDrop.outputCommands) diff --git a/Configuration/PyReleaseValidation/python/relval_steps.py b/Configuration/PyReleaseValidation/python/relval_steps.py index 8de3b21674b9f..71b5cd5f9784c 100644 --- a/Configuration/PyReleaseValidation/python/relval_steps.py +++ b/Configuration/PyReleaseValidation/python/relval_steps.py @@ -895,7 +895,7 @@ def genvalid(fragment,d,suffix='all',fi='',dataSet=''): dataReco={'--conditions':'auto:run1_data', - '-s':'RAW2DIGI,L1Reco,RECO,EI,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias+Hotline+METHotline,DQM', + '-s':'RAW2DIGI,L1Reco,RECO,EI,ALCA:SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias+Hotline,DQM', '--datatier':'RECO,DQMIO', '--eventcontent':'RECO,DQM', '--data':'', diff --git a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py index 0c2a02c643151..6ab78405a9185 100644 --- a/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py +++ b/Configuration/StandardSequences/python/AlCaRecoStreams_cff.py @@ -115,7 +115,6 @@ # hotline skim workflows ############################################################### from Calibration.Hotline.hotlineSkims_cff import * -from Calibration.Hotline.hotlineMETSkims_cff import * # NOTE: the ALCARECO DQM modules can not be placed together in a single path # because the non-DQM sequences act as filters. @@ -632,22 +631,12 @@ pathHotlineSkimMassiveDimuon, pathHotlineSkimMassiveDielectron, pathHotlineSkimMassiveEMu, - ), - content = OutALCARECOHotline.outputCommands, - selectEvents = OutALCARECOHotline.SelectEvents, - dataTier = cms.untracked.string('ALCARECO') - ) - -ALCARECOStreamMETHotline = cms.FilteredStream( - responsible = 'Dustin Anderson', - name = 'METHotline', - paths = ( pathHotlineSkimPFMET, pathHotlineSkimCaloMET, pathHotlineSkimCondMET ), - content = OutALCARECOMETHotline.outputCommands, - selectEvents = OutALCARECOMETHotline.SelectEvents, + content = OutALCARECOHotline.outputCommands, + selectEvents = OutALCARECOHotline.SelectEvents, dataTier = cms.untracked.string('ALCARECO') ) From c2c69c8a302df8292744473de7d70e0566c48017 Mon Sep 17 00:00:00 2001 From: Dustin Date: Sun, 28 Jun 2015 18:52:27 +0200 Subject: [PATCH 15/15] Remove 'drop *' from hotline event content --- Calibration/Hotline/python/hotlineSkims_Output_cff.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Calibration/Hotline/python/hotlineSkims_Output_cff.py b/Calibration/Hotline/python/hotlineSkims_Output_cff.py index 4cf4beaf84248..0a7fa30ee835e 100644 --- a/Calibration/Hotline/python/hotlineSkims_Output_cff.py +++ b/Calibration/Hotline/python/hotlineSkims_Output_cff.py @@ -1,4 +1,5 @@ import FWCore.ParameterSet.Config as cms +import copy from Configuration.EventContent.EventContent_cff import FEVTEventContent @@ -26,5 +27,7 @@ "pathHotlineSkimCondMET", ), ), - outputCommands = FEVTEventContent.outputCommands + outputCommands = copy.deepcopy(FEVTEventContent.outputCommands) ) + +while 'drop *' in OutALCARECOHotline.outputCommands: OutALCARECOHotline.outputCommands.remove('drop *')