#include <HLTHiggsSubAnalysis.h>
Public Types | |
enum | { GEN, RECO } |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iEventSetup, EVTColContainer *cols) |
void | beginJob () |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iEventSetup) |
void | bookHistograms (DQMStore::IBooker &) |
const std::vector< unsigned int > | getObjectsType (const std::string &hltpath) const |
Extract what objects need this analysis. More... | |
HLTHiggsSubAnalysis (const edm::ParameterSet &pset, const std::string &analysisname, edm::ConsumesCollector &&iC) | |
~HLTHiggsSubAnalysis () | |
Private Member Functions | |
void | bookHist (const std::string &source, const std::string &objType, const std::string &variable, DQMStore::IBooker &) |
void | bookobjects (const edm::ParameterSet &anpset, edm::ConsumesCollector &iC) |
void | fillHist (const std::string &source, const std::string &objType, const std::string &variable, const float &value) |
void | initAndInsertJets (const edm::Event &iEvent, EVTColContainer *cols, std::vector< MatchStruct > *matches) |
void | initobjects (const edm::Event &iEvent, EVTColContainer *col) |
void | InitSelector (const unsigned int &objtype) |
void | insertcandidates (const unsigned int &objtype, const EVTColContainer *col, std::vector< MatchStruct > *matches) |
void | passJetCuts (std::vector< MatchStruct > *matches, std::map< std::string, bool > &jetCutResult, float &dEtaqq, float &mqq, float &dPhibb, float &CSV1, float &CSV2, float &CSV3) |
void | passOtherCuts (const std::vector< MatchStruct > &matches, std::map< std::string, bool > &jetCutResult) |
Generate histograms for trigger efficiencies Higgs related Documentation available on the CMS TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/HiggsWGHLTValidate
Definition at line 58 of file HLTHiggsSubAnalysis.h.
Definition at line 60 of file HLTHiggsSubAnalysis.h.
Definition at line 61 of file HLTHiggsSubAnalysis.h.
anonymous enum |
Enumerator | |
---|---|
GEN | |
RECO |
Definition at line 63 of file HLTHiggsSubAnalysis.h.
HLTHiggsSubAnalysis::HLTHiggsSubAnalysis | ( | const edm::ParameterSet & | pset, |
const std::string & | analysisname, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 28 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _bookHtPlots, _cutMaxEta, _cutMinPt, _genCut, _hltPathsToCheck, _HtJetEtaMax, _HtJetPtMin, _minCandidates, _NminOneCuts, _parametersHt, _parametersTurnOn, _pset, _puSummaryInfo, _recCut, _recLabels, _useNminOneCuts, edm::ParameterSet::addParameter(), bookobjects(), edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), beamvalidation::exit(), edm::ParameterSet::getParameter(), EVTColContainer::getTypeString(), edm::ParameterSet::getUntrackedParameter(), NptPlots, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
HLTHiggsSubAnalysis::~HLTHiggsSubAnalysis | ( | ) |
Definition at line 160 of file HLTHiggsSubAnalysis.cc.
References _genJetSelector, _genSelectorMap, _recCaloMETSelector, _recElecSelector, _recMuonSelector, _recPFJetSelector, _recPFMETSelector, _recPFTauSelector, _recPhotonSelector, _recTrackSelector, and genParticles_cff::map.
void HLTHiggsSubAnalysis::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iEventSetup, | ||
EVTColContainer * | cols | ||
) |
Definition at line 366 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _bookHtPlots, _elements, _genCut, _genJetLabel, _genJetSelector, _genSelectorMap, _hltPathsToCheck, _HtJetEtaMax, _HtJetPtMin, _minCandidates, _NminOneCuts, _puSummaryInfo, _recLabels, _recoHtJetLabel, _shortpath2long, _useNminOneCuts, edm::HLTGlobalStatus::accept(), cms::cuda::co, PVValHelper::eta, fillHist(), GEN, EVTColContainer::genJets, EVTColContainer::genParticles, EVTColContainer::getTypeString(), TriggerAnalyzer::hltPath, mps_fire::i, iEvent, initAndInsertJets(), initobjects(), InitSelector(), insertcandidates(), edm::HandleBase::isValid(), dqmiolumiharvest::j, genParticles_cff::map, oniaPATMuonsWithTrigger_cff::matches, L1TPhase2Offline_cfi::maxPt, NptPlots, electrons_cff::objType, passJetCuts(), passOtherCuts(), EVTColContainer::PFJET, EVTColContainer::PFMET, phi, DiDispStaMuonMonitor_cfi::pt, RECO, jetUpdater_cfi::sort, source, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, EVTColContainer::triggerResults, and trigNames.
void HLTHiggsSubAnalysis::beginJob | ( | void | ) |
Definition at line 187 of file HLTHiggsSubAnalysis.cc.
void HLTHiggsSubAnalysis::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iEventSetup | ||
) |
Definition at line 189 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _hltConfig, _hltPaths, _hltPathsToCheck, _hltProcessName, _NminOneCuts, _pset, _recLabels, _shortpath2long, ramdisk_dqm_sourceclient-live_cfg::analyzer, beamvalidation::exit(), spr::find(), newFWLiteAna::found, getObjectsType(), EVTColContainer::getTypeString(), mps_fire::i, HLTConfigProvider::init(), dqmiolumiharvest::j, LogDebug, LogTrace, NptPlots, castor_dqm_sourceclient_file_cfg::path, topSingleLeptonDQM_PU_cfi::pattern, AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerNames().
|
private |
Definition at line 858 of file HLTHiggsSubAnalysis.cc.
References _elements, _parametersEta, _parametersPhi, _parametersTurnOn, dqm::implementation::IBooker::book1D(), submitPVResolutionJobs::desc, SelectiveReadoutTask_cfi::edges, EVTColContainer::getTypeString(), h, mps_fire::i, createfilelist::int, SiStripPI::max, SiStripPI::min, Skims_PA_cff::name, seedmultiplicitymonitor_newtracking_cfi::nBins, electrons_cff::objType, submitPVValidationJobs::params, EVTColContainer::PFJET, EVTColContainer::PFMET, source, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and taus_updatedMVAIds_cff::variable.
Referenced by bookHistograms().
void HLTHiggsSubAnalysis::bookHistograms | ( | DQMStore::IBooker & | ibooker | ) |
Definition at line 258 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _bookHtPlots, _elements, _histDirectory, _hltPathsToCheck, _NminOneCuts, _parametersHt, _parametersPu, _recLabels, _useNminOneCuts, ALCARECODTCalibSynchDQM_cff::baseDir, dqm::implementation::IBooker::book1D(), bookHist(), EVTColContainer::getTypeString(), mps_fire::i, createfilelist::int, dqmiolumiharvest::j, L1TPhase2Offline_cfi::maxPt, MTVHistoProducerAlgoForTrackerBlock_cfi::maxPu, HLT_2022v11_cff::minHt, MTVHistoProducerAlgoForTrackerBlock_cfi::minPu, NptPlots, castor_dqm_sourceclient_file_cfg::path, EVTColContainer::PFJET, dqm::implementation::NavigatorBase::setCurrentFolder(), source, CalibrationSummaryClient_cfi::sources, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 740 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _genJetSelector, _genSelectorMap, _recLabels, _recLabelsCaloMET, _recLabelsElec, _recLabelsMuon, _recLabelsPFJet, _recLabelsPFMET, _recLabelsPFTau, _recLabelsPhoton, _recTagPFJet, EVTColContainer::CALOMET, edm::ConsumesCollector::consumes(), EVTColContainer::ELEC, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), EVTColContainer::MUON, EVTColContainer::PFJET, EVTColContainer::PFMET, EVTColContainer::PFTAU, EVTColContainer::PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 961 of file HLTHiggsSubAnalysis.cc.
References _elements, Skims_PA_cff::name, electrons_cff::objType, source, AlCaHLTBitMon_QueryRunRegistry::string, and taus_updatedMVAIds_cff::variable.
Referenced by analyze().
const std::vector< unsigned int > HLTHiggsSubAnalysis::getObjectsType | ( | const std::string & | hltpath | ) | const |
Extract what objects need this analysis.
Definition at line 698 of file HLTHiggsSubAnalysis.cc.
References EVTColContainer::CALOMET, EVTColContainer::ELEC, EVTColContainer::getTypeString(), TriggerAnalyzer::hltPath, mps_fire::i, EVTColContainer::MUON, EVTColContainer::PFJET, EVTColContainer::PFMET, EVTColContainer::PFTAU, EVTColContainer::PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginRun().
|
private |
Definition at line 999 of file HLTHiggsSubAnalysis.cc.
References _recLabelsPFJet, _recPFJetSelector, _recTagPFJet, _useNminOneCuts, TtFullHadHypKinFit_cfi::bTag, iEvent, oniaPATMuonsWithTrigger_cff::matches, EVTColContainer::PFJET, edm::Handle< T >::product(), and EVTColContainer::set().
Referenced by analyze().
|
private |
Definition at line 792 of file HLTHiggsSubAnalysis.cc.
References _genJetLabel, _genParticleLabel, _recLabels, _recLabelsCaloMET, _recLabelsElec, _recLabelsMuon, _recLabelsPFMET, _recLabelsPFTau, _recLabelsPhoton, _trigResultsTag, _useNminOneCuts, EVTColContainer::CALOMET, cuy::col, EVTColContainer::ELEC, iEvent, edm::HandleBase::isValid(), EVTColContainer::MUON, EVTColContainer::PFJET, EVTColContainer::PFMET, EVTColContainer::PFTAU, EVTColContainer::PHOTON, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 973 of file HLTHiggsSubAnalysis.cc.
References _recCaloMETSelector, _recCut, _recElecSelector, _recMuonSelector, _recPFJetSelector, _recPFMETSelector, _recPFTauSelector, _recPhotonSelector, EVTColContainer::CALOMET, EVTColContainer::ELEC, EVTColContainer::MUON, EVTColContainer::PFJET, EVTColContainer::PFMET, EVTColContainer::PFTAU, and EVTColContainer::PHOTON.
Referenced by analyze().
|
private |
Definition at line 1141 of file HLTHiggsSubAnalysis.cc.
References _recCaloMETSelector, _recElecSelector, _recMuonSelector, _recPFMETSelector, _recPFTauSelector, _recPhotonSelector, EVTColContainer::CALOMET, EVTColContainer::caloMETs, EVTColContainer::ELEC, EVTColContainer::electrons, mps_fire::i, oniaPATMuonsWithTrigger_cff::matches, EVTColContainer::MUON, EVTColContainer::muons, electrons_cff::objType, EVTColContainer::PFMET, EVTColContainer::pfMETs, EVTColContainer::PFTAU, EVTColContainer::pfTaus, EVTColContainer::PHOTON, and EVTColContainer::photons.
Referenced by analyze().
|
private |
Definition at line 1026 of file HLTHiggsSubAnalysis.cc.
References _NminOneCuts, PVValHelper::eta, mps_fire::i, createfilelist::int, oniaPATMuonsWithTrigger_cff::matches, L1TPhase2Offline_cfi::maxPt, ECF_cff::Njets, NptPlots, phi, jetUpdater_cfi::sort, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 1127 of file HLTHiggsSubAnalysis.cc.
References _NminOneCuts, oniaPATMuonsWithTrigger_cff::matches, and EVTColContainer::PFMET.
Referenced by analyze().
|
private |
Definition at line 96 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), bookobjects(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 169 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), and bookHistograms().
|
private |
Definition at line 104 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookHistograms(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 143 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 142 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 144 of file HLTHiggsSubAnalysis.h.
|
private |
Definition at line 145 of file HLTHiggsSubAnalysis.h.
|
private |
Definition at line 172 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookHist(), bookHistograms(), and fillHist().
|
private |
gen/rec objects cuts
Definition at line 147 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 120 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and initobjects().
|
private |
Definition at line 153 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookobjects(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 119 of file HLTHiggsSubAnalysis.h.
Referenced by initobjects().
|
private |
The concrete String selectors (use the string cuts introduced via the config python)
Definition at line 152 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookobjects(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 107 of file HLTHiggsSubAnalysis.h.
Referenced by bookHistograms().
|
private |
Definition at line 171 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
the hlt paths found in the hltConfig
Definition at line 112 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
the hlt paths with regular expressions
Definition at line 110 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 106 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
Definition at line 102 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 101 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
The minimum number of reco/gen candidates needed by the analysis.
Definition at line 99 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 164 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), HLTHiggsSubAnalysis(), passJetCuts(), and passOtherCuts().
|
private |
Some kinematical parameters.
Definition at line 135 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist().
|
private |
Definition at line 138 of file HLTHiggsSubAnalysis.h.
Referenced by bookHistograms(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 136 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist().
|
private |
Definition at line 137 of file HLTHiggsSubAnalysis.h.
Referenced by bookHistograms().
|
private |
Definition at line 139 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 94 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 132 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 156 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 148 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis(), and InitSelector().
|
private |
Definition at line 155 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 123 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), bookobjects(), HLTHiggsSubAnalysis(), and initobjects().
|
private |
Definition at line 127 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 125 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 124 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 130 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initAndInsertJets().
|
private |
Definition at line 128 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 129 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 126 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 154 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 121 of file HLTHiggsSubAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 160 of file HLTHiggsSubAnalysis.h.
Referenced by initAndInsertJets(), InitSelector(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 157 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 158 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 159 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 131 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initAndInsertJets().
|
private |
Definition at line 161 of file HLTHiggsSubAnalysis.h.
Referenced by ~HLTHiggsSubAnalysis().
|
private |
Relation between the short version of a path.
Definition at line 115 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 140 of file HLTHiggsSubAnalysis.h.
Referenced by initobjects().
|
private |
Definition at line 165 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookHistograms(), HLTHiggsSubAnalysis(), initAndInsertJets(), and initobjects().
|
private |
Definition at line 166 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), HLTHiggsSubAnalysis(), and passJetCuts().