1#ifndef HCALPEDESTALANALYZER_H
2#define HCALPEDESTALANALYZER_H
4#include "DetDescr/HcalDigiID.h"
10 std::string input_name_, input_pass_;
11 std::string output_file_, comments_;
15 int low_cutoff_, high_cutoff_;
34 std::map<ldmx::HcalDigiID, Channel> pedestal_data_;
44 input_name_ = ps.
getParameter<std::string>(
"input_name");
45 input_pass_ = ps.
getParameter<std::string>(
"input_pass");
46 output_file_ = ps.
getParameter<std::string>(
"output_file");
49 make_histos_ = ps.
getParameter<
bool>(
"make_histos",
false);
51 filter_noTOT = ps.
getParameter<
bool>(
"filter_noTOT",
true);
52 filter_noTOA = ps.
getParameter<
bool>(
"filter_noTOA",
true);
Base classes for all user event processing components to extend.
Class that represents a digitized hit in a calorimeter cell readout by an HGCROC.
Base class for a module which does not produce a data product.
Analyzer(const std::string &name, Process &process)
Class constructor.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Class encapsulating parameters for configuring a processor.
T getParameter(const std::string &name) const
Retrieve the parameter of the given name.
void analyze(const framework::Event &event) override
Process the event and make histograms or summaries.
void onProcessEnd() override
Callback for the EventProcessor to take any necessary action when the processing of events finishes,...
void configure(framework::config::Parameters &ps) override
Callback for the EventProcessor to configure itself from the given set of parameters.
Extension of HcalAbstractID providing access to HCal digi information.
All classes in the ldmx-sw project use this namespace.
uint64_t sum
Sum of values.
int entries
Number of entries.
double sum_sq
Sum of values squared.
std::vector< int > rejects
counts of various rejections
std::vector< int > adcs
collection of hits accumulated to produce appropriately-binned histograms
TH1 * hist
Histogram, if used.