#include <HLTHiggsSubAnalysis.h>
Public Types | |
enum | { GEN, RECO } |
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 | 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) |
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 55 of file HLTHiggsSubAnalysis.h.
anonymous enum |
Enumerator | |
---|---|
GEN | |
RECO |
Definition at line 58 of file HLTHiggsSubAnalysis.h.
HLTHiggsSubAnalysis::HLTHiggsSubAnalysis | ( | const edm::ParameterSet & | pset, |
const std::string & | analysisname, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 32 of file HLTHiggsSubAnalysis.cc.
References _cutMaxEta, _cutMinPt, _genCut, _hltPathsToCheck, _minCandidates, _puSummaryInfo, _recCut, _recLabels, bookobjects(), edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), EVTColContainer::getTypeString(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
HLTHiggsSubAnalysis::~HLTHiggsSubAnalysis | ( | ) |
Definition at line 103 of file HLTHiggsSubAnalysis.cc.
References _genSelectorMap, _recCaloMETSelector, _recElecSelector, _recMuonSelector, _recPFTauSelector, _recPhotonSelector, _recTrackSelector, and python.multivaluedict::map().
void HLTHiggsSubAnalysis::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iEventSetup, | ||
EVTColContainer * | cols | ||
) |
Definition at line 290 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _elements, _genCut, _genSelectorMap, _hltPathsToCheck, _minCandidates, _puSummaryInfo, _recLabels, _shortpath2long, edm::HLTGlobalStatus::accept(), eta(), fillHist(), GEN, EVTColContainer::genParticles, edm::Event::getByToken(), EVTColContainer::getTypeString(), i, initobjects(), InitSelector(), insertcandidates(), edm::HandleBase::isValid(), j, python.multivaluedict::map(), phi, RecoTauCleanerPlugins::pt, RECO, edm::TriggerNames::size(), python.multivaluedict::sort(), source, AlCaHLTBitMon_QueryRunRegistry::string, edm::TriggerNames::triggerIndex(), edm::Event::triggerNames(), EVTColContainer::triggerResults, and trigNames.
void HLTHiggsSubAnalysis::beginJob | ( | void | ) |
Definition at line 126 of file HLTHiggsSubAnalysis.cc.
void HLTHiggsSubAnalysis::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iEventSetup | ||
) |
Definition at line 132 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _hltConfig, _hltPaths, _hltPathsToCheck, _hltProcessName, _pset, _recLabels, _shortpath2long, cmsRelvalreport::exit, spr::find(), newFWLiteAna::found, getObjectsType(), EVTColContainer::getTypeString(), i, HLTConfigProvider::init(), j, LogTrace, cmsHarvester::path, listBenchmarks::pattern, AlCaHLTBitMon_QueryRunRegistry::string, and HLTConfigProvider::triggerNames().
|
private |
Definition at line 613 of file HLTHiggsSubAnalysis.cc.
References _elements, _parametersEta, _parametersPhi, _parametersTurnOn, DQMStore::IBooker::book1D(), prof2calltree::edges, h, i, max(), bookConverter::min, mergeVDriftHistosByStation::name, source, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
Referenced by bookHistograms().
void HLTHiggsSubAnalysis::bookHistograms | ( | DQMStore::IBooker & | ibooker | ) |
Definition at line 222 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _analyzers, _elements, _hltPathsToCheck, _parametersPu, _recLabels, DQMStore::IBooker::book1D(), bookHist(), EVTColContainer::getTypeString(), i, j, max(), bookConverter::min, cmsHarvester::path, DQMStore::IBooker::setCurrentFolder(), source, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
|
private |
Definition at line 497 of file HLTHiggsSubAnalysis.cc.
References _analysisname, _genSelectorMap, _recLabels, _recLabelsCaloMET, _recLabelsElec, _recLabelsMuon, _recLabelsPFTau, _recLabelsPhoton, EVTColContainer::CALOMET, edm::ConsumesCollector::consumes(), EVTColContainer::ELEC, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), EVTColContainer::MUON, EVTColContainer::PFTAU, EVTColContainer::PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 649 of file HLTHiggsSubAnalysis.cc.
References _elements, mergeVDriftHistosByStation::name, source, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
const std::vector< unsigned int > HLTHiggsSubAnalysis::getObjectsType | ( | const std::string & | hltpath | ) | const |
Extract what objects need this analysis.
Definition at line 467 of file HLTHiggsSubAnalysis.cc.
References EVTColContainer::CALOMET, EVTColContainer::ELEC, EVTColContainer::getTypeString(), i, EVTColContainer::MUON, EVTColContainer::PFTAU, EVTColContainer::PHOTON, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginRun().
|
private |
Definition at line 545 of file HLTHiggsSubAnalysis.cc.
References _genParticleLabel, _recLabels, _recLabelsCaloMET, _recLabelsElec, _recLabelsMuon, _recLabelsPFTau, _recLabelsPhoton, _trigResultsTag, EVTColContainer::CALOMET, EVTColContainer::ELEC, EVTColContainer::genParticles, edm::Event::getByToken(), EVTColContainer::isCommonInit(), edm::HandleBase::isValid(), EVTColContainer::MUON, EVTColContainer::PFTAU, EVTColContainer::PHOTON, edm::Handle< T >::product(), EVTColContainer::set(), and EVTColContainer::triggerResults.
Referenced by analyze().
|
private |
Definition at line 662 of file HLTHiggsSubAnalysis.cc.
References _recCaloMETSelector, _recCut, _recElecSelector, _recMuonSelector, _recPFTauSelector, _recPhotonSelector, EVTColContainer::CALOMET, EVTColContainer::ELEC, EVTColContainer::MUON, EVTColContainer::PFTAU, and EVTColContainer::PHOTON.
Referenced by analyze().
|
private |
Definition at line 694 of file HLTHiggsSubAnalysis.cc.
References _recCaloMETSelector, _recElecSelector, _recMuonSelector, _recPFTauSelector, _recPhotonSelector, EVTColContainer::CALOMET, EVTColContainer::caloMETs, EVTColContainer::ELEC, EVTColContainer::electrons, i, EVTColContainer::MUON, EVTColContainer::muons, EVTColContainer::PFTAU, EVTColContainer::pfTaus, EVTColContainer::PHOTON, and EVTColContainer::photons.
Referenced by analyze().
|
private |
Definition at line 91 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), and bookobjects().
|
private |
Definition at line 147 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), and bookHistograms().
|
private |
Definition at line 128 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 127 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis().
|
private |
Definition at line 129 of file HLTHiggsSubAnalysis.h.
|
private |
Definition at line 130 of file HLTHiggsSubAnalysis.h.
|
private |
Definition at line 151 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookHist(), bookHistograms(), and fillHist().
|
private |
gen/rec objects cuts
Definition at line 132 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 108 of file HLTHiggsSubAnalysis.h.
Referenced by initobjects().
|
private |
The concrete String selectors (use the string cuts introduced via the config python)
Definition at line 137 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), bookobjects(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 149 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
the hlt paths found in the hltConfig
Definition at line 101 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
the hlt paths with regular expressions
Definition at line 99 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 96 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
The minimum number of reco/gen candidates needed by the analysis.
Definition at line 94 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Some kinematical parameters.
Definition at line 120 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist().
|
private |
Definition at line 121 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist().
|
private |
Definition at line 122 of file HLTHiggsSubAnalysis.h.
Referenced by bookHistograms().
|
private |
Definition at line 123 of file HLTHiggsSubAnalysis.h.
Referenced by bookHist().
|
private |
Definition at line 89 of file HLTHiggsSubAnalysis.h.
Referenced by beginRun().
|
private |
Definition at line 116 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and HLTHiggsSubAnalysis().
|
private |
Definition at line 140 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 133 of file HLTHiggsSubAnalysis.h.
Referenced by HLTHiggsSubAnalysis(), and InitSelector().
|
private |
Definition at line 139 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 110 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), beginRun(), bookHistograms(), bookobjects(), HLTHiggsSubAnalysis(), and initobjects().
|
private |
Definition at line 114 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 112 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 111 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 115 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 113 of file HLTHiggsSubAnalysis.h.
Referenced by bookobjects(), and initobjects().
|
private |
Definition at line 138 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 141 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 142 of file HLTHiggsSubAnalysis.h.
Referenced by InitSelector(), insertcandidates(), and ~HLTHiggsSubAnalysis().
|
private |
Definition at line 143 of file HLTHiggsSubAnalysis.h.
Referenced by ~HLTHiggsSubAnalysis().
|
private |
Relation between the short version of a path.
Definition at line 104 of file HLTHiggsSubAnalysis.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 124 of file HLTHiggsSubAnalysis.h.
Referenced by initobjects().