1#include "DQM/TrigScintClusterDQM.h"
37 passName_ = ps.
getParameter<std::string>(
"passName").c_str();
39 ldmx_log(info) <<
"In TrigScintClusterDQM::configure, got parameters "
41 <<
", pass = " << passName_;
47 const std::vector<ldmx::TrigScintCluster> TrigScintClusters =
66 totalPE += cluster.getPE();
#define DECLARE_ANALYZER_NS(NS, CLASS)
Macro which allows the framework to construct an analyzer given its name during configuration.
void configure(framework::config::Parameters &pSet)
Configure the processor using the given user specified parameters.
~TrigScintClusterDQM()
Destructor.
std::string clusterCollectionName_
Name of trigger pad cluster collection.
void analyze(const framework::Event &event)
Process the event and make histograms ro summaries.
TrigScintClusterDQM(const std::string &name, framework::Process &process)
Constructor.
void onProcessStart()
Method executed before processing of events begins.
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.
bool exists(const std::string &name, const std::string &passName="", bool unique=true) const
Check for the existence of an object or collection with the given name and pass name in the event.
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.
Stores cluster information from the trigger scintillator pads.
All classes in the ldmx-sw project use this namespace.