18 bool useBinnedVersion,
19 std::vector<std::string> weightsfiles) {
24 std::vector<std::string> weightspaths;
25 weightspaths.reserve(weightsfiles.size());
67 throw cms::Exception(
"LogicError",
"You must call unitialize before mvaValue\n");
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimatorCSA14::MVAType type)
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools const &myEcalCluster, bool printDebug=kFALSE)
float mvaValue(const pat::Electron &ele, const reco::Vertex &vertex, double rho, bool full5x5, bool printDebug=false)
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, noZS::EcalClusterLazyTools myEcalCluster, bool printDebug=kFALSE)
void initialize(std::string methodName, MVAType type, bool useBinnedVersion, std::vector< std::string > weightsfiles)
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
EGammaMvaEleEstimatorCSA14 * estimatorCSA14_
~EGammaMvaEleEstimatorFWLite()
Analysis-level electron class.
EGammaMvaEleEstimatorFWLite()
EGammaMvaEleEstimator * estimator_