14#include <boost/assign/list_of.hpp>
19using boost::assign::list_of;
21using std::stringstream;
49 Int_t nofStudies =
HM().size();
50 CreateCanvas(
"lmvmStudyAll_minvBg_ptcut",
"lmvmStudyAll_minvBg_ptcut", 1000, 1000);
51 vector<TH1*> histos1(nofStudies);
52 vector<string> legendNames;
53 for (Int_t iStudy = 0; iStudy < nofStudies; iStudy++) {
54 histos1[iStudy] =
HM()[iStudy]->H1(
"fh_bg_minv_ptcut");
55 histos1[iStudy]->Rebin(20);
57 histos1[iStudy]->Scale(1. / 20.);
58 histos1[iStudy]->GetXaxis()->SetRangeUser(0, 2.);
void SetDefaultDrawStyle()
void DrawH1(TH1 *hist, HistScale logx, HistScale logy, const string &drawOpt, Int_t color, Int_t lineWidth, Int_t lineStyle, Int_t markerSize, Int_t markerStyle)
Helper functions for drawing 1D and 2D histograms and graphs.
Abstract class for basic report elements (headers, tables, images etc.).
void Create()
Inherited from CbmLitStudyReport.
virtual ~CbmAnaDielectronStudyReportAll()
Destructor.
void Draw()
Inherited from CbmLitStudyReport.
CbmAnaDielectronStudyReportAll()
Constructor.
void DrawBgMinv()
Draw Invariant mass of combinatorial BG.
virtual std::string Title(int size, const std::string &title) const =0
Return string with title.
virtual std::string DocumentBegin() const =0
Return string with open tags for document.
virtual std::string DocumentEnd() const =0
Return string with close tags of the document.
std::ostream & Out() const
All text output goes to this stream.
void SetReportName(const std::string &name)
void PrintCanvases() const
Print images created from canvases in the report.
void SetReportTitle(const std::string &title)
const CbmReportElement * R() const
Accessor to CbmReportElement object. User has to write the report using available tags from CbmReport...
TCanvas * CreateCanvas(const char *name, const char *title, Int_t ww, Int_t wh)
Create canvas and put it to vector of TCanvases. Canvases created with this function will be automati...
Base class for study reports.
const std::vector< std::string > & GetStudyNames() const
const std::vector< CbmHistManager * > & HM() const