11#include <boost/format.hpp>
26#include <dqm/core/DQMHistAnalysis.h>
27#include <cdc/geometry/CDCGeometryParConstants.h>
65 void event()
override final;
70 void endRun()
override final;
122 void fitHistogram(TH1D*& temphist, std::string& status);
131 void setHistPars(TH2D* hist, TH1F* hmean, TH1F* hsigma,
int nbin);
141 void drawHistPars(TH1F* hist,
int nbin,
double pars,
double fac, std::string var);
167 void setPadStyle(
double l,
double r,
double t,
double b);
DQM analysis module grab canvases from DQM module and perform higher level operation like histogram f...
DQMHistAnalysisCDCDedxModule()
constructor
void drawDedxInjTime()
function to draw the dEdx vs injection time
void drawDedxCosPhi()
function to draw dEdx vs costh and phi
void initialize() override final
init function for default values
unsigned first
substring start value
void drawBandPlot()
function to dedx bands P
TLine * l_line
line for dedx mean
void drawWireStatus()
function to draw ADC-based dead wire status of CDC
void drawHistPars(TH1F *hist, int nbin, double pars, double fac, std::string var)
function to draw the histograms
int m_nhadevt
hadron events
unsigned last
substring last value
void setHistStyle(TH1 *obj)
function to set the style of histogram
std::string m_status
fit status
MonitoringObject * m_monObj
MonitoringObject for mirabelle.
void terminate() override final
terminating at the end of last run
void drawDedxInjTimeBin()
function to draw the mean/reso of dedx vs injection time
void event() override final
event by event function
TCanvas * c_ir_dedx
intra-run dedx status
void setHistPars(TH2D *hist, TH1F *hmean, TH1F *hsigma, int nbin)
function to set the mean and sigma histograms
std::string m_iexprun
info of exp/run
void endRun() override final
end of each run
TCanvas * c_pr_dedx
dedx dist+fit
void setPadStyle(double l, double r, double t, double b)
function to reset pad margins
void getMetadata()
function to get metadata from histogram
void setBEvtInfo(TPaveText *pt)
function to set the bhabha event info
double m_dbrg
previous run gain
void beginRun() override final
begin each run
int m_nbhabhaevt
bhabha events
void drawDedxPR()
function to draw dEdx+Fit
void fitHistogram(TH1D *&temphist, std::string &status)
function to fit gaussian dist.
void drawDedxIR()
function to draw dEdx+Fit for run variation
void setTextStyle(TPaveText *&obj)
function to add text style
std::string mmode
monitoring mode all/basic
void setPlotStyle()
function to add plot style
The base class for the histogram analysis module.
MonitoringObject is a basic object to hold data for the run-dependency monitoring Run summary TCanvas...
Abstract base class for different kinds of events.