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" 34 bool calculateMva=
false);
const variables_list_t & getVariables() const
std::vector< std::string > tmvaVariables_
Float_t mvacut_[NWPs][NEtas][NPts]
Base class for all types of Jets.
std::vector< std::string > tmvaSpectators_
std::vector< Vertex > VertexCollection
collection of Vertex objects
variables_list_t variables_
Float_t rmsCut_[NWPs][NEtas][NPts]
std::map< std::string, std::string > tmvaNames_
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)
std::map< std::string, std::pair< float *, float > > variables_list_t
const std::string method() const
PileupJetIdentifier internalId_
Float_t betaStarCut_[NWPs][NEtas][NPts]
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)
std::string dumpVariables() const