Common Analysis Framework » QFRAMEWORK » TQCompPlotter

class TQCompPlotter: public TQROOTPlotter


 TQCompPlotter:

 The TQCompPlotter provides advanced plotting features for the H->WW->lvlv analysis.
 It inherits basic plotting functionality from the abstract TQPlotter base 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~TQCompPlotter()
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*TQROOTPlotter::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()
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 boolTQROOTPlotter::isDefaultPlotMessage(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)
TQCompPlotter&operator=(const TQCompPlotter&)
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*TQROOTPlotter::plot(TString histogram, const TString& inputTags)
virtual TCanvas*TQROOTPlotter::plot(TString histogram, const char* inputTags)
virtual TCanvas*TQROOTPlotter::plot(TString histogram, TQTaggable* inputTags = 0)
virtual TCanvas*TQROOTPlotter::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 voidTQROOTPlotter::setStyleAtlas()
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 = "")
TQCompPlotter()
TQCompPlotter(TQSampleFolder* baseSampleFolder)
TQCompPlotter(TQSampleDataReader* dataSource)
TQCompPlotter(const TQCompPlotter&)
protected:
virtual voidTQROOTPlotter::addAllHistogramsToLegend(TQTaggable& tags, TLegend* legend, const TString& processFilter, const TString& options = "", bool reverse = false)
virtual voidTQROOTPlotter::addHistogramToLegend(TQTaggable& tags, TLegend* legend, const TString& identifier, TQTaggable& options)
virtual voidTQROOTPlotter::addHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, TQTaggable& options)
virtual voidTQROOTPlotter::addHistogramToLegend(TQTaggable& tags, TLegend* legend, TQNamedTaggable* process, const TString& options = "")
virtual voidTQROOTPlotter::addHistogramToLegend(TQTaggable& tags, TLegend* legend, TH1* histo, const TString& options = "")
virtual voidTQROOTPlotter::addObject(TCollection* obj, const TString& key = "")
virtual voidTQROOTPlotter::addObject(TH1* obj, const TString& key = "")
virtual voidTQROOTPlotter::addObject(TGraph* obj, TString key = "")
virtual voidTQROOTPlotter::addObject(TNamed* obj, const TString& key = "")
virtual voidTQROOTPlotter::addObject(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)
boolTQROOTPlotter::calculateAxisRangesProfile(TQTaggable& tags)
virtual boolTQPlotter::checkConsistency(TH1*& hMaster, TObjArray* histograms)
virtual voidTQROOTPlotter::clearObjects()
virtual TObjArray*collectHistograms(TQTaggable& tags)
virtual boolTQPlotter::collectOptScanSimplifiedSystHistograms(vector<TH1*>& histos, TQTaggable& tags)
intTQTaggable::countTagDown(const TString& key)
intTQTaggable::countTagUp(const TString& key)
virtual TCanvas*TQROOTPlotter::createCanvas(TQTaggable& tags)
virtual TPad*TQROOTPlotter::createPad(TQTaggable& tags, const TString& key)
virtual voidTQROOTPlotter::deleteObjects()
intTQROOTPlotter::drawAdditionalAxes(TQTaggable& tags)
voiddrawArrows(TQTaggable& tags, TGraphErrors* ratioGraph, double min, double max, bool verbose)
virtual boolTQROOTPlotter::drawContours(TQTaggable& tags)
voidTQROOTPlotter::drawCutLines1D(TQTaggable& tags)
virtual boolTQROOTPlotter::drawHeatmap(TQTaggable& tags)
intTQROOTPlotter::drawHeightLines(TQTaggable& tags)
booldrawHistograms(TQTaggable& tags)
virtual voiddrawLabels(TQTaggable& tags)
virtual voiddrawLegend(TQTaggable& tags)
virtual boolTQROOTPlotter::drawMigration(TQTaggable& tags)
virtual boolTQROOTPlotter::drawProfiles(TQTaggable& tags)
voiddrawRatio(TQTaggable& tags)
virtual boolTQROOTPlotter::drawScatter(TQTaggable& tags)
virtual boolTQROOTPlotter::drawStack(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
TStringgetScaleFactorList(TString histname)
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 TCanvas*makePlot(TString histogram, TQTaggable& inputTags)
virtual boolTQROOTPlotter::plotAndSaveAsInternal(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)
voidsetStyle(TQTaggable& tags)
intTQTaggable::setTag(TQValue* tag, const TString& destination = "")
intTQTaggable::setTag(TQValue* tag, const TString& destination, bool overwrite)
virtual voidTQROOTPlotter::stackHistograms(TQTaggable& tags, const TString& stackname)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

Class Charts

Inheritance Chart:
TQTaggable
TQPresenter
TQPlotter
TQROOTPlotter
TQCompPlotter

Function documentation

TQCompPlotter()
 Default constructor of TQCompPlotter class
TQCompPlotter(TQSampleFolder* baseSampleFolder)
 Constructor of TQCompPlotter class
TQCompPlotter(TQSampleDataReader* dataSource)
 Constructor of TQCompPlotter clas
~TQCompPlotter()
 Destructor of TQCompPlotter class:
void reset()
 reset all the processes
void setStyle(TQTaggable& tags)
 setup the default style tags
TObjArray* collectHistograms(TQTaggable& tags)
 use the TQSampleDataReader to retrieve all histograms from the sample folder
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:style.legendHeight: scaling factor for height of the legend
void drawLegend(TQTaggable& tags)
 draw the legend produced by TQCompPlotter::makeLegend
TCanvas * makePlot(TString histogram, TQTaggable& inputTags)
 master-function controlling the plotting
bool drawHistograms(TQTaggable& tags)
 draw the stack produced by TQHWWPlotter::stackHistograms
bool calculateAxisRanges1D(TQTaggable& tags)
 calculate the axis ranges, taking into account the given block tags
void drawLabels(TQTaggable& tags)
 draw the labels given by the tags
void drawRatio(TQTaggable& tags)
 draw a ratio-plot in the sub-pad
void drawArrows(TQTaggable& tags, TGraphErrors* ratioGraph, double min, double max, bool verbose)
TString getScaleFactorList(TString histname)
 retrieve a comma-separated list of the scaled contributions (titles only)
TCanvas * makePlot(TString histogram, TQTaggable& inputTags)
TQCompPlotter()