ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction/DiTauRecTools/DiTauRecTools/HelperFunctions.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DITAURECTOOLS_HELPERFUNCTIONS_H
6#define DITAURECTOOLS_HELPERFUNCTIONS_H
7
8#include "xAODTau/DiTauJet.h"
10#include "MVAUtils/BDT.h"
11#include "TString.h"
12#include <vector>
13#include <map>
14#include <memory>
15
16namespace DiTauRecTools
17{
18 ANA_MSG_HEADER(msgHelperFunction)
19
20 std::unique_ptr<MVAUtils::BDT> configureMVABDT( std::map<TString, float*> &availableVars, const TString& weightFile);
21
22 std::vector<TString> parseString(const TString& str, const TString& delim=",");
23 std::vector<TString> parseStringMVAUtilsBDT(const TString& str, const TString& delim=",");
24}
25
26#endif // DITAURECTOOLS_HELPERFUNCTIONS_H
macros for messaging and checking status codes
#define ANA_MSG_HEADER(NAME)
for standalone code this creates a new message category
Implementation of boosted di-tau ID.
std::vector< TString > parseStringMVAUtilsBDT(const TString &str, const TString &delim=",")
std::unique_ptr< MVAUtils::BDT > configureMVABDT(std::map< TString, float * > &availableVars, const TString &weightFile)
std::vector< TString > parseString(const TString &str, const TString &delim=",")