-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 #6089 from aelwood/alphaT-HLTDQM-73X
Alpha T DQM module for 73X
- Loading branch information
Showing
13 changed files
with
478 additions
and
1 deletion.
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
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,21 @@ | ||
<library file="*.cc" name="HLTriggerJetMETPlugins"> | ||
<use name="DataFormats/Common"/> | ||
<use name="DataFormats/HLTReco"/> | ||
<use name="DataFormats/HcalRecHit"/> | ||
<use name="DataFormats/JetReco"/> | ||
<use name="DataFormats/METReco"/> | ||
<use name="DataFormats/Math"/> | ||
<use name="Geometry/Records"/> | ||
<use name="Geometry/CaloTopology"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="FWCore/Utilities"/> | ||
<use name="RecoMET/METAlgorithms"/> | ||
<use name="HLTrigger/HLTcore"/> | ||
<use name="RecoJets/JetProducers"/> | ||
<use name="TrackingTools/IPTools"/> | ||
<use name="TrackingTools/TransientTrack"/> | ||
<flags EDM_PLUGIN="1"/> | ||
</library> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,89 @@ | ||
#ifndef SUSY_HLT_alphaT_H | ||
#define SUSY_HLT_alphaT_H | ||
|
||
//event | ||
#include "FWCore/Framework/interface/Event.h" | ||
#include "FWCore/Framework/interface/EventSetup.h" | ||
|
||
//DQM | ||
#include "DQMServices/Core/interface/DQMEDAnalyzer.h" | ||
#include "DQMServices/Core/interface/DQMStore.h" | ||
#include "DQMServices/Core/interface/MonitorElement.h" | ||
|
||
//Muon | ||
#include "DataFormats/MuonReco/interface/Muon.h" | ||
#include "DataFormats/MuonReco/interface/MuonFwd.h" | ||
|
||
|
||
// MET | ||
#include "DataFormats/METReco/interface/PFMET.h" | ||
#include "DataFormats/METReco/interface/PFMETCollection.h" | ||
#include "DataFormats/METReco/interface/CaloMET.h" | ||
#include "DataFormats/METReco/interface/CaloMETCollection.h" | ||
|
||
// Jets | ||
#include "DataFormats/JetReco/interface/PFJet.h" | ||
#include "DataFormats/JetReco/interface/CaloJet.h" | ||
|
||
// Trigger | ||
#include "DataFormats/Common/interface/TriggerResults.h" | ||
#include "DataFormats/HLTReco/interface/TriggerObject.h" | ||
#include "DataFormats/HLTReco/interface/TriggerEvent.h" | ||
#include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h" | ||
#include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h" | ||
#include "HLTrigger/HLTcore/interface/HLTConfigProvider.h" | ||
|
||
#include "HLTrigger/JetMET/interface/AlphaT.h" | ||
|
||
class SUSY_HLT_alphaT: public DQMEDAnalyzer{ | ||
|
||
public: | ||
SUSY_HLT_alphaT(const edm::ParameterSet& ps); | ||
virtual ~SUSY_HLT_alphaT(); | ||
|
||
protected: | ||
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override; | ||
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override; | ||
void analyze(edm::Event const& e, edm::EventSetup const& eSetup); | ||
void beginLuminosityBlock(edm::LuminosityBlock const& lumi, edm::EventSetup const& eSetup) ; | ||
void endLuminosityBlock(edm::LuminosityBlock const& lumi, edm::EventSetup const& eSetup); | ||
void endRun(edm::Run const& run, edm::EventSetup const& eSetup); | ||
|
||
private: | ||
//histos booking function | ||
void bookHistos(DQMStore::IBooker &); | ||
|
||
//variables from config file | ||
//edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollection_; | ||
edm::EDGetTokenT<reco::CaloMETCollection> theCaloMETCollection_; | ||
//edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_; | ||
edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_; | ||
edm::EDGetTokenT<edm::TriggerResults> triggerResults_; | ||
edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_; | ||
|
||
|
||
HLTConfigProvider fHltConfig; | ||
|
||
std::string HLTProcess_; | ||
std::string triggerPath_; | ||
std::string triggerPathAuxiliaryForMuon_; | ||
std::string triggerPathAuxiliaryForHadronic_; | ||
edm::InputTag triggerFilter_; | ||
double ptThrJet_; | ||
double etaThrJet_; | ||
double alphaTThrTurnon_; | ||
double htThrTurnon_; | ||
|
||
// Histograms | ||
MonitorElement* h_triggerHt; | ||
//MonitorElement* h_triggerMht; | ||
MonitorElement* h_triggerAlphaT; | ||
MonitorElement* h_triggerAlphaT_triggerHt; | ||
MonitorElement* h_alphaTTurnOn_num; | ||
MonitorElement* h_alphaTTurnOn_den; | ||
MonitorElement* h_htTurnOn_num; | ||
MonitorElement* h_htTurnOn_den; | ||
|
||
}; | ||
|
||
#endif |
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,112 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
SUSY_HLT_HT200_alphaT0p57 = cms.EDAnalyzer("SUSY_HLT_alphaT", | ||
trigSummary = cms.InputTag("hltTriggerSummaryAOD",'', 'HLT'), #to use with test sample | ||
#trigSummary = cms.InputTag("hltTriggerSummaryAOD"), | ||
#pfMETCollection = cms.InputTag("pfMet"), | ||
caloJetCollection = cms.InputTag("ak4CaloJets"), | ||
#caloJetCollection = cms.InputTag("hltAK4CaloJets"), | ||
#pfJetCollection = cms.InputTag("ak4PFJetsCHS"), | ||
TriggerResults = cms.InputTag('TriggerResults','','HLT'), #to use with test sample | ||
#TriggerResults = cms.InputTag('TriggerResults','','HLT'), | ||
HLTProcess = cms.string('HLT'), | ||
TriggerPath = cms.string('HLT_HT200_DiJet90_AlphaT0p57_v1'), | ||
TriggerPathAuxiliaryForHadronic = cms.string('HLT_IsoTkMu24_eta2p1_IterTrk02_v1'), | ||
TriggerFilter = cms.InputTag('hltHT200CaloAlphaT0p57', '', 'HLT'), #the last filter in the path | ||
PtThrJet = cms.untracked.double(40.0), | ||
EtaThrJet = cms.untracked.double(3.0), | ||
alphaTThrTurnon = cms.untracked.double(0.59), | ||
htThrTurnon = cms.untracked.double(225), | ||
) | ||
|
||
SUSY_HLT_HT250_alphaT0p55 = cms.EDAnalyzer("SUSY_HLT_alphaT", | ||
trigSummary = cms.InputTag("hltTriggerSummaryAOD",'', 'HLT'), #to use with test sample | ||
#trigSummary = cms.InputTag("hltTriggerSummaryAOD"), | ||
#pfMETCollection = cms.InputTag("pfMet"), | ||
#pfJetCollection = cms.InputTag("ak4PFJetsCHS"), | ||
caloJetCollection = cms.InputTag("ak4CaloJets"), | ||
#caloJetCollection = cms.InputTag("hltAK4CaloJets"), | ||
TriggerResults = cms.InputTag('TriggerResults','','HLT'), #to use with test sample | ||
#TriggerResults = cms.InputTag('TriggerResults','','HLT'), | ||
HLTProcess = cms.string('HLT'), | ||
TriggerPath = cms.string('HLT_HT250_DiJet90_AlphaT0p55_v1'), | ||
TriggerPathAuxiliaryForHadronic = cms.string('HLT_IsoTkMu24_eta2p1_IterTrk02_v1'), | ||
TriggerFilter = cms.InputTag('hltHT250CaloAlphaT0p55', '', 'HLT'), #the last filter in the path | ||
PtThrJet = cms.untracked.double(40.0), | ||
EtaThrJet = cms.untracked.double(3.0), | ||
alphaTThrTurnon = cms.untracked.double(0.57), | ||
htThrTurnon = cms.untracked.double(275), | ||
) | ||
|
||
SUSY_HLT_HT300_alphaT0p53 = cms.EDAnalyzer("SUSY_HLT_alphaT", | ||
trigSummary = cms.InputTag("hltTriggerSummaryAOD",'', 'HLT'), #to use with test sample | ||
#trigSummary = cms.InputTag("hltTriggerSummaryAOD"), | ||
#pfMETCollection = cms.InputTag("pfMet"), | ||
#pfJetCollection = cms.InputTag("ak4PFJetsCHS"), | ||
caloJetCollection = cms.InputTag("ak4CaloJets"), | ||
#caloJetCollection = cms.InputTag("hltAK4CaloJets"), | ||
TriggerResults = cms.InputTag('TriggerResults','','HLT'), #to use with test sample | ||
#TriggerResults = cms.InputTag('TriggerResults','','HLT'), | ||
HLTProcess = cms.string('HLT'), | ||
TriggerPath = cms.string('HLT_HT300_DiJet90_AlphaT0p53_v1'), | ||
TriggerPathAuxiliaryForHadronic = cms.string('HLT_IsoTkMu24_eta2p1_IterTrk02_v1'), | ||
TriggerFilter = cms.InputTag('hltHT300CaloAlphaT0p53', '', 'HLT'), #the last filter in the path | ||
PtThrJet = cms.untracked.double(40.0), | ||
EtaThrJet = cms.untracked.double(3.0), | ||
alphaTThrTurnon = cms.untracked.double(0.55), | ||
htThrTurnon = cms.untracked.double(325), | ||
) | ||
|
||
SUSY_HLT_HT350_alphaT0p52 = cms.EDAnalyzer("SUSY_HLT_alphaT", | ||
trigSummary = cms.InputTag("hltTriggerSummaryAOD",'', 'HLT'), #to use with test sample | ||
#trigSummary = cms.InputTag("hltTriggerSummaryAOD"), | ||
#pfMETCollection = cms.InputTag("pfMet"), | ||
#pfJetCollection = cms.InputTag("ak4PFJetsCHS"), | ||
caloJetCollection = cms.InputTag("ak4CaloJets"), | ||
#caloJetCollection = cms.InputTag("hltAK4CaloJets"), | ||
TriggerResults = cms.InputTag('TriggerResults','','HLT'), #to use with test sample | ||
#TriggerResults = cms.InputTag('TriggerResults','','HLT'), | ||
HLTProcess = cms.string('HLT'), | ||
TriggerPath = cms.string('HLT_HT350_DiJet90_AlphaT0p52_v1'), | ||
TriggerPathAuxiliaryForHadronic = cms.string('HLT_IsoTkMu24_eta2p1_IterTrk02_v1'), | ||
TriggerFilter = cms.InputTag('hltHT350CaloAlphaT0p52', '', 'HLT'), #the last filter in the path | ||
PtThrJet = cms.untracked.double(40.0), | ||
EtaThrJet = cms.untracked.double(3.0), | ||
alphaTThrTurnon = cms.untracked.double(0.54), | ||
htThrTurnon = cms.untracked.double(375), | ||
) | ||
|
||
SUSY_HLT_HT400_alphaT0p51 = cms.EDAnalyzer("SUSY_HLT_alphaT", | ||
trigSummary = cms.InputTag("hltTriggerSummaryAOD",'', 'HLT'), #to use with test sample | ||
#trigSummary = cms.InputTag("hltTriggerSummaryAOD"), | ||
#pfMETCollection = cms.InputTag("pfMet"), | ||
#pfJetCollection = cms.InputTag("ak4PFJetsCHS"), | ||
caloJetCollection = cms.InputTag("ak4CaloJets"), | ||
#caloJetCollection = cms.InputTag("hltAK4CaloJets"), | ||
TriggerResults = cms.InputTag('TriggerResults','','HLT'), #to use with test sample | ||
#TriggerResults = cms.InputTag('TriggerResults','','HLT'), | ||
HLTProcess = cms.string('HLT'), | ||
TriggerPath = cms.string('HLT_HT400_DiJet90_AlphaT0p51_v1'), | ||
TriggerPathAuxiliaryForHadronic = cms.string('HLT_IsoTkMu24_eta2p1_IterTrk02_v1'), | ||
TriggerFilter = cms.InputTag('hltHT400CaloAlphaT0p51', '', 'HLT'), #the last filter in the path | ||
PtThrJet = cms.untracked.double(40.0), | ||
EtaThrJet = cms.untracked.double(3.0), | ||
alphaTThrTurnon = cms.untracked.double(0.53), | ||
htThrTurnon = cms.untracked.double(425), | ||
) | ||
|
||
SUSY_HLT_alphaT_POSTPROCESSING = cms.EDAnalyzer("DQMGenericClient", | ||
subDirs = cms.untracked.vstring("HLT/SUSYBSM/HLT_HT200_DiJet90_AlphaT0p57_v1", | ||
"HLT/SUSYBSM/HLT_HT250_DiJet90_AlphaT0p55_v1", | ||
"HLT/SUSYBSM/HLT_HT300_DiJet90_AlphaT0p53_v1", | ||
"HLT/SUSYBSM/HLT_HT350_DiJet90_AlphaT0p52_v1", | ||
"HLT/SUSYBSM/HLT_HT400_DiJet90_AlphaT0p51_v1", | ||
), | ||
|
||
verbose = cms.untracked.uint32(2), # Set to 2 for all messages | ||
resolution = cms.vstring(""), | ||
efficiency = cms.vstring( | ||
"htTurnOn_eff 'Turn-on vs HT; HT (GeV); #epsilon' htTurnOn_num htTurnOn_den", | ||
"alphaTTurnOn_eff 'Turn-on vs alpha T; AlphaT (GeV); #epsilon' alphaTTurnOn_num alphaTTurnOn_den", | ||
) | ||
) |
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.