8 #ifndef RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
9 #define RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
18 #include "TMVA/Tools.h"
19 #include "TMVA/Reader.h"
20 #include "TMVA/Tools.h"
21 #include "TMVA/Reader.h"
40 std::unique_ptr<const GBRForest>
getMVA(
const std::vector<std::string> &,
const std::string &);
41 float getMVAval(
const std::vector<std::string> &,
const std::unique_ptr<const GBRForest> &);
70 std::vector<std::unique_ptr<const GBRForest>>
etaReader_;
void set(const PileupJetIdentifier &)
std::vector< std::string > tmvaEtaWeights_
std::vector< std::string > tmvaVariables_
Base class for all types of Jets.
std::unique_ptr< const GBRForest > getMVA(const std::vector< std::string > &, const std::string &)
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
std::map< std::string, std::string > tmvaNames_
std::vector< double > jEtaMin_
std::vector< Vertex > VertexCollection
collection of Vertex objects
float impactParTkThreshod_
const std::string method() const
int computeCutIDflag(float betaStarClassic, float dR2Mean, float nvtx, float jetPt, float jetEta)
const variables_list_t & getVariables() const
const PileupJetIdentifier::variables_list_t & getVariables() const { return variables_; }; ...
std::vector< std::unique_ptr< const GBRForest > > etaReader_
float betaStarCut_[3][4][4]
PileupJetIdentifier internalId_
std::string dumpVariables() const
std::vector< std::vector< std::string > > tmvaEtaVariables_
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 >(), bool runMvas=true)
std::unique_ptr< const GBRForest > reader_
int computeIDflag(float mva, float jetPt, float jetEta)
PileupJetIdentifier computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, double rho)
PileupJetIdentifier computeMva()
std::vector< std::string > tmvaSpectators_
std::vector< double > jEtaMax_
std::map< std::string, std::pair< float *, float > > variables_list_t
variables_list_t variables_
float getMVAval(const std::vector< std::string > &, const std::unique_ptr< const GBRForest > &)