#include <CommonTools/Utils/interface/ExpressionHisto.h>
Public Member Functions | |
ExpressionHisto (const edm::ParameterSet &iConfig) | |
bool | fill (const T &element, double weight=1.0, uint32_t i=0) |
void | initialize (TFileDirectory &fs) |
~ExpressionHisto () | |
Private Attributes | |
std::string | description |
StringObjectFunction< T > | function |
TH1F ** | hist |
double | max |
double | min |
std::string | name |
int | nbins |
uint32_t | nhistos |
bool | separatePlots |
Description: Histogram tool using expressions
Usage: <usage>
Definition at line 34 of file ExpressionHisto.h.
ExpressionHisto< T >::ExpressionHisto | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 58 of file ExpressionHisto.h.
References ExpressionHisto< T >::nhistos, and ExpressionHisto< T >::separatePlots.
ExpressionHisto< T >::~ExpressionHisto | ( | ) |
Definition at line 75 of file ExpressionHisto.h.
bool ExpressionHisto< T >::fill | ( | const T & | element, |
double | weight = 1.0 , |
||
uint32_t | i = 0 |
||
) |
Plot the quantity for the specified element and index. Returns true if the quantity has been plotted, false otherwise. A return value of "false" means "please don't send any more elements". The default "i = 0" is to keep backwards compatibility with usages outside HistoAnalyzer
Definition at line 103 of file ExpressionHisto.h.
References estimatePileup::hist, and i.
void ExpressionHisto< T >::initialize | ( | TFileDirectory & | fs | ) |
Definition at line 79 of file ExpressionHisto.h.
References idDealer::description, estimatePileup::hist, i, TFileDirectory::make(), max(), min, mergeVDriftHistosByStation::name, and pileupCalc::nbins.
Referenced by HistoAnalyzer< C >::HistoAnalyzer().
|
private |
Definition at line 50 of file ExpressionHisto.h.
Referenced by argparse._ActionsContainer::__init__(), argparse.ArgumentParser::format_help(), and python.rootplot.argparse.ArgumentParser::format_help().
|
private |
Definition at line 54 of file ExpressionHisto.h.
|
private |
Definition at line 53 of file ExpressionHisto.h.
|
private |
Definition at line 48 of file ExpressionHisto.h.
|
private |
Definition at line 48 of file ExpressionHisto.h.
|
private |
Definition at line 50 of file ExpressionHisto.h.
Referenced by dirstructure.Directory::__create_pie_image(), dqm_interfaces.DirID::__eq__(), BeautifulSoup.Tag::__eq__(), dirstructure.Directory::__get_full_path(), dirstructure.Comparison::__get_img_name(), dataset.Dataset::__getDataType(), dataset.Dataset::__getFileInfoList(), dirstructure.Comparison::__make_image(), dirstructure.Directory::__repr__(), dqm_interfaces.DirID::__repr__(), dirstructure.Comparison::__repr__(), BeautifulSoup.Tag::__str__(), BeautifulSoup.SoupStrainer::__str__(), dirstructure.Directory::calcStats(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::divide_wilson(), TreeCrawler.Package::dump(), utils.StatisticalTest::get_status(), dirstructure.Directory::print_report(), BeautifulSoup.SoupStrainer::searchTag(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), and Vispa.Views.PropertyView.Property::valueChanged().
|
private |
Definition at line 49 of file ExpressionHisto.h.
Referenced by python.rootplot.utilities.Hist::__init_TGraph(), python.rootplot.utilities.Hist::__len__(), python.rootplot.root2matplotlib.Hist::_prepare_xaxis(), python.rootplot.root2matplotlib.Hist::_prepare_yaxis(), python.rootplot.utilities.Hist::av_xerr(), python.rootplot.utilities.Hist::av_yerr(), python.rootplot.utilities.Hist::delete_bin(), python.rootplot.utilities.Hist::divide(), python.rootplot.utilities.Hist::TGraph(), and python.rootplot.utilities.Hist::TH1F().
|
private |
Definition at line 51 of file ExpressionHisto.h.
Referenced by ExpressionHisto< T >::ExpressionHisto().
|
private |
Definition at line 52 of file ExpressionHisto.h.
Referenced by ExpressionHisto< T >::ExpressionHisto().