Go to the documentation of this file.
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_;
std::vector< double > jEtaMin_
Base class for all types of Jets.
std::string const & label() const
std::string dumpVariables() const
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::vector< double > const & jEtaMax() const
AlgoGBRForestsAndConstants(edm::ParameterSet const &, bool runMvas)
const std::string method() const
std::vector< std::string > const & tmvaVariables() const
std::unique_ptr< const GBRForest > reader_
std::pair< int, int > getJetIdKey(float jetPt, float jetEta)
void set(const PileupJetIdentifier &)
AlgoGBRForestsAndConstants const * cache_
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 usePuppi)
int computeIDflag(float mva, float jetPt, float jetEta)
std::vector< double > const & jEtaMin() const
std::map< std::string, std::pair< float *, float > > variables_list_t
PileupJetIdentifier internalId_
bool etaBinnedWeights() const
std::vector< std::unique_ptr< const GBRForest > > const & etaReader() const
PileupJetIdentifier computeMva()
std::vector< std::vector< std::string > > tmvaEtaVariables_
PileupJetIdAlgo(AlgoGBRForestsAndConstants const *cache)
std::string const & tmvaMethod() const
array_t const & betaStarCut() const
std::map< std::string, std::string > tmvaNames_
std::vector< std::unique_ptr< const GBRForest > > etaReader_
std::vector< double > jEtaMax_
float betaStarCut_[3][5][4]
std::vector< std::string > tmvaVariables_
std::vector< std::vector< std::string > > const & tmvaEtaVariables() const
float getMVAval(const std::vector< std::string > &, const std::unique_ptr< const GBRForest > &)
variables_list_t variables_
array_t const & rmsCut() const
array_t const & mvacut() const
std::unique_ptr< const GBRForest > const & reader() const
const variables_list_t & getVariables() const
const PileupJetIdentifier::variables_list_t & getVariables() const { return variables_; };