1#include "DQM/TrigScintHitDQM.h"
12 ldmx_log(debug) <<
"Process starts!";
32 "TrigScint noise hit multiplicity in the pad/event", 100,
36 1500, 0, 1500,
"TrigScint max PE hit time (ns)", 1500, 0,
40 "Photoelectrons in a TrigScint bar", 1500, 0, 1500,
41 "Earliest time of TrigScint hit above threshold (ns)",
52 ldmx_log(debug) <<
"In TrigScintHitDQM::configure, got parameters "
58 const std::vector<ldmx::TrigScintHit> TrigScintHits =
62 int hitCount = TrigScintHits.size();
66 int noiseHitCount = 0;
77 totalPE += hit.getPE();
78 if (hit.isNoise() > 0) {
#define DECLARE_ANALYZER_NS(NS, 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.
void configure(framework::config::Parameters &pSet)
Configure the processor using the given user specified parameters.
~TrigScintHitDQM()
Destructor.
std::string hitCollectionName_
Name of trigger pad hit collection.
TDirectory * getHistoDirectory()
Access/create a directory in the histogram file for this event processor to create histograms and ana...
HistogramHelper histograms_
Interface class for making and filling histograms.
Implements an event buffer system for storing event data.
void fill(const std::string &name, const double &val)
Fill a 1D histogram.
void create(const std::string &name, const std::string &xLabel, const double &bins, const double &xmin, const double &xmax)
Create a ROOT 1D histogram of type TH1F and pool it for later use.
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.
All classes in the ldmx-sw project use this namespace.