Go to the documentation of this file. 1 #ifndef RecoJets_JetProducers_plugins_MVAJetPuId_h
2 #define RecoJets_JetProducers_plugins_MVAJetPuId_h
9 #include "TMVA/Tools.h"
10 #include "TMVA/Reader.h"
11 #include "TMVA/Tools.h"
12 #include "TMVA/Reader.h"
17 static constexpr
int NWPs = 3;
18 static constexpr
int NPts = 4;
28 const std::vector<std::string> &
tmvaVariables = std::vector<std::string>());
37 bool calculateMva =
false);
const variables_list_t & getVariables() const
int computeCutIDflag(float betaStarClassic, float dR2Mean, float nvtx, float jetPt, float jetEta)
Base class for all types of Jets.
PileupJetIdentifier computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, double rho, bool calculateMva=false)
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::map< std::string, std::string > tmvaNames_
PileupJetIdentifier computeMva()
Float_t betaStarCut_[NWPs][NEtas][NPts]
void set(const PileupJetIdentifier &)
PileupJetIdentifier internalId_
std::map< std::string, std::pair< float *, float > > variables_list_t
Float_t impactParTkThreshod_
MVAJetPuId(int version=CATEv0, const std::string &tmvaWeight="", const std::string &tmvaMethod="", Float_t impactParTkThreshod_=1., const std::vector< std::string > &tmvaVariables=std::vector< std::string >())
std::string dumpVariables() const
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
int computeIDflag(float mva, float jetPt, float jetEta)
std::vector< std::string > tmvaSpectators_
static constexpr int NWPs
std::vector< std::string > tmvaVariables_
static constexpr int NEtas
Float_t mvacut_[NWPs][NEtas][NPts]
Float_t rmsCut_[NWPs][NEtas][NPts]
const std::string method() const
static constexpr int NPts
variables_list_t variables_