7#ifndef TRIGSCINT_QIEANALYZER_H
8#define TRIGSCINT_QIEANALYZER_H
11#include "Framework/Configure/Parameters.h"
26 const std::string& name,
37 float convertToID(
float yVal) {
return (yVal + y_offset_) * y_to_id_factor_; }
40 std::vector<std::vector<TH1F*> > v_charge_vs_time_;
43 std::string input_col_;
44 std::string input_pass_name_{
""};
45 std::vector<double> peds_;
46 std::vector<double> gain_;
55 TH1F* h_out_[200][16];
58 TH2F* h_ped_subtracted_avg_q_vs_t_[16];
59 TH2F* h_ped_subtracted_tot_q_vs_ped_[16];
60 TH2F* h_ped_subtracted_tot_q_vs_n_[16];
61 TH2F* h_tot_q_vs_ped_[16];
62 TH2F* h_ped_subtracted_pe_vs_n_[16];
63 TH2F* h_ped_subtracted_pe_vs_t_[16];
64 TH2F* h_avg_q_vs_t_[16];
66 TH2F* h_tdc_fire_chan_vs_event_;
67 double y_offset_{35.};
68 double y_to_id_factor_{50. / 80.};
Base classes for all user event processing components to extend.
Class that stores full reconstructed (linearized) readout QIE sample from the TS.
Base class for a module which does not produce a data product.
virtual void process(Event &event) final
Processing an event for an Analyzer is calling analyze.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Class encapsulating parameters for configuring a processor.
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 onProcessStart() override
Callback for the EventProcessor to take any necessary action when the processing of events starts,...
void configure(framework::config::Parameters ¶meters) override
Callback for the EventProcessor to configure itself from the given set of parameters.