8 #ifndef RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
9 #define RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
16 #include "TMVA/Tools.h"
17 #include "TMVA/Reader.h"
18 #include "TMVA/Tools.h"
19 #include "TMVA/Reader.h"
30 Float_t
impactParTkThreshod_=1.,
const std::vector<std::string> & tmvaVariables= std::vector<std::string>());
36 bool calculateMva=
false);
void set(const PileupJetIdentifier &)
Float_t impactParTkThreshod_
std::vector< std::string > tmvaVariables_
Base class for all types of Jets.
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
std::map< std::string, std::string > tmvaNames_
std::vector< Vertex > VertexCollection
collection of Vertex objects
const std::string method() const
int computeCutIDflag(float betaStarClassic, float dR2Mean, float nvtx, float jetPt, float jetEta)
Float_t betaStarCut_[3][4][4]
const variables_list_t & getVariables() const
const PileupJetIdentifier::variables_list_t & getVariables() const { return variables_; }; ...
PileupJetIdentifier internalId_
std::string dumpVariables() const
PileupJetIdentifier computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, bool calculateMva=false)
int computeIDflag(float mva, float jetPt, float jetEta)
PileupJetIdAlgo(int version=PHILv0, const std::string &tmvaWeight="", const std::string &tmvaMethod="", Float_t impactParTkThreshod_=1., const std::vector< std::string > &tmvaVariables=std::vector< std::string >())
PileupJetIdentifier computeMva()
std::vector< std::string > tmvaSpectators_
std::map< std::string, std::pair< float *, float > > variables_list_t
variables_list_t variables_