54 edm::LogWarning(
"B2GHadronicHLTValidation") <<
"Jets collection not found \n";
55 unsigned int nGoodJ = 0;
90 edm::LogWarning(
"B2GHadronicHLTValidation") <<
"Trigger collection not found \n";
92 bool isInteresting =
false;
95 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
96 if (name.Contains(TString(
vsPaths_[
j]), TString::kIgnoreCase)) {
105 if (
isAll_ && isInteresting)
116 for (
unsigned int idx = 0; idx <
vsPaths_.size(); ++idx) {
123 for (
unsigned int i = 0;
i <
triggerNames.triggerNames().size(); ++
i) {
125 for (
unsigned int j = 0;
j <
vsPaths_.size();
j++) {
126 if (name.Contains(TString(
vsPaths_[
j]), TString::kIgnoreCase)) {
142 unsigned int nPaths =
vsPaths_.size();
MonitorElement * hNumJetEta
virtual void setCurrentFolder(std::string const &fullpath)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * hDenJetPt
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * hNumTriggerMon
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edm::TriggerResults > tokTrigger_
void addDefault(ParameterSetDescription const &psetDescription)
void triggerBinLabels(const std::vector< std::string > &labels)
set configurable labels for trigger monitoring histograms
MonitorElement * hDenJetEta
bool isNonnull() const
Checks for non-null.
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
MonitorElement * hDenTriggerMon
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< edm::View< reco::Jet > > tokJets_
edm::Ptr< reco::Jet > jet_
std::vector< std::string > vsPaths_
MonitorElement * hNumJetPt