8 #ifndef RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
9 #define RecoJets_JetProducers_plugins_PileupJetIdAlgo_h
26 class AlgoGBRForestsAndConstants;
35 float getMVAval(
const std::vector<std::string>&,
const std::unique_ptr<const GBRForest>&);
60 std::unique_ptr<const GBRForest>
const&
reader()
const {
return reader_; }
80 std::vector<std::unique_ptr<const GBRForest>>
etaReader_;
void set(const PileupJetIdentifier &)
std::map< std::string, std::pair< float *, float > > variables_list_t
AlgoGBRForestsAndConstants const * cache_
AlgoGBRForestsAndConstants(edm::ParameterSet const &, bool runMvas)
std::vector< double > const & jEtaMin() const
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 computeIdVariables(const reco::Jet *jet, float jec, const reco::Vertex *, const reco::VertexCollection &, double rho, bool usePuppi)
PileupJetIdentifier internalId_
std::string dumpVariables() const
std::map< std::string, std::string > tmvaNames_
float betaStarCut_[3][5][4]
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 computeMva()
std::vector< std::unique_ptr< const GBRForest > > const & etaReader() const
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_