ATLAS Offline Software
Reconstruction/DiTauRecTools/DiTauRecTools/HelperFunctions.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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"
9 
11 
12 #include "MVAUtils/BDT.h"
13 #include "TLorentzVector.h"
14 #include "TString.h"
15 
16 #include <vector>
17 #include <map>
18 
19 
20 namespace DiTauRecTools
21 {
22  ANA_MSG_HEADER(msgHelperFunction)
23 
24  std::unique_ptr<MVAUtils::BDT> configureMVABDT( std::map<TString, float*> &availableVars, const TString& weightFile);
25 
26  std::vector<TString> parseString(const TString& str, const TString& delim=",");
27  std::vector<TString> parseStringMVAUtilsBDT(const TString& str, const TString& delim=",");
28 }
29 
30 #endif // DITAURECTOOLS_HELPERFUNCTIONS_H
DiTauRecTools::parseStringMVAUtilsBDT
std::vector< TString > parseStringMVAUtilsBDT(const TString &str, const TString &delim=",")
Definition: Reconstruction/DiTauRecTools/Root/HelperFunctions.cxx:34
DiTauRecTools::configureMVABDT
std::unique_ptr< MVAUtils::BDT > configureMVABDT(std::map< TString, float * > &availableVars, const TString &weightFile)
Definition: Reconstruction/DiTauRecTools/Root/HelperFunctions.cxx:46
ANA_MSG_HEADER
#define ANA_MSG_HEADER(NAME)
for standalone code this creates a new message category
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:113
MessageCheck.h
macros for messaging and checking status codes
BDT.h
DiTauJet.h
DiTauRecTools
Implementation of boosted di-tau ID.
Definition: DiTauDiscriminantTool.h:36
DiTauRecTools::parseString
std::vector< TString > parseString(const TString &str, const TString &delim=",")
Definition: Reconstruction/DiTauRecTools/Root/HelperFunctions.cxx:19
str
Definition: BTagTrackIpAccessor.cxx:11