Crombie Tools
crombie::Plotter::Plot Class Reference

This class has everything needed to draw a plot. More...

#include <Plotter.h>

Classes

struct  PlotInfo
 

Public Member Functions

void add (unsigned isub, const FileConfig::DirectoryInfo &info, const Hist::Hist &hist)
 Add a plot to the inner store. Processes are merged together. More...
 
void draw (const std::string &filebase)
 One of the messier functions which draws the plot at the desired location. More...
 
void scale (double lumi)
 Scale the MC plots to match the given luminosity. More...
 

Private Attributes

double currentlumi {0.0}
 The last luminosity scaled to. 0 if not set yet. More...
 
Types::map< Types::map< PlotInfo > > plotstore {}
 First key is directory, then label. More...
 

Detailed Description

This class has everything needed to draw a plot.

Definition at line 29 of file src/include/crombie/Plotter.h.

Member Function Documentation

§ add()

§ draw()

§ scale()

void crombie::Plotter::Plot::scale ( double  lumi)

Scale the MC plots to match the given luminosity.

Definition at line 346 of file src/include/crombie/Plotter.h.

References currentlumi, crombie::FileConfig::Data, crombie_completion::dir, and plotstore.

Member Data Documentation

§ currentlumi

double crombie::Plotter::Plot::currentlumi {0.0}
private

The last luminosity scaled to. 0 if not set yet.

Definition at line 52 of file src/include/crombie/Plotter.h.

Referenced by draw(), and scale().

§ plotstore

Types::map<Types::map<PlotInfo> > crombie::Plotter::Plot::plotstore {}
private

First key is directory, then label.

Definition at line 50 of file src/include/crombie/Plotter.h.

Referenced by add(), draw(), and scale().


The documentation for this class was generated from the following file: