Common Analysis Framework » QFRAMEWORK » TQSample

class TQSample: public TQSampleFolder


 TQSample:

 The TQSample class is a representation of a sample. It is a subclass of a TQSampleFolder and
 can therefore additionally serve as container for objects (e.g. analysis results) associated
 with it. An instance of this class can point to a TTree object which will be used as the
 source of event data. This tree may either be contained in this sample itself, or it may be
 contained in an external ROOT file. Either way, you tell the sample where to find the tree
 by passing an argument to setTreeLocation(...).

 As the tree will probably be used by several classes, accessing the tree is managed by the
 sample. To get a pointer to the tree, use getTreeToken(...)


Function Members (Methods)

public:
virtual~TQSample()
voidTObject::AbstractMethod(const char* method) const
virtual voidTFolder::Add(TObject* obj)
virtual TQFolder*TQFolder::addCopyOfObject(TObject* object, TString destination = "", TClass* folderClass = TQFolder::Class())
TQFolder*TQFolder::addFolder(TQFolder* folder_, TString path_ = "", TClass* tclass = 0)
TFolder*TFolder::AddFolder(const char* name, const char* title, TCollection* collection = 0)
virtual TQFolder*TQFolder::addObject(TObject* object, TString destination = "", TClass* folderClass = TQFolder::Class())
TQSampleFolder*TQSampleFolder::addSampleFolder(TQSampleFolder* sampleFolder_, TString path_ = "", TClass* tclass = 0)
TQSample*addSelfAsSubSample(const TString& name)
booladdSubSample(TQSample* subSample)
boolTQTaggable::allTagsOfTypeBool()
boolTQTaggable::allTagsOfTypeDouble()
boolTQTaggable::allTagsOfTypeInteger()
boolTQTaggable::allTagsOfTypeString()
boolTQTaggable::allTagsValidBools()
boolTQTaggable::allTagsValidDoubles()
boolTQTaggable::allTagsValidIntegers()
virtual voidTObject::AppendPad(Option_t* option = "")
intTQFolder::areRelated(const TQFolder* other) const
voidTQFolder::autoSetExportName()
voidTQFolder::autoSetExportNames()
voidTQSampleFolder::befriend(TQSampleFolder* other)
virtual voidTFolder::Browse(TBrowser* b)
boolTQTaggable::canSetThisTag(const TString& key, bool& treatAsList)
boolTQFolder::checkConsistency(bool verbose = false)
ULong_tTObject::CheckedHash()
boolcheckTreeAccessibility()
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()
virtual const char*TObject::ClassName() const
voidTQTaggable::clear()
virtual voidTFolder::Clear(Option_t* option = "")
voidTQSampleFolder::clearFriends()
intTQTaggable::clearTags()
virtual TObject*TNamed::Clone(const char* newname = "") const
boolTQFolder::collapse()
virtual intTQFolder::Compare(const TObject* obj) const
static TStringTQFolder::concatPaths(TString path1, TString path2)
static TStringTQFolder::concatPaths(const TString& path1, const TString& path2, const TString& path3)
static TStringTQFolder::concatPaths(const TString& path1, const TString& path2, const TString& path3, const TString& path4)
static TStringTQFolder::concatPaths(const TString& path1, const TString& path2, const TString& path3, const TString& path4, const TString& path5)
voidTQSampleFolder::convertLegacyNFs()
virtual TQFolder*TQFolder::copy(const TString& newName = "")
virtual voidTFolder::Copy(TObject&) const
static TQFolder*TQFolder::copyDirectoryStructure(const TString& basepath, int maxdepth = 999)
static TQFolder*TQFolder::copyDirectoryStructureEOS(const TString& basepath, int maxdepth = 999)
static TQFolder*TQFolder::copyDirectoryStructureLocal(const TString& basepath, int maxdepth = 999)
virtual TQFolder*TQFolder::copyFolder(const TString& source, const TString& dest)
intTQSampleFolder::copyHistogram(TString source, TString destination, TString options = "")
intTQSampleFolder::copyHistograms(TString sourceFilter, TString appendix, TString options = "")
intTQSampleFolder::copyHistogramToCounter(TString source, TString destination = "")
virtual TQFolder*TQFolder::copyTo(TQFolder* dest)
virtual TQFolder*TQFolder::copyTo(const TString& dest)
intTQSampleFolder::countFriends()
intTQTaggable::countMatchingTags(const TString& name) const
static intTQFolder::countPathLevels(TString path, bool checkPathTokens = true)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual intTQFolder::deleteAll()
intTQSampleFolder::deleteCounter(TString filter)
intTQSampleFolder::deleteHistogram(TString name)
intTQSampleFolder::deleteHistograms(TString filter)
boolTQSampleFolder::deleteLocalCounter(TString name)
boolTQSampleFolder::deleteLocalHistogram(TString name)
boolTQSampleFolder::deleteLocalObject(TString category, TString name)
virtual intTQFolder::deleteObject(TString name, bool removeOnly = false, TClass* tclass = 0)
intTQSampleFolder::deleteSingleCounter(TString name)
TQFolder*TQFolder::detachFromBase()
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt,...) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
boolTQFolder::executeCopyCommand(TString object, TString& errMsg, bool moveOnly, const TString& destPrefix = "")
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
boolTQTaggable::exportConfigFile(bool writeUnreadKeys = true)
boolTQTaggable::exportConfigFile(const TString& filename, bool writeUnreadKeys = true)
boolTQTaggable::exportConfigFile(const TString& filename, const TString& prefix, bool writeUnreadKeys = true)
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 TList*TQFolder::exportTagsToText(const TString& filter)
virtual boolTQFolder::exportTagsToTextFile(const TString& filename, const TString& filter)
boolTQFolder::exportToHTMLFile(const TString& filename, int expandDepth = 1, bool includeUntextables = true)
virtual TList*TQFolder::exportToText(bool includeUntextables = false, int indent = 0)
virtual boolTQFolder::exportToTextFile(const TString& filename, bool includeUntextables = false)
static TStringextractFilename(const TString& treeLocation)
static TStringextractTreename(const TString& treeLocation)
virtual voidTObject::Fatal(const char* method, const char* msgfmt,...) const
virtual voidTNamed::FillBuffer(char*& buffer)
TQFolder*TQFolder::findCommonBaseFolder(TCollection* fList, bool allowWildcards = true)
voidTQSampleFolder::findFriends(bool forceUpdate = false)
voidTQSampleFolder::findFriends(const TString& pathpattern, bool forceUpdate = false)
voidTQSampleFolder::findFriends(TQSampleFolder* otherSF, bool forceUpdate = false)
virtual const char*TFolder::FindFullPathName(const char* name) const
virtual const char*TFolder::FindFullPathName(const TObject* obj) const
virtual TObject*TFolder::FindObject(const char* name) const
virtual TObject*TFolder::FindObject(const TObject* obj) const
virtual TObject*TFolder::FindObjectAny(const char* name) const
intTQSampleFolder::generalizeCounters(const TString& paths = "", const TString& options = "")
intTQSampleFolder::generalizeCounters(TList* names, const TString& paths, const TString& options)
intTQSampleFolder::generalizeHistograms(const TString& paths = "", const TString& options = "")
intTQSampleFolder::generalizeHistograms(TList* names, const TString& paths, const TString& options)
intTQSampleFolder::generalizeObjects(const TString& prefix, const TString& options = "")
intTQSampleFolder::generalizeObjects(TList* names, TClass* objClass, const TString& options, const TString& paths, const TString& subpath)
TQFolder*TQFolder::getBase(int depth = 1) const
TQSample*getBaseSample()
TQSampleFolder*TQSampleFolder::getBaseSampleFolder()
virtual TQTaggable*TQFolder::getBaseTaggable() const
TObject*TQFolder::getCopyOfObject(const TString& name_, const TString& path_ = "")
TQCounter*TQSampleFolder::getCounter(TString path, TString name, TString options = "", TList* sfList = 0)
intTQFolder::getDepth()
virtual TList*TQFolder::getDescendantTaggables()
TDirectory*TQFolder::getDirectory()
intTQFolder::getDistToRoot() const
virtual Option_t*TObject::GetDrawOption() const
static Longptr_tTObject::GetDtorOnly()
TQToken*getEventToken()
const TString&TQFolder::getExportName()
TFile*getFile()
TStringgetFilename()
TQToken*getFileToken()
virtual TStringTQTaggable::getFlags()
intTQTaggable::getFlagsSize()
TQFolder*TQFolder::getFolder(const TString& path)
TQFolder*TQFolder::getFolder(const char* path)
TQFolder*TQFolder::getFolder(const TString& path_, TClass* tclass)
vector<TString>TQFolder::getFolderPaths(const TString& path_ = "?", TClass* tClass = TQFolder::Class(), bool toplevelOnly = false)
vector<TString>TQFolder::getFolderPathsWildcarded(const TString& path_ = "?", TClass* tClass = TQFolder::Class(), bool toplevelOnly = false)
vector<TQFolder*>TQFolder::getFoldersWithTagEquivalentTo(const TQValue* tag)
vector<TQFolder*>TQFolder::getFoldersWithTagEquivalentTo(const TQValue& tag)
vector<TQFolder*>TQFolder::getFoldersWithTagsEquivalentTo(const vector<const TQValue*>& tags)
shared_ptr<set<TQSampleFolder*> >TQSampleFolder::getFriends()
boolTQTaggable::getGlobalIgnoreCase() const
boolTQTaggable::getGlobalOverwrite() const
static shared_ptr<TQTaggable>TQTaggable::getGlobalTaggable(const char* name)
static shared_ptr<TQTaggable>TQTaggable::getGlobalTaggable(const TString& name)
TH1*TQSampleFolder::getHistogram(TString path, TString name, TQTaggable* options = nullptr, TList* sfList = 0)
TH1*TQSampleFolder::getHistogram(TString path, TString name, TString options, TList* sfList = 0)
virtual const char*TObject::GetIconName() const
TList*TQSampleFolder::getListOfCounterNames(const TString& path = ".", TList* sfList = 0)
TCollection*TFolder::GetListOfFolders() const
TList*TQFolder::getListOfFolders(const TString& path_ = "?", TClass* tclass = TQFolder::Class(), bool toplevelOnly = false, bool firstMatchOnly = false)
TList*TQSampleFolder::getListOfHistogramNames(const TString& path = ".", TList* sfList = 0)
TList*TQTaggable::getListOfKeys(const TString& filter = "")
TList*TQFolder::getListOfObjectNames(TClass* class_ = 0, bool recursive = false, TString path_ = "")
TList*TQFolder::getListOfObjectPaths(TString path_ = "?", TClass* tclass = TObject::Class())
TList*TQFolder::getListOfObjects(TString path_ = "?", TClass* tclass = TObject::Class())
TList*TQSampleFolder::getListOfSampleFolders(const TString& path_ = "?", TClass* tclass = TQSampleFolder::Class(), bool toplevelOnly = false)
TList*TQSampleFolder::getListOfSamples(const TString& path = "*")
virtual TList*TQFolder::getListOfTaggables(const TString& taggables)
TList*TQTaggable::getListOfTagNames()
virtual TList*TQTaggable::getListOfUnreadKeys(const TString& filter = "")
TStringTQFolder::getName() const
virtual const char*TNamed::GetName() const
const TString&TQFolder::getNameConst() const
virtual intTQFolder::getNElements(bool recursive = false, TClass* class_ = 0)
virtual intTQFolder::getNObjects(const TString& nameFilter = "") const
virtual intTQFolder::getNObjects(const TString& nameFilter, bool recursive)
doublegetNormalisation()
intTQSampleFolder::getNSampleFolders(bool recursive = false)
intTQSampleFolder::getNSamples(bool recursive = false)
intTQTaggable::getNTags() const
intgetNTreeTokens()
TObject*TQFolder::getObject(const TString& name_, const TString& path_ = "")
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
TStringTQFolder::getObjectPath(TString name_)
TList*TQFolder::getObjectPaths(TString namepattern, TString pathpattern = "./", TClass* objClass = TObject::Class())
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual intgetOwnSize() const
TStringTQFolder::getPath()
TStringTQSampleFolder::getPathFriendsWildcarded(bool requireWildcardTag = true)
static TStringTQFolder::getPathHead(TString& path)
static TStringTQFolder::getPathTail(TString& path)
TStringTQFolder::getPathWildcarded()
static TStringTQFolder::getPathWithoutHead(TString path)
static TStringTQFolder::getPathWithoutTail(TString path)
TQSample*getProxySample()
TQFolder*TQFolder::getRoot()
TQSampleFolder*TQSampleFolder::getRootSampleFolder()
TQSample*TQSampleFolder::getSample(const TString& path)
TQSampleFolder*TQSampleFolder::getSampleFolder(TString path_, TClass* tclass = 0)
vector<TString>TQSampleFolder::getSampleFolderPaths(const TString& path_ = "?", TClass* tClass = __null, bool toplevelOnly = false)
vector<TString>TQSampleFolder::getSampleFolderPathsWildcarded(const TString& path_ = "?", TClass* tClass = __null, bool toplevelOnly = false)
vector<TQSampleFolder*>TQSampleFolder::getSampleFoldersWithTagEquivalentTo(const TQValue* tag)
vector<TQSampleFolder*>TQSampleFolder::getSampleFoldersWithTagEquivalentTo(const TQValue& tag)
vector<TQSampleFolder*>TQSampleFolder::getSampleFoldersWithTagsEquivalentTo(const vector<const TQValue*>& tags)
vector<TString>TQSampleFolder::getSamplePaths(const TString& path_ = "?", TClass* tClass = __null, bool toplevelOnly = false)
vector<TString>TQSampleFolder::getSamplePathsWildcarded(const TString& path_ = "?", TClass* tClass = __null, bool toplevelOnly = false)
doubleTQSampleFolder::getScaleFactor(const TString& name, bool recursive = false)
boolTQSampleFolder::getScaleFactor(const TString& path, double& scale, double& uncertainty, bool recursive = false)
TQCounter*TQSampleFolder::getScaleFactorCounter(const TString& name)
TQCounter*TQSampleFolder::getScaleFactorCounterInternal(TString name)
TQCounter*TQSampleFolder::getScaleFactorCounterInternal(const TString& path, const TString& scaleScheme)
TQCounter*TQSampleFolder::getScaleFactorCounterRecursive(const TString& name)
virtual intTQFolder::getSize(bool memoryOnly = true)
virtual TStringTQFolder::getSizeAsString(bool memoryOnly = true)
TQSample*getSubSample(const TString& path)
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*TQFolder::getTaggablesByName(const TString& taggables)
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)
virtual const char*TNamed::GetTitle() const
TList*TQFolder::getTraceToRoot(bool startAtRoot = false)
TStringgetTreeLocation()
const TString&getTreeLocationRef()
TStringgetTreename()
TQToken*getTreeToken()
boolTQTaggable::getTypeOfTagAsString(const TString& key, TString& type)
virtual UInt_tTObject::GetUniqueID() const
static const TString&TQTaggable::getValidKeyCharacters()
static const TString&TQFolder::getValidNameCharacters()
boolTQTaggable::getValueOfTagAsString(const TString& key, TString& value)
TStringTQTaggable::getValuesOfTags(const TString& keys, const TString& sep = ", ")
virtual Bool_tTObject::HandleTimer(TTimer* timer)
boolTQSampleFolder::hasCounter(TString path, TString name, TString options = "")
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)
boolTQSampleFolder::hasFriends()
static boolTQTaggable::hasGlobalTaggable(const char* name)
static boolTQTaggable::hasGlobalTaggable(const TString& name)
virtual ULong_tTNamed::Hash() const
boolTQSampleFolder::hasHistogram(TString path, TString name, TString options = "")
Bool_tTObject::HasInconsistentHash() const
boolTQTaggable::hasMatchingTag(const TString& name) const
virtual boolTQFolder::hasObject(TString name)
boolhasSubSamples()
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 boolTQFolder::importFromText(const TString& input)
virtual boolTQFolder::importFromText(const TString& input, TString& errorMessage)
virtual boolTQFolder::importFromTextFile(const TString& filename)
virtual boolTQFolder::importFromTextFile(const TString& filename, TString& errorMessage)
virtual boolTQFolder::importFromTextFiles(const TString& filePattern)
virtual boolTQFolder::importFromTextFiles(const TString& filePattern, TString& errorMessage)
virtual TObject*TQFolder::importObject(TString importPath, bool recurse = true)
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 voidTObject::Info(const char* method, const char* msgfmt,...) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
boolTQFolder::isBaseOf(TQFolder* folder)
Bool_tTObject::IsDestructed() const
boolTQFolder::isEmpty() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual boolTQFolder::isEquivalentTo(TQFolder* f, const TString& options = "")
virtual boolTQFolder::isEquivalentTo(TQFolder* f, TQTaggable& options)
virtual Bool_tTFolder::IsFolder() const
boolTQSampleFolder::isFriend(TQSampleFolder* other)
boolTQFolder::isLazy()
boolTQFolder::isOnDisk()
boolTQFolder::isOnDisk(TDirectory* dir)
Bool_tTObject::IsOnHeap() const
Bool_tTFolder::IsOwner() const
boolTQFolder::isRoot()
virtual boolTQFolder::IsSortable() const
boolisSubSample()
boolTQTaggable::isTagOverwrittenByDescendants(TString key)
static boolTQTaggable::isValidKey(const TString& key)
static boolTQFolder::isValidName(const TString& name)
static boolTQFolder::isValidPath(TString path, bool allowRelativePaths = true, bool allowWildcards = true, bool allowArithmeticStringExpressions = false)
boolTQSampleFolder::isVariant(bool recursive = true)
Bool_tTObject::IsZombie() const
static TQFolder*TQFolder::loadFolder(TString path, bool lazy = false)
static TQFolder*TQFolder::loadFromTextFile(TString filename, bool showErrorMessage = false)
static TQFolder*TQFolder::loadFromTextFile(TString filename, TString& errorMessage)
static TQFolder*TQFolder::loadLazyFolder(TString path)
static TQSampleFolder*TQSampleFolder::loadLazySampleFolder(const TString& path)
static TQSampleFolder*TQSampleFolder::loadSampleFolder(TString path, bool lazy = false)
virtual voidTFolder::ls(Option_t* option = "") constMENU
static TStringTQFolder::makeExportName(TString exportName)
static TList*TQTaggable::makeListOfTags(TList* unTags)
static TStringTQFolder::makeValidIdentifier(TString identifier, TString replacement = "")
static TStringTQFolder::makeValidPath(TString path, TString replacement = "", bool allowRelativePaths = true, bool allowWildcards = true)
voidTObject::MayNotUse(const char* method) const
boolTQSampleFolder::merge(TQSampleFolder* f, bool sumElements = false, bool verbose = false)
boolTQSampleFolder::merge(TQSampleFolder* f, const TString& traceID, bool sumElements = false, bool verbose = false)
boolTQFolder::mergeTags(TQFolder* other)
virtual boolTQFolder::moveFolder(const TString& source, const TString& dest)
virtual boolTQFolder::moveTo(const TString& dest)
virtual boolTQFolder::moveTo(TQFolder* dest, const TString& newName = "")
static TQFolder*TQFolder::newFolder(TString name)
virtual TQFolder*newInstance(const TString& name)
static TQSampleFolder*TQSampleFolder::newSampleFolder(TString name)
static TQSampleFolder*TQSampleFolder::newSampleList(const TString& name, const TString& treeLocation, double normalization = 1.)
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
virtual Int_tTFolder::Occurence(const TObject* obj) const
virtual voidTQTaggable::onAccess(TQValue* tag)
virtual voidTQTaggable::onRead(TQValue* tag)
virtual voidTQTaggable::onWrite(TQValue* tag)
static TFile*TQFolder::openFile(TString& importPath, const TString& opt = "READ")
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TQFolder&TQFolder::operator=(const TQFolder&)
virtual voidTObject::Paint(Option_t* option = "")
static boolTQFolder::parseDestination(TString dest, TString& path, TString& newName)
static TQTaggable*TQTaggable::parseFlags(const TString& flags)
boolTQTaggable::parseKey(TString key, TString& bareKey, int& opUp, int& opDown)
static boolTQFolder::parseLocation(TString importpath, TString& filename, TString& objname)
static TQTaggable*TQTaggable::parseParameterList(const TString& parameter, const TString& sep = ",", bool trim = true, const TString& blocks = "", const TString& quotes = "")
virtual voidTObject::Pop()
voidTQFolder::print(const TString& options = "")
virtual voidTNamed::Print(Option_t* option = "") const
intTQTaggable::printClaim(const TString& definition)
voidTQFolder::printContents(const TString& options = "")
voidTQSampleFolder::printCounter(const TString& path, const TString& name, const TString& options = "", TList* sfList = 0)
boolTQFolder::printDiff(TQFolder* f, const TString& options = "")
boolTQFolder::printDiff(const TString& path1, const TString& path2, const TString& options = "")
boolTQTaggable::printDiffOfTags(TQTaggable* tags, const TString& options = "")
boolTQTaggable::printDiffOfTags(TQTaggable* tags, TQTaggable& options)
voidTQSampleFolder::printFriends()
voidTQSampleFolder::printListOfCounters(const TString& options = "")
voidTQSampleFolder::printListOfHistograms(const TString& options = "")
intTQSampleFolder::printListOfSamples(const TString& path = "*")
voidTQSampleFolder::printScaleFactors(TString filter = "")
voidTQTaggable::printTags(TString options = "r")
voidprintTreeTokens()
voidTQSampleFolder::purgeWithoutTag(const TString& tag)
virtual Int_tTObject::Read(const char* name)
virtual voidTFolder::RecursiveRemove(TObject* obj)
virtual voidTFolder::Remove(TObject* obj)
static boolTQTaggable::removeGlobalTaggable(const char* name)
static boolTQTaggable::removeGlobalTaggable(const TString& name)
virtual boolTQFolder::removeObject(const TString& name)
intTQTaggable::removeTag(const TString& key)
intTQTaggable::removeTags(const TString& key)
intTQSampleFolder::renameCounter(TString oldName, TString newName)
intTQSampleFolder::renameHistogram(TString oldName, TString newName)
boolTQSampleFolder::renameLocalCounter(TString oldName, TString newName)
boolTQSampleFolder::renameLocalHistogram(TString oldName, TString newName)
boolTQSampleFolder::renameLocalObject(TString category, TClass* classType, TString oldName, TString newName)
boolTQTaggable::renameTag(const TString& oldKey, const TString& newKey)
intTQTaggable::renameTags(const TString& oldPrefix, const TString& newPrefix)
intTQFolder::replaceInFolderTags(TQTaggable& params, const TString& path, const TString& tagFilter = "*", TClass* typeFilter = TQFolder::Class())
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)
voidTObject::ResetBit(UInt_t f)
virtual voidTQTaggable::resetReadFlags()
TObject*TQFolder::resolveImportLink(const TString& linkName, bool recurse = true)
TObject*TQFolder::resolveImportLink(const TString& linkName, TDirectory* dir, bool recurse = true)
intTQFolder::resolveImportLinks(bool recurse = true)
intTQFolder::resolveImportLinks(TDirectory* dir, bool recurse = true)
boolreturnToken(TQToken*& token_)
boolreturnTreeToken(TQToken*& token_)
virtual voidTFolder::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
intTQFolder::setDirectory(TDirectory* dir = (ROOT::Internal::TDirectoryAtomicAdapter(TDirectory::CurrentDirectory())), bool own = false)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTQFolder::setExportName(const TString& name)
voidTQTaggable::setGlobalIgnoreCase(bool globalIgnoreCase = true)
voidTQTaggable::setGlobalOverwrite(bool globalOverwrite = true)
voidTQFolder::setInfoTags()
voidTQSampleFolder::setIsVariant(bool isVariant = true)
voidTQFolder::setName(const TString& newName)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidsetNormalisation(double normalisation_)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTFolder::SetOwner(Bool_t owner = kTRUE)
voidsetProxySample(TQSample* proxy)
intTQSampleFolder::setScaleFactor(const TString& name, double scaleFactor, double uncertainty = 0)
intTQSampleFolder::setScaleFactor(const char* name, double scaleFactor, double uncertainty = 0)
intTQSampleFolder::setScaleFactor(const TString& name, double scaleFactor, const TString& sampleFolders)
intTQSampleFolder::setScaleFactor(const TString& name, double scaleFactor, const char* sampleFolders)
intTQSampleFolder::setScaleFactor(const TString& name, double scaleFactor, double uncertainty, const TString& sampleFolders)
intTQSampleFolder::setScaleFactor(TString name, const TString& title, double scaleFactor, double uncertainty = 0)
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 voidTNamed::SetTitle(const char* title = "")MENU
boolsetTreeLocation(TString treeLocation_)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tTNamed::Sizeof() const
virtual intTQFolder::sortByName()
virtual voidTQFolder::sortByNameRecursive()
static TList*splitTreeLocations(TString treeLocations)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt,...) const
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 = "")
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TQSample()
TQSample(const TString& name)
voidTQSampleFolder::unfriend(TQSampleFolder* other)
boolupdateTreeLocation()
virtual voidTObject::UseCurrentStyle()
boolTQSampleFolder::validateAllCounter(TQSampleFolder* sampleFolder, TString options = "")
boolTQSampleFolder::validateAllCounter(TString path1, TString path2, TString options = "")
boolTQSampleFolder::validateCounter(TString path1, TString path2, TString counterName, TString options = "")
boolTQSampleFolder::validateCounter(TQSampleFolder* sampleFolder, TString counterName, TString options = "", int indent = 0)
intTQSampleFolder::visitMe(TQSampleVisitor* visitor, bool requireSelectionTag = false)
intTQSampleFolder::visitSampleFolders(TQSampleVisitor* visitor, const TString& category = "?")
intTQSampleFolder::visitSampleFolders(TQSampleVisitor* visitor, const vector<TQSampleFolder*>& selectedFolders)
intTQSampleFolder::visitSampleFolders(TQSampleVisitor* visitor, const set<TQSampleFolder*>& selectedFolders)
virtual voidTObject::Warning(const char* method, const char* msgfmt,...) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual boolTQFolder::writeDirectory(TDirectory* baseDir)
virtual boolTQFolder::writeFolder(TDirectory* dir, int depth = -1, bool keepInMemory = true)
virtual boolTQFolder::writeFolder(TDirectory* dir, TString name, int depth = -1, bool keepInMemory = true)
virtual boolTQFolder::writeFolderMaxSize(TDirectory* dir, int maxSizeInMB = 10, bool keepInMemory = true)
virtual boolTQFolder::writeFolderMaxSize(TDirectory* dir, TString name, int maxSizeInMB = 10, bool keepInMemory = true)
virtual intTQFolder::writeToFile(const TString& filename, bool overwrite = 0, int depth = -1, bool keepInMemory = true)
virtual boolTQFolder::writeUpdate(int depth = -1, bool keepInMemory = true)
protected:
voidTQFolder::clearDirectoryInternal()
voidclearTree()
intTQTaggable::countTagDown(const TString& key)
intTQTaggable::countTagUp(const TString& key)
boolcreateFriendLinksForSamplesWithTreeLocation(TQSampleFolder* otherSF, shared_ptr<TList> otherSFContents = nullptr)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTQSampleFolder::findFriends(TQSampleFolder* otherSF, bool forceUpdate, shared_ptr<TList> otherSFContents)
virtual voidfindFriendsInternal(TQSampleFolder* otherSF, bool forceUpdateSubsamples = false, shared_ptr<TList> otherSFContents = nullptr)
TQValue*TQTaggable::findTag(TString name)
intTQSampleFolder::generalizeObjectsPrivate(TList* names, TClass* objClass, TQTaggable* options, const TString& subpath)
intTQSampleFolder::generalizeObjectsPrivate(TList* names, TClass* objClass, TQTaggable* options, const TString& paths, const TString& subpath)
voidTQFolder::getFoldersWithTagEquivalentToInternal(const TQValue* tag, vector<TQFolder*>& matches)
TList*TQTaggable::getListOfTags()
boolTQTaggable::getOp(const TString& op, int& opCode)
boolTQTaggable::getTag(const TString& key, TQValue*& tag)
boolgetTree()
virtual boolTQFolder::importFromTextFilePrivate(const TString& filename_, int& nNewlines, TString& errFile, TString& errMsg)
virtual boolTQFolder::importFromTextPrivate(TString input, int& nNewlines, TString& errFile, TString& errMsg)
virtual TObject*TQFolder::importObjectFromDirectory(TDirectory* dir, TString importPath, bool recurse = true, TClass* expectedClass = __null)
voidTQSampleFolder::init()
voidTObject::MakeZombie()
boolTQFolder::mergeAsFolder(TQFolder* other, TQFolder::MergeMode mode)
boolTQSampleFolder::mergeAsSampleFolder(TQSampleFolder* f, const TString& traceID, TQFolder::MergeMode mode, bool verbose)
voidTQFolder::mergeObjects(TQFolder* other, TQFolder::MergeMode mode)
boolTQFolder::printDiff(TQFolder* f, TQTaggable& options, int indent)
voidTQFolder::printInternal(TString options, int indent, bool resolve = true)
voidpromoteTreeToFriends()
voidretractTreeFromFriends()
voidTQFolder::setBase(TQFolder* base_)
voidTQFolder::setDirectoryInternal(TDirectory* dir)
intTQTaggable::setTag(TQValue* tag, const TString& destination = "")
intTQTaggable::setTag(TQValue* tag, const TString& destination, bool overwrite)
voidsetTree(TFile* file, const TString& treename)
virtual boolTQFolder::split(TDirectory* dir, int depth)
boolTQFolder::writeContentsToHTML(ostream& out, int expandDepth, bool includeUntextables)
virtual boolTQFolder::writeFolderHook(TDirectory* dir, const TString& exportName, int depth, bool keepInMemory)
boolTQFolder::writeFolderInternal(TDirectory* dir, const TString& exportName, int depth, bool keepInMemory)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

public:
static boolgUseAthenaAccessModeuse kAthenaAccess mode for xAODs (default is to use kClassAccess mode which is faster but does not work in all cases)
static boolgUseTransientTree
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::(anonymous)TObject::kInconsistent
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EDeprecatedStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
static const TStringTQSampleFolder::restrictSelectionTagName
protected:
static TQFolder::MergeModeTQFolder::PreferOther
static TQFolder::MergeModeTQFolder::PreferThis
static TQFolder::MergeModeTQFolder::SumElements
TQFolder*TQFolder::fBase
xAOD::TEvent*fEvent!
TStringTQFolder::fExportName!
TFile*fFile!
TCollection*TFolder::fFolderspointer to the list of folders
shared_ptr<set<TQSampleFolder*> >TQSampleFolder::fFriends!
boolTQTaggable::fGlobalIgnoreCase!
boolTQTaggable::fGlobalOverwrite!
boolTQFolder::fIsEquivalentToSnapshot!
boolTQSampleFolder::fIsFindingFriends! temporary flag to prevent infinite recursions in friend finding
Bool_tTFolder::fIsOwnertrue if folder own its contained objects
boolTQSampleFolder::fIsVariant!
TDirectory*TQFolder::fMyDir!
TStringTNamed::fNameobject identifier
doublefNormalisation
boolTQFolder::fOwnMyDir!
TQSample*fProxySample!
TList*TQTaggable::fReadFlags!
TList*TQTaggable::fTags
TStringTNamed::fTitleobject title
TList*fTokens!
boolfTokensAreShared!
TTree*fTree!
boolfTreeIsTransient!
TStringfTreeLocation
boolTQFolder::isFullyResolved!
static TObject::(anonymous)TObject::kOnlyPrepStep
static TQTaggable::(anonymous)TQTaggable::kOpADD
static TQTaggable::(anonymous)TQTaggable::kOpAND
static TQTaggable::(anonymous)TQTaggable::kOpCNT
static TQTaggable::(anonymous)TQTaggable::kOpMULT
static TQTaggable::(anonymous)TQTaggable::kOpNone
static TQTaggable::(anonymous)TQTaggable::kOpOR
static TQTaggable::(anonymous)TQTaggable::kOpRec
static map<TString,shared_ptr<TQTaggable> >TQTaggable::sGlobalTaggables

Class Charts

Inheritance Chart:
TObject
TNamed
TFolder
TQTaggable
TQFolder
TQSampleFolder
TQSample

Function documentation

TList * splitTreeLocations(TString treeLocations)
TQFolder * newInstance(const TString& name)
 Returns a new and empty instance of the TQSampleFolder class with name <name>
 if <name> is a valid name and a null pointer otherwise. Please note: this method
 does exactly the same as TQSampleFolder::newSampleFolder(...) but may be over-
 written by sub-classes of TQSampleFolder.
TString extractFilename(const TString& treeLocation)
TString extractTreename(const TString& treeLocation)
TQSample()
 Default constructor of TQSample class: a new instance of TQSample is created
 and initialized. It will be emtpy and have no base folder and its name will
 be set to "unkown"
TQSample(const TString& name)
 Constructor of TQSample class: a new instance of TQSample is created and
 initialized. It will be emtpy and have no base folder and its name will
 be set to the value of the parameter "name_" if it is a valid name and
 "unknown" otherwise
void setNormalisation(double normalisation_)
 Set the normalisation factor of this sample. This factor will be used by any
 analysis to scale its results
double getNormalisation()
 Get the normalisation factor of this sample (= 1. by default)
void setTree(TFile* file, const TString& treename)
 set the TTree of this sample from the file and the treename given
void clearTree()
 clear the tree belonging to this sample
 is called upon returning all tree tokens
bool getTree()
 retrieves the tree from the file to store it in the sample
void promoteTreeToFriends()
 promote the tree pointer to some friends
TQSampleFolderIterator itr(this->fFriends);
void retractTreeFromFriends()
 retract a tree (and TEvent) pointer from friends
TQSampleFolderIterator itr(this->fFriends);
while(itr.hasNext()){
  TQSample* myFriend = dynamic_cast<TQSample*>(itr.readNext());
  if (!myFriend) throw std::runtime_error("Attempt to promote tree to friend which is not of type TQSample. A SampleFolder within a Sample should never happen, check your analysis setup!");
TQToken * getTreeToken()
 Request a tree token (TQToken). Return a tree token containing a pointer to
 the TTree object if the tree is accessible, return a null pointer otherwise.
 Use returnTreeToken(...) to return the tree token after you don't need the
 tree anymore. The first request of a tree token triggers reading of the tree
 (opening the ROOT file, in case it is contained in an external file). After
 every tree token was returned, the tree is released (closing the ROOT file,
 in case it is contained in an external file).

 Your code using the tree might look like this:

 /* try to get a tree token *
 treeToken = sample->getTreeToken();

 if (treeToken) {
 /* get the pointer to the tree *
 TTree* tree = (TTree*)treeToken->getContent();
 /* optional: the sample should know who is using the token *
 treeToken->setOwner(this);

 /* <use your tree here> *

 /* return the tree token *
 sample->returnTreeToken(treeToken);
 } else {
 /* for any reason we didn't get a tree
 * token, so we cannot use the tree *
 }
TQToken * getFileToken()
 Request a file token (TQToken). Return a file token containing a pointer to
 the TFile object if it is accessible, return a null pointer otherwise.
 Use returnToken(...) to return the token after you don't need the file anymore.
TQToken * getEventToken()
 Request an event token (TQToken). Return a tree token containing a pointer to
 the TEvent object if the tree is accessible, return a null pointer otherwise.
 Use returnToken(...) to return the token after you don't need the
 TEvent anymore. The first request of a tree token triggers reading of the tree
 (opening the ROOT file, in case it is contained in an external file). After
 every tree token was returned, the tree is released (closing the ROOT file,
 in case it is contained in an external file).
bool returnTreeToken(TQToken*& token_)
 Return and delete a tree token that is not needed anymore (for
 details check documentation of getTreeToken()).
bool returnToken(TQToken*& token_)
 Return and delete a tree or event token that is not needed
 anymore
bool setTreeLocation(TString treeLocation_)
 Set the tree location. Setting a new tree location will fail, if there are
 still unreturned tree tokens. In that case, false is returned, and true other-
 wise.

 A tree may either be contained in this sample it self, or it may be contained
 in an external ROOT file:

 - if the tree is contained in the sample use

 setTreeLocation("<name_of_the_tree>");

 - if the tree is contained in an external ROOT file, use:

 setTreeLocation("<name_of_the_file>:<name_of_the_tree>");

 Please note: the name of the tree is NOT the name of the pointer, but it is
 the name of the object returned by tree->GetName() (or in case of an external
 file, the name of the key).
int getNTreeTokens()
 Return the number of unreturned tree tokens
void printTreeTokens()
 Print a summary of tree tokens
bool checkTreeAccessibility()
 Return true if the TTree is accessible and false otherwise
bool updateTreeLocation()
 Update the internally stored tree location based on xsp or initializer tags
TString getTreeLocation()
 Return the tree location
const TString& getTreeLocationRef()
Returns the treeLocation as a const reference
no checks except for empty internal cache are performed.
TString getFilename()
 retrieve the filename associated with this sample
TString getTreename()
 retrieve the treename associated with this sample
bool addSubSample(TQSample* subSample)
 add a subsample to this sample
 can only be done if this sample is not already a subsample
TQSample* addSelfAsSubSample(const TString& name)
 add a copy of yourself as a subsample
TQSample * getSubSample(const TString& path)
 get the subsample matching a given path
bool isSubSample()
 return true if this sample is the direct child of some other sample
 false otherwise
TQSample * getBaseSample()
 retrieve the base sample of this sample
TFile* getFile()
 retrieve the file pointer of this sample
~TQSample()
 default destructor
bool hasSubSamples()
 determine if this sample has any sub-samples
try to find a sub sample
for performance reasons we do not use the path parsing version but manualy check for contents of type TQSample
bool createFriendLinksForSamplesWithTreeLocation(TQSampleFolder* otherSF, shared_ptr<TList> otherSFContents = nullptr)
 crawl all samples in otherSF at once, creating friend links between all of them
 returns true if 'this' sample is amongst the processed TQSample instances
 and false otherwise.
void findFriendsInternal(TQSampleFolder* otherSF, bool forceUpdateSubsamples = false, shared_ptr<TList> otherSFContents = nullptr)
 find the friends of this sample folder in some other sample folder
int getOwnSize() const
void setProxySample(TQSample* proxy)
{fProxySample = proxy;}
TQSample* getProxySample()
{return fProxySample;}