Common Analysis Framework » QFRAMEWORK » TQROOTPlotter

class TQROOTPlotter: public TQPlotter


 TQROOTPlotter:

 The abstract TQROOTPlotter class provides a base class for custom,
 analysis-specific plotters like the TQHWWPlotter.
 By inheriting from the TQROOTPlotter, a base plotting interface is provided
 for the daughter classes. The only purely virtual function
 that needs to be implemented by the user is the
 TCanvas* TQPlotter::makePlot
 Other functionality like data management is provided by the TQPlotter class.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TQROOTPlotter()
virtual boolTQPlotter::addBackground(TString path, TString options = "")
virtual voidTQPresenter::addCut(const TString& tags)
virtual voidTQPresenter::addCut(TQTaggable& tags)
virtual voidTQPresenter::addCut(const TString& cutName, const TString& tags)
virtual voidTQPresenter::addCut(const TString& cutName, TQTaggable& tags)
virtual voidTQPresenter::addCut(const TString& cutName, const TString& cutTitle, const TString& tags)
virtual voidTQPresenter::addCut(const TString& cutName, const TString& cutTitle, TQTaggable& tags)
virtual boolTQPlotter::addData(TString path, TString options = "")
virtual voidTQPresenter::addProcess(const TString& tags)
virtual voidTQPresenter::addProcess(TQTaggable& tags)
virtual voidTQPresenter::addProcess(const TString& processName, const TString& tags)
virtual voidTQPresenter::addProcess(const TString& processName, TQTaggable& tags)
virtual voidTQPresenter::addProcess(const TString& processName, TQTaggable* tags)
virtual voidTQPresenter::addProcess(const TString& processName, const TString& processTitle, const TString& tags)
virtual voidTQPresenter::addProcess(const TString& processName, const TString& processTitle, TQTaggable& tags)
virtual boolTQPlotter::addSignal(TString path, TString options = "")
boolTQTaggable::allTagsOfTypeBool()
boolTQTaggable::allTagsOfTypeDouble()
boolTQTaggable::allTagsOfTypeInteger()
boolTQTaggable::allTagsOfTypeString()
boolTQTaggable::allTagsValidBools()
boolTQTaggable::allTagsValidDoubles()
boolTQTaggable::allTagsValidIntegers()
virtual intTQPresenter::appendProcessPaths(const TString& processFilter, vector<TString>* paths) const
virtual intTQPresenter::appendProcessPaths(const TString& processFilter, vector<TString>& paths) const
static voidTQPlotter::applyErrors(const TH1* hSource, TH1* hTarget, const TH1* hSys, TQTaggable& tags)
boolTQTaggable::canSetThisTag(const TString& key, bool& treatAsList)
intTQTaggable::claimTags(const TString& definition, bool printErrMsg = false)
intTQTaggable::claimTags(const TString& definition, TString& message)
intTQTaggable::claimTags(const TString& definition, TString& missing, TString& invalid, TString& unexpected)
static TClass*Class()
voidTQTaggable::clear()
virtual voidTQPresenter::clearCuts()
virtual voidTQPresenter::clearProcesses()
intTQTaggable::clearTags()
intTQTaggable::countMatchingTags(const TString& name) const
static TQTaggable*TQPlotter::createAxisTags(const TString& prefix, const TString& title, double xCoeff, double yCoeff, double constCoeff, double wMin, double wMax, double xCoord, double yCoord, int nDiv = 101)
static boolTQPlotter::createAxisTags(TQTaggable& tags, const TString& prefix, const TString& title, double xCoeff, double yCoeff, double constCoeff, double wMin, double wMax, double xCoord, double yCoord, int nDiv = 101)
static TStringTQPlotter::createAxisTagsAsConfigString(const TString& prefix, const TString& title, double xCoeff, double yCoeff, double constCoeff, double wMin, double wMax, double xCoord, double yCoord, int nDiv = 101)
static TStringTQPlotter::createAxisTagsAsString(const TString& prefix, const TString& title, double xCoeff, double yCoeff, double constCoeff, double wMin, double wMax, double xCoord, double yCoord, int nDiv = 101)
static voidTQPlotter::estimateRangeY(TH1* h, double& min, double& max, double tolerance = std::numeric_limits<double>::infinity())
static voidTQPlotter::estimateRangeY(TGraphErrors* g, double& min, double& max, double tolerance = std::numeric_limits<double>::infinity())
static voidTQPlotter::estimateRangeY(TGraphAsymmErrors* g, double& min, double& max, double tolerance = std::numeric_limits<double>::infinity())
boolTQTaggable::exportConfigFile(bool writeUnreadKeys = true)
boolTQTaggable::exportConfigFile(const TString& filename, bool writeUnreadKeys = true)
boolTQTaggable::exportConfigFile(const TString& filename, const TString& prefix, bool writeUnreadKeys = true)
virtual intTQPresenter::exportCutsToFile(const TString& fileName, const TString& tags = "")
virtual intTQPresenter::exportCutsToFile(const TString& fileName, TQTaggable& tags)
virtual intTQPresenter::exportProcessesToFile(const TString& fileName, const TString& tags = "")
virtual intTQPresenter::exportProcessesToFile(const TString& fileName, TQTaggable& tags)
virtual voidTQPresenter::exportScheme(TQTaggable* tags)
intTQTaggable::exportTags(TQTaggable* dest, const TString& subDest = "", const TString& filter = "", bool recursive = false)
TStringTQTaggable::exportTagsAsConfigString(const TString& prefix, const TString& filter = "")
stringTQTaggable::exportTagsAsStandardConfigString(const TString& prefix, const TString& filter = "")
stringTQTaggable::exportTagsAsStandardString(const TString& filter = "", bool xmlStyle = false)
TStringTQTaggable::exportTagsAsString(const TString& filter = "", bool xmlStyle = false)
virtual TQTaggable*TQTaggable::getBaseTaggable() const
virtual TStringTQPresenter::getCutTags(const TString& cutName) const
virtual TStringTQPresenter::getCutTitle(const TString& cutName) const
virtual TList*TQTaggable::getDescendantTaggables()
virtual TStringTQTaggable::getFlags()
intTQTaggable::getFlagsSize()
boolTQTaggable::getGlobalIgnoreCase() const
boolTQTaggable::getGlobalOverwrite() const
static shared_ptr<TQTaggable>TQTaggable::getGlobalTaggable(const char* name)
static shared_ptr<TQTaggable>TQTaggable::getGlobalTaggable(const TString& name)
virtual TCollection*TQPresenter::getListOfCutNames() const
TList*TQTaggable::getListOfKeys(const TString& filter = "")
virtual TCollection*TQPresenter::getListOfProcessNames() const
virtual TList*TQTaggable::getListOfTaggables(const TString& name)
TList*TQTaggable::getListOfTagNames()
virtual TList*TQTaggable::getListOfUnreadKeys(const TString& filter = "")
TQFolder*TQPresenter::getNormalizationInfo()
virtual intTQPlotter::getNProcesses(const TString& tagFilter)
intTQTaggable::getNTags() const
TPad*getPad(const TString& name)
virtual TStringTQPresenter::getProcessPath(const TString& processName) const
virtual vector<TString>TQPresenter::getProcessPaths(const TString& processFilter) const
virtual TStringTQPresenter::getProcessTags(const TString& processName) const
virtual TStringTQPresenter::getProcessTitle(const TString& processName) const
static voidTQPlotter::getRange(TGraphErrors* g, double& xlow, double& xhigh, double& ylow, double& yhigh, bool get_xrange = true, bool get_yrange = true, double maxQerr = std::numeric_limits<double>::infinity())
TGraphAsymmErrors*TQPlotter::getRatioErrorGraph(TH1* hTotakBkg)
TGraphAsymmErrors*TQPlotter::getRatioGraph(TH1* h_data, TH1* hTotakBkg, bool invert, double ratioContentThreshold, bool verbose)
virtual TQSampleDataReader*TQPresenter::getReader()
virtual TQSampleFolder*TQPresenter::getSampleFolder()
TStringTQPlotter::getScaleFactorList(TString histname)
TQFolder*TQPresenter::getSystematics(const TString& id)
boolTQTaggable::getTag(const TString& key, double& value)
boolTQTaggable::getTag(const TString& key, int& value)
boolTQTaggable::getTag(const TString& key, bool& value)
boolTQTaggable::getTag(const TString& key, TString& value)
intTQTaggable::getTag(const TString& key, vector<TString>& vec)
intTQTaggable::getTag(const TString& key, vector<int>& vec)
intTQTaggable::getTag(const TString& key, vector<double>& vec)
intTQTaggable::getTag(const TString& key, vector<bool>& vec)
intTQTaggable::getTag(const TString& key, TList* l)
boolTQTaggable::getTag(const TString& key, double& value, bool recursive)
boolTQTaggable::getTag(const TString& key, int& value, bool recursive)
boolTQTaggable::getTag(const TString& key, bool& value, bool recursive)
boolTQTaggable::getTag(const TString& key, TString& value, bool recursive)
boolTQTaggable::getTagAsString(const TString& key, TString& tag)
boolTQTaggable::getTagBool(const TString& key, bool& value)
boolTQTaggable::getTagBool(const TString& key, bool& value, bool recursive)
boolTQTaggable::getTagBoolDefault(const TString& key, bool defaultVal = false)
doubleTQTaggable::getTagDefault(const TString& key, double defaultVal)
intTQTaggable::getTagDefault(const TString& key, int defaultVal)
boolTQTaggable::getTagDefault(const TString& key, bool defaultVal)
TStringTQTaggable::getTagDefault(const TString& key, const TString& defaultVal)
TStringTQTaggable::getTagDefault(const TString& key, const char* defaultVal)
boolTQTaggable::getTagDouble(const TString& key, double& value)
boolTQTaggable::getTagDouble(const TString& key, double& value, bool recursive)
doubleTQTaggable::getTagDoubleDefault(const TString& key, double defaultVal = 0.)
virtual TList*TQTaggable::getTaggablesByName(const TString& name)
boolTQTaggable::getTagInteger(const TString& key, int& value)
boolTQTaggable::getTagInteger(const TString& key, int& value, bool recursive)
intTQTaggable::getTagIntegerDefault(const TString& key, int defaultVal = 0)
TList*TQTaggable::getTagList(const TString& key)
intTQTaggable::getTagListLength(const TString& key)
intTQTaggable::getTagsSize()
stringTQTaggable::getTagStandardStringDefault(const TString& key, const TString& defaultVal = "")
boolTQTaggable::getTagString(const TString& key, TString& value)
boolTQTaggable::getTagString(const TString& key, TString& value, bool recursive)
TStringTQTaggable::getTagStringDefault(const TString& key, const TString& defaultVal = "")
vector<bool>TQTaggable::getTagVBool(const TString& key)
vector<double>TQTaggable::getTagVDouble(const TString& key)
vector<int>TQTaggable::getTagVInt(const TString& key)
vector<int>TQTaggable::getTagVInteger(const TString& key)
vector<string>TQTaggable::getTagVStandardString(const TString& key)
vector<TString>TQTaggable::getTagVString(const TString& key)
TObject*TQPlotter::getTObject(const TString& key)
boolTQTaggable::getTypeOfTagAsString(const TString& key, TString& type)
static const TString&TQTaggable::getValidKeyCharacters()
boolTQTaggable::getValueOfTagAsString(const TString& key, TString& value)
TStringTQTaggable::getValuesOfTags(const TString& keys, const TString& sep = ", ")
virtual boolTQPresenter::hasCut(const TString& name) const
boolTQTaggable::hasEquivalentTag(const TQValue* reference, bool recurseUp = true)
boolTQTaggable::hasEquivalentTag(const TQValue& reference, bool recurseUp = true)
boolTQTaggable::hasEquivalentTag(const TString& key, const TString& value)
boolTQTaggable::hasEquivalentTag(const TString& key, const double value)
boolTQTaggable::hasEquivalentTag(const TString& key, const int value)
boolTQTaggable::hasEquivalentTag(const TString& key, const bool value)
static boolTQTaggable::hasGlobalTaggable(const char* name)
static boolTQTaggable::hasGlobalTaggable(const TString& name)
boolTQTaggable::hasMatchingTag(const TString& name) const
virtual boolTQPresenter::hasProcess(const TString& name) const
boolTQTaggable::hasTag(const TString& key)
boolTQTaggable::hasTagBool(const TString& key)
boolTQTaggable::hasTagDouble(const TString& key)
boolTQTaggable::hasTagInteger(const TString& key)
boolTQTaggable::hasTagString(const TString& key)
boolTQTaggable::hasTagWithIndex(const TString& key)
boolTQTaggable::hasTagWithoutIndex(const TString& key)
virtual boolTQTaggable::hasUnreadKeys(const TString& filter = "")
virtual intTQPresenter::importCuts(const TQPresenter* other)
virtual intTQPresenter::importCutsFromFile(const TString& fileName, const TString& tags = "")
virtual intTQPresenter::importCutsFromFile(const TString& fileName, TQTaggable& tags)
virtual intTQPresenter::importProcesses(const TQPresenter* other)
virtual intTQPresenter::importProcessesFromFile(const TString& fileName, const TString& tags = "")
virtual intTQPresenter::importProcessesFromFile(const TString& fileName, TQTaggable& tags)
virtual voidTQPresenter::importScheme(TQTaggable* tags)
virtual voidTQPresenter::importSchemeFromPath(const TString& path)
intTQTaggable::importTag(TString tag, bool overwrite = true, bool keepStringQuotes = false)
intTQTaggable::importTags(TString tags, bool overwrite = true, bool keepStringQuotes = false)
intTQTaggable::importTags(const TQTaggable* tags, bool overwrite = true, bool recursive = false)
intTQTaggable::importTags(shared_ptr<TQTaggable> tags, bool overwrite = true, bool recursive = false)
intTQTaggable::importTags(const TQTaggable& tags, bool overwrite = true, bool recursive = false)
intTQTaggable::importTagsWithoutPrefix(const TQTaggable* tags, const TString& prefix, bool overwrite = true, bool recursive = false)
intTQTaggable::importTagsWithoutPrefix(const TQTaggable& tags, const TString& prefix, bool overwrite = true, bool recursive = false)
intTQTaggable::importTagsWithPrefix(TString tags, const TString& prefix, bool overwrite = true, bool keepStringQuotes = false, TString fallbackKey = "")
intTQTaggable::importTagsWithPrefix(const TQTaggable* tags, const TString& prefix, bool overwrite = true, bool recursive = false, TString fallbackKey = "")
intTQTaggable::importTagsWithPrefix(const TQTaggable& tags, const TString& prefix, bool overwrite = true, bool recursive = false, TString fallbackKey = "")
intTQTaggable::importTagWithPrefix(const TString& tag, const TString& prefix, bool overwrite = true, TString fallbackKey = "", bool keepStringQuotes = false)
static TH1*TQPlotter::includeSystematics(const TH1* hTotalBkg, TQFolder* sysFolder, TQTaggable& tags)
virtual TClass*IsA() const
static boolisDefaultPlotMessage(TString message, const TString& filename)
boolTQTaggable::isTagOverwrittenByDescendants(TString key)
static boolTQTaggable::isValidKey(const TString& key)
virtual boolTQPresenter::loadSystematics(const TString& importPath)
boolTQPresenter::loadSystematics(TQFolder* f)
virtual boolTQPresenter::loadSystematics(const TString& path, const TString& id)
static TList*TQTaggable::makeListOfTags(TList* unTags)
virtual intTQPresenter::nCuts() const
virtual intTQPresenter::nProcesses() const
virtual voidTQTaggable::onAccess(TQValue* tag)
virtual voidTQTaggable::onRead(TQValue* tag)
virtual voidTQTaggable::onWrite(TQValue* tag)
TQROOTPlotter&operator=(const TQROOTPlotter&)
static TQTaggable*TQTaggable::parseFlags(const TString& flags)
boolTQTaggable::parseKey(TString key, TString& bareKey, int& opUp, int& opDown)
static TQTaggable*TQTaggable::parseParameterList(const TString& parameter, const TString& sep = ",", bool trim = true, const TString& blocks = "", const TString& quotes = "")
virtual TCanvas*plot(TString histogram, const TString& inputTags)
virtual TCanvas*plot(TString histogram, const char* inputTags)
virtual TCanvas*plot(TString histogram, TQTaggable* inputTags = 0)
virtual TCanvas*plot(TString histogram, TQTaggable& inputTags)
virtual boolTQPlotter::plotAndSaveAs(const TString& histogram, const TString& saveAs, const char* inputTags)
virtual boolTQPlotter::plotAndSaveAs(const TString& histogram, const TString& saveAs, const TString& inputTags)
virtual boolTQPlotter::plotAndSaveAs(const TString& histogram, const TString& saveAs, TQTaggable& inputTags)
virtual boolTQPlotter::plotAndSaveAs(const TString& histogram, const TString& saveAs, TQTaggable* inputTags = 0)
intTQTaggable::printClaim(const TString& definition)
virtual voidTQPresenter::printCuts()
boolTQTaggable::printDiffOfTags(TQTaggable* tags, const TString& options = "")
boolTQTaggable::printDiffOfTags(TQTaggable* tags, TQTaggable& options)
virtual voidTQPlotter::printObjects()
virtual voidTQPresenter::printProcesses()
voidTQTaggable::printTags(TString options = "r")
voidTQPresenter::removeCutsByName(const TString& nameFilter)
static boolTQTaggable::removeGlobalTaggable(const char* name)
static boolTQTaggable::removeGlobalTaggable(const TString& name)
voidTQPresenter::removeProcessesByName(const TString& nameFilter)
intTQTaggable::removeTag(const TString& key)
intTQTaggable::removeTags(const TString& key)
boolTQTaggable::renameTag(const TString& oldKey, const TString& newKey)
intTQTaggable::renameTags(const TString& oldPrefix, const TString& newPrefix)
stringTQTaggable::replaceInStandardString(const TString& in, bool keepQuotes = false)
stringTQTaggable::replaceInStandardString(const TString& in, const char* prefix, bool keepQuotes = false)
stringTQTaggable::replaceInStandardString(const TString& in, const TString& prefix, bool keepQuotes = false)
stringTQTaggable::replaceInStandardStringRecursive(TString in, const TString& prefix = "", bool keepQuotes = false)
intTQTaggable::replaceInTags(TQTaggable& params, const TString& tagFilter = "*")
TStringTQTaggable::replaceInText(const TString& in, bool keepQuotes = false)
TStringTQTaggable::replaceInText(const TString& in, const char* prefix, bool keepQuotes = false)
TStringTQTaggable::replaceInText(const TString& in, const TString& prefix, bool keepQuotes = false)
TStringTQTaggable::replaceInText(const TString& in, int& nReplaced, int& nFailed, bool keepQuotes = false)
TStringTQTaggable::replaceInText(TString in, int& nReplaced, int& nFailed, const TString& prefix, bool keepQuotes = false)
TStringTQTaggable::replaceInTextRecursive(TString in, const TString& prefix = "", bool keepQuotes = false)
virtual voidreset()
virtual voidTQPresenter::resetCuts()
virtual voidTQPresenter::resetProcesses()
virtual voidTQTaggable::resetReadFlags()
virtual intTQPresenter::sanitizeCuts()
virtual intTQPlotter::sanitizeProcesses()
voidTQTaggable::setGlobalIgnoreCase(bool globalIgnoreCase = true)
voidTQTaggable::setGlobalOverwrite(bool globalOverwrite = true)
TQFolder*TQPresenter::setNormalizationInfo(const TString& path)
voidTQPresenter::setNormalizationInfo(TQFolder* f)
virtual voidTQPresenter::setReader(TQSampleDataReader* reader)
virtual voidTQPresenter::setSampleFolder(TQSampleFolder* sf)
static voidsetStyleAtlas()
intTQTaggable::setTag(const TString& key, double value, const TString& destination = "")
intTQTaggable::setTag(const TString& key, int value, const TString& destination = "")
intTQTaggable::setTag(const TString& key, bool value, const TString& destination = "")
intTQTaggable::setTag(const TString& key, const TString& value, const TString& destination = "")
intTQTaggable::setTag(const TString& key, const char* value, const TString& destination = "")
intTQTaggable::setTag(const char* key, double value, const TString& destination = "")
intTQTaggable::setTag(const char* key, int value, const TString& destination = "")
intTQTaggable::setTag(const char* key, bool value, const TString& destination = "")
intTQTaggable::setTag(const char* key, const TString& value, const TString& destination = "")
intTQTaggable::setTag(const char* key, const char* value, const TString& destination = "")
intTQTaggable::setTagAuto(const TString& key, TString value, const TString& destination = "")
intTQTaggable::setTagBool(TString key, bool value, const TString& destination = "")
intTQTaggable::setTagDouble(TString key, double value, const TString& destination = "")
intTQTaggable::setTagInteger(TString key, int value, const TString& destination = "")
intTQTaggable::setTagList(const TString& key, TString value, const TString& destination = "")
intTQTaggable::setTagString(TString key, const TString& value, const TString& destination = "")
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
boolTQTaggable::tagIsOfTypeBool(const TString& key)
boolTQTaggable::tagIsOfTypeDouble(const TString& key)
boolTQTaggable::tagIsOfTypeInteger(const TString& key)
boolTQTaggable::tagIsOfTypeString(const TString& key)
boolTQTaggable::tagsAreEquivalentTo(TQTaggable* tags, const TString& filter = "")
TQROOTPlotter()
TQROOTPlotter(TQSampleFolder* baseSampleFolder)
TQROOTPlotter(TQSampleDataReader* dataSource)
TQROOTPlotter(const TQROOTPlotter&)
protected:
virtual voidaddAllHistogramsToLegend(TQTaggable& tags, TLegend* legend, const TString& processFilter, const TString& options = "", bool reverse = false)
virtual voidaddHistogramToLegend(TQTaggable& tags, TLegend* legend, const TString& identifier, TQTaggable& options)
virtual voidaddHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, TQTaggable& options)
virtual voidaddHistogramToLegend(TQTaggable& tags, TLegend* legend, TQNamedTaggable* process, const TString& options = "")
virtual voidaddHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, const TString& options = "")
virtual voidaddObject(TCollection* obj, const TString& key = "")
virtual voidaddObject(TH1* obj, const TString& key = "")
virtual voidaddObject(TGraph* obj, TString key = "")
virtual voidaddObject(TNamed* obj, const TString& key = "")
virtual voidaddObject(TLegend* obj, const TString& key = "")
voidTQPlotter::applyBlinding(TQTaggable& tags, TCollection* sigHistos, TCollection* backgroundHistos, TCollection* dataHistos)
virtual voidTQPlotter::applyGeometry(TQTaggable& tags, TAxis* a, const TString& key, double distscaling = 1., double sizescaling = 1., bool force = true)
virtual voidTQPlotter::applyGeometry(TQTaggable& tags, TH1* hist, const TString& key, double xscaling = 1., double yscaling = 1., bool force = true)
virtual voidTQPlotter::applyGeometry(TQTaggable& tags, TGraph* g, const TString& key, double xscaling = 1., double yscaling = 1., bool force = true)
virtual voidTQPlotter::applyStyle(TQTaggable& tags, TAxis* a, const TString& key, double distscaling = 1., double sizescaling = 1.)
virtual voidTQPlotter::applyStyle(TQTaggable& tags, TH1* hist, const TString& key, double xscaling = 1., double yscaling = 1.)
virtual voidTQPlotter::applyStyle(TQTaggable& tags, TGraph* g, const TString& key, double xscaling = 1., double yscaling = 1.)
boolcalculateAxisRanges1D(TQTaggable& tags)
boolcalculateAxisRangesProfile(TQTaggable& tags)
virtual boolTQPlotter::checkConsistency(TH1*& hMaster, TObjArray* histograms)
virtual voidclearObjects()
virtual TObjArray*TQPlotter::collectHistograms(TQTaggable& tags)
virtual boolTQPlotter::collectOptScanSimplifiedSystHistograms(vector<TH1*>& histos, TQTaggable& tags)
intTQTaggable::countTagDown(const TString& key)
intTQTaggable::countTagUp(const TString& key)
virtual TCanvas*createCanvas(TQTaggable& tags)
virtual TPad*createPad(TQTaggable& tags, const TString& key)
virtual voiddeleteObjects()
intdrawAdditionalAxes(TQTaggable& tags)
virtual booldrawContours(TQTaggable& tags)
voiddrawCutLines1D(TQTaggable& tags)
virtual booldrawHeatmap(TQTaggable& tags)
intdrawHeightLines(TQTaggable& tags)
virtual voidTQPlotter::drawLabels(TQTaggable& tags)
virtual voiddrawLegend(TQTaggable& tags)
virtual booldrawMigration(TQTaggable& tags)
virtual booldrawProfiles(TQTaggable& tags)
virtual booldrawScatter(TQTaggable& tags)
virtual booldrawStack(TQTaggable& tags)
TQValue*TQTaggable::findTag(TString name)
virtual TQNamedTaggable*TQPresenter::getCut(const TString& name)
virtual const TQNamedTaggable*TQPresenter::getCutConst(const TString& name) const
virtual TObjArray*TQPlotter::getHistograms(TObjArray* processes, const TString& tagFilter, const TString& histogramName, const TString& namePrefix, TQTaggable& aliases, TQTaggable& options)
virtual doubleTQPlotter::getHistogramUpperLimit(TQTaggable& tags, TList* histograms, double lower, bool includeErrors = false)
TList*TQTaggable::getListOfTags()
TH1*TQPlotter::getMaximumHistogram(TCollection* histos)
boolTQTaggable::getOp(const TString& op, int& opCode)
virtual TQNamedTaggable*TQPresenter::getProcess(const TString& name)
virtual const TQNamedTaggable*TQPresenter::getProcessConst(const TString& name) const
boolTQTaggable::getTag(const TString& key, TQValue*& tag)
boolTQPlotter::includeSystematics(TQTaggable& tags)
TStringTQPlotter::makeHistogramIdentifier(TQNamedTaggable* process)
virtual voidmakeLegend(TQTaggable& tags, TObjArray* histos)
virtual TCanvas*makePlot(TQTaggable& tags)
virtual boolplotAndSaveAsInternal(const TString& histogram, const TString& saveAs, TQTaggable& tags)
virtual voidTQPlotter::removeObject(const TString& key, bool deleteObject = false)
voidTQPlotter::setAxisLabels(TQTaggable& tags)
voidTQPlotter::setErrors(TQTaggable& tags, const TString& hname)
intTQTaggable::setTag(TQValue* tag, const TString& destination = "")
intTQTaggable::setTag(TQValue* tag, const TString& destination, bool overwrite)
virtual voidstackHistograms(TQTaggable& tags, const TString& stackname)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

Class Charts

Inheritance Chart:
TQTaggable
TQPresenter
TQPlotter
TQROOTPlotter
TQCompPlotter
TQDefaultPlotter
TQHWWPlotter

Function documentation

TQROOTPlotter()
 Constructor of TQPlotter class
TQROOTPlotter(TQSampleFolder* baseSampleFolder)
 Constructor of TQPlotter class
TQROOTPlotter(TQSampleDataReader* dataSource)
 Constructor of TQPlotter class
void reset()
void addHistogramToLegend(TQTaggable& tags, TLegend* legend, TQNamedTaggable* process, const TString& options = "")
 add a single histogram to the legend
void addHistogramToLegend(TQTaggable& tags, TLegend* legend, const TString& identifier, TQTaggable& options)
 add a single histogram to the legend
void addHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, const TString& options = "")
 add a single histogram to the legend
void addHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, TQTaggable& options)
 add a single histogram to the legend
void addAllHistogramsToLegend(TQTaggable& tags, TLegend* legend, const TString& processFilter, const TString& options = "", bool reverse = false)
 add all histograms matching the process filter to the legend
TCanvas * plot(TString histogram, const TString& inputTags)
 plot the given histogram using the given tags
 the tags are forwarded to and interpreted by the makeplot function
TCanvas * plot(TString histogram, TQTaggable* inputTags = 0)
 plot the given histogram using the given tags
 the tags are forwarded to and interpreted by the makeplot function
TCanvas * plot(TString histogram, TQTaggable& inputTags)
 plot the given histogram using the given tags
 the tags are forwarded to and interpreted by the makeplot function
TPad * getPad(const TString& name)
 retrieve a pad by name
TCanvas * plot(TString histogram, const char* inputTags)
 plot the given histogram using the given tags
 the tags are forwarded to and interpreted by the makeplot function
bool plotAndSaveAsInternal(const TString& histogram, const TString& saveAs, TQTaggable& tags)
 plot and save the given histogram using the given tags
 the tags are forwarded to and interpreted by the makeplot function
~TQROOTPlotter()
 Destructor of TQPlotter class:
 if(this->pads) delete this->pads;
void setStyleAtlas()
 apply atlas style options to gStyle
void clearObjects()
 clear all objects maintained by the plotter
void deleteObjects()
 clear all objects maintained by the plotter
TPad* createPad(TQTaggable& tags, const TString& key)
 create a pad and add it to the list
 geometry and styling parameters will be read from the given tag set
 the tags according to the given key will be read
@tags: geometry.*.scaling: scaling of a pad
@tags: [geometry.*.xMin,geometry.*.xMax,geometry.*.yMin,geometry.*.yMax]: set the geometry parameters of a pad
@tags: [style.*.fillStyle, style.*.fillColor]: control fill style and color of a pad
@tags: [geometry.*.margins.left,geometry.*.margins.right,geometry.*.margins.top,geometry.*.margins.bottom]: control margins of a pad
@tags: [style.*.tickx,style.*.ticky]: control whether ticks are shown on x and y axes of this pad
@tags: [style.tickx,style.ticky]: control whether ticks are shown on x and y axes of all pads
@tags: [style.*.borderSize,style.*.borderMode] control appearance of the borders of this pad
@tags: [style.*.logScaleY] control log scale in y
TCanvas* createCanvas(TQTaggable& tags)
 create a new canvas
void drawCutLines1D(TQTaggable& tags)
 draw vertical lines as requested by the user
int drawHeightLines(TQTaggable& tags)
 draw height lines onto the canvas
int drawAdditionalAxes(TQTaggable& tags)
 draw an additional axis onto the canvas
bool isDefaultPlotMessage(TString message, const TString& filename)
 check if message only contains one newline
void stackHistograms(TQTaggable& tags, const TString& stackname)
 create the histogram stack
void addObject(TLegend* obj, const TString& key = "")
 add a legend to the list of graphics objects maintained by the plotter
void makeLegend(TQTaggable& tags, TObjArray* histos)
 create a legend including the given list of histograms
 @tags:style.showEventYields: show event yields (integral counts) in the legend
 @tags:style.showEventYields.useUnderOverflow: include underflow and overflow in the event yields displayed in the legend (default:true)
 @tags:style.nLegendCols: number of columns to be shown in legend
 @tags:geometry.legend.height: scaling factor for height of the legend
bool drawHeatmap(TQTaggable& tags)
 draw a heatmap
 this is a TH2 plotting mode
bool drawContours(TQTaggable& tags)
 draw a contour plot
 this is a TH2 plotting mode
bool drawScatter(TQTaggable& tags)
 draw a scatter plot (approximate, due to using binned inputs)
 this is a TH2 plotting mode
bool drawMigration(TQTaggable& tags)
 draw a migration plot
 this is a TH2 plotting mode
bool drawStack(TQTaggable& tags)
 draw the stack produced by stackHistograms
 @tag:errors.drawStatMC: control drawing of statistical MC errors (default:true)
 @tag:errors.drawSysMC: control drawing of systematic MC errors (default:false; deprecated, use errors.totalBkgSys)
 @tag:errors.showSys: alias for errors.totalBkgSys
 @tag:errors.totalBkgSys: include in the total background error the specified systematics tag
 @tag:style.showTotalBkg: control display of additional line (and legend entry) for total background (default:true)
 @tag:style.drawData: control whether data points will be shown (default:true)
 @tag:style.data.asymErrors: show asymmetric errors (poisson errors) for data points
 @tag:showDataAtCuts: Show data only for these cuts. If empty and drawData = true, will draw data for all plots.
bool drawProfiles(TQTaggable& tags)
 draw background TProfiles
void drawLegend(TQTaggable& tags)
 draw the legend produced by TQROOTPlotter::makeLegend
bool calculateAxisRanges1D(TQTaggable& tags)
 calculate the axis ranges, taking into account the given block tags
bool calculateAxisRangesProfile(TQTaggable& tags)
 calculate the axis ranges, taking into account the given block tags
void addObject(TLegend* obj, const TString& key = "")
TCanvas * makePlot(TQTaggable& tags)
TQROOTPlotter()