1#include "DQM/TrigScintHitDQM.h"
10 ldmx_log(debug) <<
"Process starts!";
30 "TrigScint noise hit multiplicity in the pad/event", 100,
34 1500, 0, 1500,
"TrigScint max PE hit time (ns)", 1500, 0,
38 "Photoelectrons in a TrigScint bar", 1500, 0, 1500,
39 "Earliest time of TrigScint hit above threshold (ns)",
48 pad_name_ = ps.
get<std::string>(
"pad").c_str();
50 trig_scint_passname_ = ps.
get<std::string>(
"trig_scint_passname");
52 ldmx_log(debug) <<
"In TrigScintHitDQM::configure, got parameters "
58 const std::vector<ldmx::TrigScintHit> trig_scint_hits =
60 trig_scint_passname_);
63 int hit_count = trig_scint_hits.size();
67 int noise_hit_count = 0;
78 total_pe += hit.getPE();
79 if (hit.isNoise() > 0) {
#define DECLARE_ANALYZER(CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
TrigScintHitDQM(const std::string &name, framework::Process &process)
Constructor.
void onProcessStart()
Method executed before processing of events begins.
void analyze(const framework::Event &event)
Process the event and make histograms ro summaries.
std::string hit_collection_name_
Name of trigger pad hit collection.
void configure(framework::config::Parameters &pSet)
Configure the processor using the given user specified parameters.
HistogramPool histograms_
helper object for making and filling histograms
TDirectory * getHistoDirectory()
Access/create a directory in the histogram file for this event processor to create histograms and ana...
Implements an event buffer system for storing event data.
void create(const config::Parameters &p)
Create a histogram from the input configuration parameters.
void fill(const std::string &name, const T &val)
Fill a 1D histogram.
Class which represents the process under execution.
Class encapsulating parameters for configuring a processor.
const T & get(const std::string &name) const
Retrieve the parameter of the given name.
All classes in the ldmx-sw project use this namespace.