![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #ifndef JETTAGCALIBCONDDATA_H
11 #define JETTAGCALIBCONDDATA_H
18 #include "lwtnn/parse_json.hh"
19 #include "lwtnn/NNLayerConfig.hh"
20 #include "lwtnn/LightweightNeuralNetwork.hh"
21 #include "lwtnn/Exceptions.hh"
33 class LightweightNeuralNetwork;
46 void resize(
const std::vector<std::string>& sizeHisto);
52 void addHisto(
const unsigned int indexTagger,
const std::string&
name, std::unique_ptr<TH1>);
53 void addDL1NN(
const std::string& tagger,
const std::string&
channel,
const lwt::JSONConfig& );
54 void addIPRNN(
const std::string& tagger,
const std::string&
channel,
const std::string& );
55 void addBdt(
const std::string& tagger,
const std::string&
name, std::unique_ptr<MVAUtils::BDT>);
56 void addInputVars(
const std::string& tagger,
const std::string&
name,
const std::vector<std::string> &
input);
70 std::vector< std::map<std::string, std::unique_ptr<TH1>> >
m_histos;
75 std::map< std::string, std::map<std::string, std::unique_ptr<MVAUtils::BDT>> >
m_bdts;
77 std::map< std::string, std::map<std::string, std::vector<std::string>>>
m_inputVars;
79 std::map< std::string, std::map<std::string, lwt::JSONConfig >>
m_DL1_NNConfig;
86 #include "AthenaKernel/CondCont.h"
89 #endif // JETTAGCALIBCONDDATA_H
void printBdtsStatus() const
std::vector< std::map< std::string, std::unique_ptr< TH1 > > > m_histos
std::map< std::string, std::string > m_channelAliasesMap
TH1 * retrieveHistogram(const std::string &folder, const std::string &channel, const std::string &hname) const
CONDCONT_DEF(Analysis::JetTagCalibCondData, 197330919)
void printAliasesStatus() const
void addInputVars(const std::string &tagger, const std::string &name, const std::vector< std::string > &input)
std::string getChannelAlias(const std::string &originalChannel) const
Simplified Boosted Regression Tree, support TMVA, lgbm, and xgboost.
std::map< std::string, std::map< std::string, lwt::JSONConfig > > m_DL1_NNConfig
void addDL1NN(const std::string &tagger, const std::string &channel, const lwt::JSONConfig &)
std::map< std::string, std::map< std::string, std::vector< std::string > > > m_inputVars
void resize(const std::vector< std::string > &sizeHisto)
Resize the data members.
void addIPRNN(const std::string &tagger, const std::string &channel, const std::string &)
std::string histoName(const std::string &fullHistoName) const
T * retrieveTObject(const std::string &folder, const std::string &channel, const std::string &hname) const
Class to provide easy MsgStream access and capabilities.
std::map< std::string, std::map< std::string, std::string > > m_IP_RNNConfig
lwt::JSONConfig retrieveDL1NN(const std::string &tagger, const std::string &channel) const
void addBdt(const std::string &tagger, const std::string &name, std::unique_ptr< MVAUtils::BDT >)
The namespace of all packages in PhysicsAnalysis/JetTagging.
MVAUtils::BDT * retrieveBdt(const std::string &tagger, const std::string &channel) const
std::map< std::string, std::map< std::string, std::unique_ptr< MVAUtils::BDT > > > m_bdts
std::string channelName(const std::string &fullHistoName) const
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
std::vector< std::string > m_taggers
std::string fullHistoName(const std::string &channel, const std::string &histoName) const
std::vector< std::string > retrieveInputVars(const std::string &tagger, const std::string &channel, const std::string &hname) const
void printHistosStatus() const
std::string retrieveIPRNN(const std::string &tagger, const std::string &channel) const
macros to associate a CLID to a type
void addHisto(const unsigned int indexTagger, const std::string &name, std::unique_ptr< TH1 >)
void addChannelAlias(const std::string &channel, const std::string &alias)