#include <HLTHiggsPlotter.h>
Public Member Functions | |
void | analyze (const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, const unsigned int &minCandidates) |
void | analyze (const bool &isPassTrigger, const std::string &source, const std::vector< MatchStruct > &matches, std::map< std::string, bool > &nMinOne, const float &dEtaqq, const float &mqq, const float &dPhibb, const float &CSV1, const float &CSV2, const float &CSV3, const bool &passAllCuts) |
void | beginJob () |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookHistograms (DQMStore::IBooker &, const bool &) |
const std::string | gethltpath () const |
HLTHiggsPlotter (const edm::ParameterSet &pset, const std::string &hltPath, const std::vector< unsigned int > &objectsType, const unsigned int &minCandidates, const std::vector< double > &NminOneCuts) | |
~HLTHiggsPlotter () | |
Private Member Functions | |
void | bookHist (const std::string &source, const std::string &objType, const std::string &variable, DQMStore::IBooker &) |
void | fillHist (const bool &passTrigger, const std::string &source, const std::string &objType, const std::string &var, const float &value) |
Private Attributes | |
std::map< unsigned int, double > | _cutMaxEta |
std::map< unsigned int, double > | _cutMinPt |
std::map< unsigned int, unsigned int > | _cutMotherId |
std::map< unsigned int, std::vector< double > > | _cutsDr |
std::map< std::string, MonitorElement * > | _elements |
std::string | _hltPath |
std::string | _hltProcessName |
std::vector< double > | _NminOneCuts |
unsigned int | _nObjects |
unsigned int | _NptPlots |
std::set< unsigned int > | _objectsType |
std::vector< double > | _parametersEta |
std::vector< double > | _parametersPhi |
std::vector< double > | _parametersTurnOn |
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 47 of file HLTHiggsPlotter.h.
HLTHiggsPlotter::HLTHiggsPlotter | ( | const edm::ParameterSet & | pset, |
const std::string & | hltPath, | ||
const std::vector< unsigned int > & | objectsType, | ||
const unsigned int & | minCandidates, | ||
const std::vector< double > & | NminOneCuts | ||
) |
Definition at line 25 of file HLTHiggsPlotter.cc.
References _cutMaxEta, _cutMinPt, _objectsType, edm::ParameterSet::getParameter(), EVTColContainer::getTypeString(), and AlCaHLTBitMon_QueryRunRegistry::string.
HLTHiggsPlotter::~HLTHiggsPlotter | ( | ) |
Definition at line 50 of file HLTHiggsPlotter.cc.
void HLTHiggsPlotter::analyze | ( | const bool & | isPassTrigger, |
const std::string & | source, | ||
const std::vector< MatchStruct > & | matches, | ||
const unsigned int & | minCandidates | ||
) |
Definition at line 111 of file HLTHiggsPlotter.cc.
References _NptPlots, _objectsType, eta, fillHist(), EVTColContainer::getTypeString(), j, phi, EnergyCorrector::pt, and AlCaHLTBitMon_QueryRunRegistry::string.
void HLTHiggsPlotter::analyze | ( | const bool & | isPassTrigger, |
const std::string & | source, | ||
const std::vector< MatchStruct > & | matches, | ||
std::map< std::string, bool > & | nMinOne, | ||
const float & | dEtaqq, | ||
const float & | mqq, | ||
const float & | dPhibb, | ||
const float & | CSV1, | ||
const float & | CSV2, | ||
const float & | CSV3, | ||
const bool & | passAllCuts | ||
) |
Definition at line 175 of file HLTHiggsPlotter.cc.
References _NminOneCuts, _NptPlots, _objectsType, eta, fillHist(), EVTColContainer::getTypeString(), j, EVTColContainer::PFJET, EVTColContainer::PFMET, phi, EnergyCorrector::pt, and AlCaHLTBitMon_QueryRunRegistry::string.
void HLTHiggsPlotter::beginJob | ( | void | ) |
Definition at line 55 of file HLTHiggsPlotter.cc.
void HLTHiggsPlotter::beginRun | ( | const edm::Run & | iRun, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 61 of file HLTHiggsPlotter.cc.
|
private |
Definition at line 258 of file HLTHiggsPlotter.cc.
References _elements, _hltPath, _parametersEta, _parametersPhi, _parametersTurnOn, DQMStore::IBooker::book1D(), EVTColContainer::getTypeString(), h, i, bookConverter::max, min(), mergeVDriftHistosByStation::name, EVTColContainer::PFJET, EVTColContainer::PFMET, source, AlCaHLTBitMon_QueryRunRegistry::string, and SiPixelPhase1TrackClusters_cfi::title.
Referenced by bookHistograms().
void HLTHiggsPlotter::bookHistograms | ( | DQMStore::IBooker & | ibooker, |
const bool & | useNminOneCuts | ||
) |
Definition at line 67 of file HLTHiggsPlotter.cc.
References _NminOneCuts, _NptPlots, _objectsType, bookHist(), EVTColContainer::getTypeString(), i, EVTColContainer::PFJET, source, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 377 of file HLTHiggsPlotter.cc.
References _elements, _hltPath, mergeVDriftHistosByStation::name, source, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
inline |
|
private |
Definition at line 85 of file HLTHiggsPlotter.h.
Referenced by HLTHiggsPlotter().
|
private |
Definition at line 84 of file HLTHiggsPlotter.h.
Referenced by HLTHiggsPlotter().
|
private |
Definition at line 86 of file HLTHiggsPlotter.h.
|
private |
Definition at line 87 of file HLTHiggsPlotter.h.
|
private |
Definition at line 95 of file HLTHiggsPlotter.h.
Referenced by bookHist(), and fillHist().
|
private |
Definition at line 72 of file HLTHiggsPlotter.h.
Referenced by bookHist(), fillHist(), and gethltpath().
|
private |
Definition at line 74 of file HLTHiggsPlotter.h.
|
private |
Definition at line 93 of file HLTHiggsPlotter.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 78 of file HLTHiggsPlotter.h.
|
private |
Definition at line 90 of file HLTHiggsPlotter.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 76 of file HLTHiggsPlotter.h.
Referenced by analyze(), bookHistograms(), and HLTHiggsPlotter().
|
private |
Definition at line 80 of file HLTHiggsPlotter.h.
Referenced by bookHist().
|
private |
Definition at line 81 of file HLTHiggsPlotter.h.
Referenced by bookHist().
|
private |
Definition at line 82 of file HLTHiggsPlotter.h.
Referenced by bookHist().