11 #include <boost/format.hpp>
15 #include <TPaveText.h>
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()
funtion to draw dEdx vs costh and phi
void initialize() override final
init function for default values
unsigned first
substring start value
void drawBandPlot()
funtion to dedx bands P
TLine * l_line
line for dedx mean
void drawWireStatus()
funtion to draw ADC-based dead wire status of CDC
void drawHistPars(TH1F *hist, int nbin, double pars, double fac, std::string var)
funtion to draw the histograms
int m_nhadevt
hadron events
unsigned last
substring last value
void setHistStyle(TH1 *obj)
funtion 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()
funtion 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)
funtion 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)
funtion to reset pad margins
void getMetadata()
funtion to get metadata from histogram
void setBEvtInfo(TPaveText *pt)
funtion 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()
funtion to draw dEdx+Fit
void fitHistogram(TH1D *&temphist, std::string &status)
funtion to fit gaussian dist.
void drawDedxIR()
funtion to draw dEdx+Fit for run variation
void setTextStyle(TPaveText *&obj)
funtion to add text style
std::string mmode
monitoring mode all/basic
void setPlotStyle()
funtion 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.