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 float getMVAval(
const std::vector<std::string> &,
const std::unique_ptr<const GBRForest> &);
66 std::unique_ptr<const GBRForest>
const&
reader()
const {
return reader_; }
84 std::unique_ptr<const GBRForest>
getMVA(std::vector<std::string>
const& varList,
91 std::vector<std::unique_ptr<const GBRForest>>
etaReader_;
AlgoGBRForestsAndConstants const * cache_
AlgoGBRForestsAndConstants(edm::ParameterSet const &, bool runMvas)
std::vector< double > const & jEtaMin() const
std::map< std::string, std::string > tmvaNames_
std::vector< std::unique_ptr< const GBRForest > > etaReader_
Base class for all types of Jets.
std::string const & tmvaMethod() const
std::string const & label() const
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
std::vector< double > jEtaMin_
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)
std::vector< double > const & jEtaMax() const
const variables_list_t & getVariables() const
const PileupJetIdentifier::variables_list_t & getVariables() const { return variables_; }; ...
std::vector< std::string > tmvaVariables_
PileupJetIdentifier internalId_
float betaStarCut_[3][4][4]
std::string dumpVariables() const
std::unique_ptr< const GBRForest > const & reader() const
std::vector< std::vector< std::string > > tmvaEtaVariables_
int computeIDflag(float mva, float jetPt, float jetEta)
array_t const & rmsCut() const
array_t const & betaStarCut() const
array_t const & mvacut() const
PileupJetIdentifier computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, double rho)
std::unique_ptr< const GBRForest > getMVA(std::vector< std::string > const &varList, std::string const &tmvaWeights, std::vector< std::string > const &tmvaSpectators)
PileupJetIdentifier computeMva()
std::vector< std::unique_ptr< const GBRForest > > const & etaReader() const
std::map< std::string, std::pair< float *, float > > variables_list_t
std::vector< std::vector< std::string > > const & tmvaEtaVariables() const
variables_list_t variables_
bool etaBinnedWeights() const
std::vector< std::string > const & tmvaVariables() const
float getMVAval(const std::vector< std::string > &, const std::unique_ptr< const GBRForest > &)
std::unique_ptr< const GBRForest > reader_
PileupJetIdAlgo(AlgoGBRForestsAndConstants const *cache)
std::vector< double > jEtaMax_