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);
std::vector< std::string > tmvaVariables_
Float_t mvacut_[NWPs][NEtas][NPts]
Base class for all types of Jets.
std::vector< std::string > tmvaSpectators_
static constexpr int NEtas
std::vector< Vertex > VertexCollection
collection of Vertex objects
variables_list_t variables_
static constexpr int NPts
Float_t rmsCut_[NWPs][NEtas][NPts]
const variables_list_t & getVariables() const
const std::string method() const
int computeCutIDflag(float betaStarClassic, float dR2Mean, float nvtx, float jetPt, float jetEta)
PileupJetIdentifier computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, double rho, bool calculateMva=false)
PileupJetIdentifier internalId_
Float_t betaStarCut_[NWPs][NEtas][NPts]
std::string dumpVariables() const
std::map< std::string, std::string > tmvaNames_
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
PileupJetIdentifier computeMva()
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 >())
int computeIDflag(float mva, float jetPt, float jetEta)
static constexpr int NWPs
std::map< std::string, std::pair< float *, float > > variables_list_t