-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from senkin/TriggerWorkflow
Trigger workflow
- Loading branch information
Showing
21 changed files
with
503 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef BristolNTupleTriggerObjects | ||
#define BristolNTupleTriggerObjects | ||
#include <string> | ||
|
||
#include "FWCore/Framework/interface/EDProducer.h" | ||
#include "FWCore/ParameterSet/interface/ParameterSet.h" | ||
#include "FWCore/Utilities/interface/InputTag.h" | ||
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h" | ||
|
||
class BristolNTuple_TriggerObjects : public edm::EDProducer { | ||
public: | ||
explicit BristolNTuple_TriggerObjects(const edm::ParameterSet&); | ||
|
||
private: | ||
void produce( edm::Event &, const edm::EventSetup & ); | ||
void beginRun( edm::Run &, const edm::EventSetup & ); | ||
//unsigned int findTrigger(const std::string& triggerWildCard); | ||
|
||
const edm::InputTag hltObjectsInputTag, hltObjectOfInterest; | ||
HLTConfigProvider hltConfig; | ||
const std::string prefix, suffix; | ||
}; | ||
|
||
#endif |
149 changes: 91 additions & 58 deletions
149
...airElectronPlusJets2012SelectionFilter.cc → ...TopPairElectronPlusJetsSelectionFilter.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 97 additions & 64 deletions
161
...TopPairMuonPlusJets2012SelectionFilter.cc → ...ins/TopPairMuonPlusJetsSelectionFilter.cc
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# electron+jets trigger objects | ||
rootTupleTriggerObjectElectronLeg = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectElectronLeg.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltEle25CaloIdVTTrkIdTDphiFilter','','HLT'), # electron leg of Ele25+TriJet trigger, runs 16404-165633 | ||
) | ||
|
||
rootTupleTriggerObjectElectronIsoLeg = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectElectronIsoLeg.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltEle25CaloIdVTTrkIdTCaloIsoTTrkIsoTTrackIsolFilter','','HLT'), # electron leg of Ele25+TriJet iso trigger, runs 165970-180252 | ||
) | ||
|
||
rootTupleTriggerObjectHadronLeg = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectHadronLeg.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltEle25CaloIdVTTrkIdTCentralTriJet30Cleaned','','HLT'), # hadron leg of Ele25+TriJet trigger, runs 16404-165633 | ||
) | ||
|
||
rootTupleTriggerObjectHadronIsoLeg = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectHadronIsoLeg.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltEle25CaloIdVTCaloIsoTTrkIdTTrkIsoTCentralTriJet30EleCleaned','','HLT'), # hadron leg of Ele25+TriJet iso trigger, runs 165970-178380 | ||
) | ||
|
||
rootTupleTriggerObjectHadronPFIsoLeg = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectHadronPFIsoLeg.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltEle25CaloIdVTCaloIsoTTrkIdTTrkIsoTTriCentralPFJet30EleCleaned','','HLT'), # hadron leg of Ele25+TriPFJet iso trigger, runs 178420-180252 | ||
) | ||
|
||
# single muon trigger objects | ||
rootTupleTriggerObjectMuon1 = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectMuon1.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltSingleMuIsoL3IsoFiltered24','','HLT'), # muon object of SingleMu24 trigger, V1-V7, runs 160404-167913 | ||
) | ||
|
||
rootTupleTriggerObjectMuon2 = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectMuon2.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltSingleMuL2QualIsoL3IsoFiltered24','','HLT'), # muon object of SingleMu24 trigger, V8, runs 170249-173198 | ||
) | ||
|
||
rootTupleTriggerObjectMuon2p1 = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectMuon2p1.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltL3IsoL1sMu14Eta2p1L1f0L2f14QL2IsoL3f24L3IsoFiltered','','HLT'), # muon object of SingleMu24_eta2p1 trigger, runs 173236-190456 | ||
) | ||
|
||
# quad jet trigger objects | ||
rootTupleTriggerObjectQuadJets = cms.EDProducer("BristolNTuple_TriggerObjects", | ||
HLTObjectsInputTag = cms.InputTag('hltTriggerSummaryAOD','','HLT'), | ||
Prefix=cms.string('TriggerObjectQuadJets.'), | ||
Suffix=cms.string(''), | ||
HLTObjectOfInterest = cms.InputTag('hltQuadJet70','','HLT'), # from QuadJet70 trigger | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.