Common Analysis Framework » QFRAMEWORK » TQCutflowPlotter

class TQCutflowPlotter: public TQPresenter


 TQCutflowPlotter:

 The TQCutflowPlotter class uses an TQSampleDataReader to obtain
 cutflow numbers to plot a cutflow as a bar-chart.


Function Members (Methods)

public:
virtual~TQCutflowPlotter()
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 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)
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
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
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
static TStringgetColorDefStringLaTeX(const TString& name, int color)
static TStringgetColorDefStringLaTeX(const TString& name, TColor* color)
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()
intTQTaggable::getNTags() const
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
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)
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)
virtual TClass*IsA() const
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)
TQCutflowPlotter&operator=(const TQCutflowPlotter&)
TQCutflowPlotter&operator=(TQCutflowPlotter&&)
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 = "")
intTQTaggable::printClaim(const TString& definition)
virtual voidTQPresenter::printCuts()
boolTQTaggable::printDiffOfTags(TQTaggable* tags, const TString& options = "")
boolTQTaggable::printDiffOfTags(TQTaggable* tags, TQTaggable& options)
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 voidTQPresenter::reset()
virtual voidTQPresenter::resetCuts()
virtual voidTQPresenter::resetProcesses()
virtual voidTQTaggable::resetReadFlags()
virtual intTQPresenter::sanitizeCuts()
virtual intTQPresenter::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)
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 = "")
voidsetup()
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 = "")
TQCutflowPlotter(TQSampleFolder* sf)
TQCutflowPlotter(TQSampleDataReader* reader)
TQCutflowPlotter(const TQCutflowPlotter&)
TQCutflowPlotter(TQCutflowPlotter&&)
boolwriteToFile(const TString& filename, const TString& tags)
boolwriteToFile(const TString& filename, TQTaggable& tags)
protected:
intTQTaggable::countTagDown(const TString& key)
intTQTaggable::countTagUp(const TString& key)
TQValue*TQTaggable::findTag(TString name)
virtual TQNamedTaggable*TQPresenter::getCut(const TString& name)
virtual const TQNamedTaggable*TQPresenter::getCutConst(const TString& name) const
TList*TQTaggable::getListOfTags()
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)
intTQTaggable::setTag(TQValue* tag, const TString& destination = "")
intTQTaggable::setTag(TQValue* tag, const TString& destination, bool overwrite)
voidwritePlain(ostream& out, TQTaggable& tags)
voidwriteTikZBody(ostream& out, TQTaggable& tags)
voidwriteTikZFoot(ostream& out, TQTaggable& tags)
voidwriteTikZHead(ostream& out, TQTaggable& tags)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

Class Charts

Inheritance Chart:
TQTaggable
TQPresenter
TQCutflowPlotter

Function documentation

TQCutflowPlotter(TQSampleFolder* sf)
 constructor using a sample folder
TQCutflowPlotter(TQSampleDataReader* reader)
 constructor using a sample data reader
bool writeToFile(const TString& filename, const TString& tags)
 write the cutflow plot to a file
 supported formats (can be set with "format=<format>") are:
 - tikz: TikZ-formatted LaTeX text file for a bar chart
 - plain: CSV-formatted numbers for processing with some external software
bool writeToFile(const TString& filename, TQTaggable& tags)
 write the cutflow plot to a file
 supported formats (can be set with "format=<format>") are:
 - tikz: TikZ-formatted LaTeX text file for a bar chart
 - plain: CSV-formatted numbers for processing with some external software
void writeTikZHead(ostream& out, TQTaggable& tags)
 write the TikZ-head to a stream
void writePlain(ostream& out, TQTaggable& tags)
 write a the "plain" numbers in CSV format to some stream
void writeTikZBody(ostream& out, TQTaggable& tags)
 write the TikZ-body to a stream
void writeTikZFoot(ostream& out, TQTaggable& tags)
 write the TikZ-foot to a stream
void setup()
 set some default tags
TString getColorDefStringLaTeX(const TString& name, int color)
TString getColorDefStringLaTeX(const TString& name, TColor* color)
TQCutflowPlotter(TQSampleFolder* sf)
TQCutflowPlotter(TQSampleDataReader* reader)