1#include "DQM/HcalVetoResults.h"
13 std::vector<TH1 *> hists_HCALsector = {
histograms_.
get(
"max_section")};
16 std::vector<std::string> labels_HCALsector = {
"HCAL BACK",
23 for (
int ilabel{1}; ilabel < labels_HCALsector.size(); ++ilabel) {
24 for (
auto &hist : hists_HCALsector) {
25 hist->GetXaxis()->SetBinLabel(ilabel,
26 labels_HCALsector[ilabel - 1].c_str());
36 auto veto_passed = hcal_veto.passesVeto();
37 auto total_pe = hcal_veto.getTotalPE();
38 auto num_valid_hits = hcal_veto.getNumValidHits();
39 auto max_pe_hit = hcal_veto.getMaxPEHit();
40 auto max_pe = max_pe_hit.getPE();
41 auto max_section = max_pe_hit.getSection();
42 auto max_pos_z = max_pe_hit.getZPos();
#define DECLARE_ANALYZER_NS(NS, CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
Class used to encapsulate the results obtained from HcalVetoProcessor.
std::string hcal_veto_pass_
Pass Name for veto object.
virtual void analyze(const framework::Event &event)
Fills histograms.
std::string hcal_veto_name_
Collection Name for veto object.
virtual void onProcessStart()
Things to do only on process start.
virtual void configure(framework::config::Parameters &ps)
Input python configuration parameters.
HistogramHelper histograms_
Interface class for making and filling histograms.
Implements an event buffer system for storing event data.
TH1 * get(const std::string &name)
Get a pointer to a histogram by name.
void fill(const std::string &name, const double &val)
Fill a 1D histogram.
Class encapsulating parameters for configuring a processor.