Crombie Tools
src/include/crombie/Plotter.h File Reference
#include <iomanip>
#include <string>
#include <vector>
#include <map>
#include <list>
#include <mutex>
#include "crombie/Types.h"
#include "crombie/Selection.h"
#include "crombie/PlotConfig.h"
#include "crombie/FileConfig.h"
#include "crombie/LoadTree.h"
#include "crombie/Hist.h"
#include "crombie/Uncertainty.h"
#include "TH1.h"
#include "THStack.h"
#include "TLegend.h"
#include "TCanvas.h"
#include "TLatex.h"

Go to the source code of this file.

Classes

class  crombie::Plotter::Plot
 This class has everything needed to draw a plot. More...
 
struct  crombie::Plotter::Plot::PlotInfo
 

Namespaces

 crombie
 This header file includes common functions that are used to interpret configuration files.
 
 crombie::Plotter
 

Typedefs

using crombie::Plotter::MergeFunc = FileConfig::MergeFunc< MergeOut, SingleOut >
 The FileConfig::MergeFunc instantiation for this namespace. More...
 
using crombie::Plotter::MergeOut = Types::map< Plot >
 The key is a combination of "selection_plotname". More...
 
using crombie::Plotter::SingleOut = Types::map< std::vector< Hist::Hist >>
 This is the output running over a single file. More...
 

Functions

MergeFunc crombie::Plotter::Merge (const FileConfig::FileConfig &files)
 Gets a function that merges the output of the SingleFile functional. More...
 
FileConfig::MapFunc< SingleOut > crombie::Plotter::SingleFile (const FileConfig::FileConfig &files, const std::vector< PlotConfig::Plot > &plots, const Selection::SelectionConfig &selections, const Uncertainty::UncertaintyInfo &unc, const bool unblind=false, const std::vector< std::pair< std::string, std::string >> &plotstodo={})
 Constructs a function that runs over a single file and produces all the necessary histograms. More...