+
class TSCLSignificanceEvaluator
-
library: libSFramework
#include "TSCLSignificanceEvaluator.h"
Display options:
Show inherited
Show non-public
Common Analysis Framework » SFRAMEWORK » TSCLSignificanceEvaluator

class TSCLSignificanceEvaluator: public TQSignificanceEvaluator

Function Members (Methods)

public:
virtual~TSCLSignificanceEvaluator()
voidTObject::AbstractMethod(const char* method) const
booladdFOM(const TString& fomName)
virtual boolTQSignificanceEvaluator::addFunctionsFOM(vector<TString> fomDefinitions, vector<double>* parameter = nullptr)
virtual voidTQSignificanceEvaluator::addRegion(const TString& cutname)
voidaddVariation(TQSampleFolder* sf, TString varname)
boolTQTaggable::allTagsOfTypeBool()
boolTQTaggable::allTagsOfTypeDouble()
boolTQTaggable::allTagsOfTypeInteger()
boolTQTaggable::allTagsOfTypeString()
boolTQTaggable::allTagsValidBools()
boolTQTaggable::allTagsValidDoubles()
boolTQTaggable::allTagsValidIntegers()
virtual voidTObject::AppendPad(Option_t* option = "")
doubleTQSignificanceEvaluator::bkg(size_t iregion)
pair<double,double>TQSignificanceEvaluator::bkgAndError(size_t iregion)
vector<THnBase*>TQSignificanceEvaluator::bkgHists()
virtual voidTQSignificanceEvaluator::bookNF(const TString& path)
virtual voidTObject::Browse(TBrowser* b)
boolTQTaggable::canSetThisTag(const TString& key, bool& treatAsList)
boolcheckCutoffs()
ULong_tTObject::CheckedHash()
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
intcleanWorkingFolder()
voidTQTaggable::clear()
virtual voidTNamed::Clear(Option_t* option = "")
intTQTaggable::clearTags()
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
boolconfigure(const TString& configfilename, const TString& modelname = "")
virtual voidTNamed::Copy(TObject& named) const
intTQTaggable::countMatchingTags(const TString& name) const
voiddeactivate()
virtual voidTObject::Delete(Option_t* option = "")MENU
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 doubleevaluate()
virtual vector<double>evaluateMultiple()
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
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)
voidexportSampleFolder(bool doexport = true)
voidexportSignificance(bool doexport = 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 intexportWorkspace(const TString& outFileName = "model-raw.root")
virtual voidTObject::Fatal(const char* method, const char* msgfmt,...) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
vector<TString>TQSignificanceEvaluator::FOMDefinitions()
TQSampleFolder*getBaseFolder(TString path = "")
virtual TQTaggable*TQTaggable::getBaseTaggable() const
TQFolder*getConfigFolder(TString path = "")
virtual TList*TQTaggable::getDescendantTaggables()
virtual Option_t*TObject::GetDrawOption() const
static Longptr_tTObject::GetDtorOnly()
virtual TStringTQTaggable::getFlags()
intTQTaggable::getFlagsSize()
virtual vector<double>TQSignificanceEvaluator::getFOMs(size_t iregion)
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 const char*TObject::GetIconName() const
TList*TQTaggable::getListOfKeys(const TString& filter = "")
virtual TList*TQTaggable::getListOfTaggables(const TString& name)
TList*TQTaggable::getListOfTagNames()
virtual TList*TQTaggable::getListOfUnreadKeys(const TString& filter = "")
virtual doublegetLuminosity(TString folderName = "info", TString tagName = "luminosity")
virtual const char*TNamed::GetName() const
intTQTaggable::getNTags() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TQSampleDataReader*TQSignificanceEvaluator::getReader()
virtual doublegetSignificance(size_t iregion)
virtual doublegetSignificance2(size_t iregion)
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)
virtual const char*TNamed::GetTitle() const
boolTQTaggable::getTypeOfTagAsString(const TString& key, TString& type)
virtual UInt_tTObject::GetUniqueID() const
static const TString&TQTaggable::getValidKeyCharacters()
boolTQTaggable::getValueOfTagAsString(const TString& key, TString& value)
TStringTQTaggable::getValuesOfTags(const TString& keys, const TString& sep = ", ")
TQSampleFolder*getWorkingFolder(TString path = "")
virtual Bool_tTObject::HandleTimer(TTimer* timer)
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)
virtual ULong_tTNamed::Hash() const
Bool_tTObject::HasInconsistentHash() const
boolTQTaggable::hasMatchingTag(const TString& name) const
virtual boolhasNativeRegionSetHandling()
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 = "")
voidimportSampleFolder(bool doimport = true)
voidimportSignificance(bool doimport = 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 boolinitialize(TQGridScanner* scanner)
boolinitialize(const TString& importfilename = "", const TString& exportfilename = "")
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tTObject::IsDestructed() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual boolisPrepared()
boolTQSignificanceEvaluator::isSimple()
virtual Bool_tTNamed::IsSortable() const
boolTQTaggable::isTagOverwrittenByDescendants(TString key)
static boolTQTaggable::isValidKey(const TString& key)
Bool_tTObject::IsZombie() const
voidkeepTMP(TString tmpfilenamebase = "histograms_")
virtual voidTNamed::ls(Option_t* option = "") const
static TList*TQTaggable::makeListOfTags(TList* unTags)
voidTObject::MayNotUse(const char* method) const
vector<THnBase*>TQSignificanceEvaluator::multiDimHists()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
virtual voidTQTaggable::onAccess(TQValue* tag)
virtual voidTQTaggable::onRead(TQValue* tag)
virtual voidTQTaggable::onWrite(TQValue* tag)
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)
TSCLSignificanceEvaluator&operator=(const TSCLSignificanceEvaluator&)
TSCLSignificanceEvaluator&operator=(TSCLSignificanceEvaluator&&)
virtual voidTObject::Paint(Option_t* option = "")
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 voidTObject::Pop()
virtual boolprepareNextRegionSet(const TString& suffix = "")
virtual voidTNamed::Print(Option_t* option = "") const
intTQTaggable::printClaim(const TString& definition)
boolTQTaggable::printDiffOfTags(TQTaggable* tags, const TString& options = "")
boolTQTaggable::printDiffOfTags(TQTaggable* tags, TQTaggable& options)
voidprintMode()
voidprintPaths()
voidTQTaggable::printTags(TString options = "r")
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
vector<TString>TQSignificanceEvaluator::regions()
static boolTQTaggable::removeGlobalTaggable(const char* name)
static boolTQTaggable::removeGlobalTaggable(const TString& name)
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)
voidTObject::ResetBit(UInt_t f)
virtual voidTQTaggable::resetReadFlags()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual boolTQSignificanceEvaluator::scaleLuminosity(double lumi = 1000)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidsetDebugOutputdir(TString outdir)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidsetExternalEvaluation(const TString& command, bool allowRecycling = false)
virtual voidTQSignificanceEvaluator::setFileIdentifier(TString s)
voidTQTaggable::setGlobalIgnoreCase(bool globalIgnoreCase = true)
voidTQTaggable::setGlobalOverwrite(bool globalOverwrite = true)
voidsetInitialization(TClass* initClass)
voidsetInternalEvaluation(bool eval = true)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual boolTQSignificanceEvaluator::setRangeAxis(int axis, double low, double up)
voidsetRegionSetHandling(bool val)
voidsetSampleFolderFile(const TString& filename)
voidsetSignificanceFile(const TString& filename)
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
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidsetVerbose(bool v)
virtual voidShowMembers(TMemberInspector& insp) const
doubleTQSignificanceEvaluator::signal(size_t iregion)
pair<double,double>TQSignificanceEvaluator::signalAndError(size_t iregion)
vector<THnBase*>TQSignificanceEvaluator::signalHists()
virtual Int_tTNamed::Sizeof() const
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
TSCLSignificanceEvaluator(const TSCLSignificanceEvaluator&)
TSCLSignificanceEvaluator(TSCLSignificanceEvaluator&&)
TSCLSignificanceEvaluator(TString targetVar, TString name = "CL")
TSCLSignificanceEvaluator(TQSampleFolder* sf = __null, TString targetVar = "", TString name = "CL")
TSCLSignificanceEvaluator(TList* folders, TString targetVar = "", TString name = "CL", TString folderKeyTag = ".key")
virtual boolTQSignificanceEvaluator::updateHists(vector<int> axisToScan, TQGridScanner* scanner, int axisToEvaluate)
virtual voidTObject::UseCurrentStyle()
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
protected:
intconfigureBoundRegions()
intTQTaggable::countTagDown(const TString& key)
intTQTaggable::countTagUp(const TString& key)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TQValue*TQTaggable::findTag(TString name)
TList*TQTaggable::getListOfTags()
boolTQTaggable::getOp(const TString& op, int& opCode)
boolTQTaggable::getTag(const TString& key, TQValue*& tag)
voidTObject::MakeZombie()
Int_tprepareFromGridScanner(const TString&)
intTQTaggable::setTag(TQValue* tag, const TString& destination = "")
intTQTaggable::setTag(TQValue* tag, const TString& destination, bool overwrite)
private:
virtual Bool_tCheckTObjectHashConsistency() const

Data Members

public:
static TSCLSignificanceEvaluator::ModeEXPORT
static TSCLSignificanceEvaluator::ModeIMPORT
static TSCLSignificanceEvaluator::ModeNONE
TStringTQSignificanceEvaluator::info
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
boolm_multipleFOMsCompatible
boolTQSignificanceEvaluator::m_multipleFOMsCompatible
protected:
vector<TString>TQSignificanceEvaluator::autoNFs!
TQSampleFolder*baseFolder!
booldebug!
TStringdiscriminantVariable!
TSStatisticsManager*engine!
TStringevaluationCommand!
boolTQTaggable::fGlobalIgnoreCase!
boolTQTaggable::fGlobalOverwrite!
TStringTNamed::fNameobject identifier
TList*TQTaggable::fReadFlags!
TList*TQTaggable::fTags
TStringTNamed::fTitleobject title
TStringTQSignificanceEvaluator::fileIdentifier!
TClass*TQSignificanceEvaluator::initialization!
boolinternalEvaluation!
boolTQSignificanceEvaluator::isSimpleEvaluator!
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
vector<TString>locations! // deprecated! delete once ready to do so
doubleTQSignificanceEvaluator::luminosity
doubleTQSignificanceEvaluator::luminosityScale
vector<TString>TQSignificanceEvaluator::m_FOMDefinitions!
vector<TString>m_FOMNames
vector<TH1F*>m_Hists!
vector<THnBase*>TQSignificanceEvaluator::m_bkgHists!
map<TString,TAxis*>m_boundMultiDimAxis!
TQFolder*m_config!
intm_discriminantVariableIndex! // index of discriminant variable in n-dim hist
vector<function<double(double,double)> >TQSignificanceEvaluator::m_functionsFOM!
vector<function<double(double,double,double)> >TQSignificanceEvaluator::m_functionsFOMWithBkgUnc!
vector<function<double(double,double,double,double)> >TQSignificanceEvaluator::m_functionsFOMWithUnc!
vector<TString>m_histNames!
vector<TString>m_histRegionsInInput!
vector<TString>m_histRegionsInModel!
vector<THnBase*>TQSignificanceEvaluator::m_multiDimHists! only used for cl evaluator mode!
intm_nPointsProcessed!
vector<TString>TQSignificanceEvaluator::m_regions!
vector<TString>m_samplePaths!
vector<THnBase*>TQSignificanceEvaluator::m_signalHists!
TStringmodelName!
intnPreparedRegionSets!
TStringoutputdir!
TQSampleDataReader*TQSignificanceEvaluator::reader!
boolrecyclingAllowed!
static map<TString,shared_ptr<TQTaggable> >TQTaggable::sGlobalTaggables
TStringsampleFolderFileName!
TSCLSignificanceEvaluator::ModesampleFolderMode
TQGridScanner*TQSignificanceEvaluator::scanner!
TStringsignificanceFileName!
TSCLSignificanceEvaluator::ModesignificanceMode
boolsupportRegionSetHandling!
TStringtmpFileName!
TStringtmpFileNameBase!
vector<TString>variations!
boolTQSignificanceEvaluator::verbose!
TQSampleFolder*workingFolder!

Class Charts

Inheritance Chart:
TQTaggable
TObject
TNamed
TQSignificanceEvaluator
TSCLSignificanceEvaluator

Function documentation

double getLuminosity(TString folderName = "info", TString tagName = "luminosity")
 retrieve the luminosity value from the given location (default info/luminosity)
 within the sample folder structure (and save it internally)
TSCLSignificanceEvaluator(TQSampleFolder* sf = __null, TString targetVar = "", TString name = "CL")
 specialized constructor taking the target sample folder
 the discriminant variable (histogram variable)
 and the name of the desired working folder
 if(sf){
 	this->baseFolder->addObject(sf,"::Nominal");
 	this->variations.push_back("Nominal");
 }
 this->reader = new TQSampleDataReader(this->baseFolder);
TSCLSignificanceEvaluator(TList* folders, TString targetVar = "", TString name = "CL", TString folderKeyTag = ".key")
TSCLSignificanceEvaluator(TString targetVar, TString name = "CL")
void setDebugOutputdir(TString outdir)
void deactivate()
 deactivate the evaluator, disabling all evaluation capabilities
void exportSampleFolder(bool doexport = true)
 trigger exporting of the sample folder
void importSampleFolder(bool doimport = true)
 trigger importing of the sample folder
void exportSignificance(bool doexport = true)
 trigger exporting of evaluation results
void importSignificance(bool doimport = true)
 trigger importing of evaluation results
void setInternalEvaluation(bool eval = true)
 set the evaluation to "internal" mode
 currently not advised due to a rampant memory leak in HistFactory
 https://sft.its.cern.ch/jira/browse/ROOT-5236
void setExternalEvaluation(const TString& command, bool allowRecycling = false)
 set the evaluation to "external" mode
 using the given command to be submitted to a console
 currently the preferred way of evaluation
void setSampleFolderFile(const TString& filename)
 set the filename of the sample folder for import/export
void setRegionSetHandling(bool val)
void setSignificanceFile(const TString& filename)
 set the filename for the import/export of results
void keepTMP(TString tmpfilenamebase = "histograms_")
 avoid deletion of the temporary files
 instead, move them to a location specified by the given base name
void addVariation(TQSampleFolder* sf, TString varname)
 add a systematic variation to the evaluation
void setInitialization(TClass* initClass)
bool configure(const TString& configfilename, const TString& modelname = "")
 configure the evaluator using the given stats configuration and model name
 this function should be called only AFTER all other settings have been adjusted
void printMode()
 print the current evaluation mode/settings
int exportWorkspace(const TString& outFileName = "model-raw.root")
 Function to export a statistics model for the current cut configuration
std::vector<double> evaluateMultiple()
int cleanWorkingFolder()
 Clean working folder from all TH1s
bool checkCutoffs()
 TODO: Reintroduce!
int configureBoundRegions()
 There is at least one region specified that has a bound range with a variable in the n-dim histogram.
 Here, the axis of the n-dim histogram is added to the location in the working folder of this region
 in order to retrieve the range settings later on in the prepare step!
int prepareFromGridScanner(const TString& )
 Prepare the working folder from a TQGridScanner object.
 should be called automatically on evaluation
 if initialized with a TQGridScanner
 Extracts TH1Fs from the multiDim hists and adds to working folder
 to prepare for the model building and the further statistical analysis!
TQSampleFolder* getWorkingFolder(TString path = "")
 return a pointer to the current working folder
TQSampleFolder* getBaseFolder(TString path = "")
 return a pointer to the current base folder
TQFolder* getConfigFolder(TString path = "")
 return a pointer to the configuration folder
void printPaths()
 print the paths of all registered histograms
bool addFOM(const TString& fomName)
bool initialize(const TString& importfilename = "", const TString& exportfilename = "")
bool initialize(TQGridScanner* scanner)
 Initialize the evaluator for use with a TQGridScanner
 The model configuration is used to build the folder structure of the 'workingFolder'.
 There are no input histograms added to the working folder at this stage, but
 the used multidimensional histograms are read and saved in a vector only.
 The relevant TH1Fs (which are projections of the n-dim histograms)
 will be added (and cleanup up afterwards) to the working folder in each 'evaluate'
 call, i.e. for each cut configuration (which is set on the n-dim hists
 in the TQGridScanner), before the statistics code is run.
bool hasNativeRegionSetHandling()
bool prepareNextRegionSet(const TString& suffix = "")
bool isPrepared()
void setVerbose(bool v)
 toggle verbosity
double getSignificance(size_t iregion)
double getSignificance2(size_t iregion)
double evaluate()
TSCLSignificanceEvaluator(TQSampleFolder* sf = __null, TString targetVar = "", TString name = "CL")
TSCLSignificanceEvaluator(TList* folders, TString targetVar = "", TString name = "CL", TString folderKeyTag = ".key")