Go to the documentation of this file.
58 std::vector<std::string> fpMvaWeightFiles = iConfig.
getParameter<std::vector<std::string> >(
"mvaWeightFile");
61 produces<edm::ValueMap<float> >();
69 bool manualCat_ =
true;
103 std::vector<float>
values;
104 values.reserve(egCollection->size());
106 for (pat::ElectronCollection::const_iterator egIter = egCandidates.begin(); egIter != egCandidates.end(); ++egIter) {
107 double mvaVal = -999999;
T const * product() const
std::vector< Electron > ElectronCollection
EGammaMvaEleEstimator * mvaID_
void produce(edm::Event &, const edm::EventSetup &) override
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
T getUntrackedParameter(std::string const &, T const &) const
ElectronPATIdMVAProducer(const edm::ParameterSet &)
edm::EDGetTokenT< double > eventrhoToken_
#define DEFINE_FWK_MODULE(type)
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools const &myEcalCluster, bool printDebug=kFALSE)
edm::EDGetTokenT< pat::ElectronCollection > electronToken_
T getParameter(std::string const &) const
~ElectronPATIdMVAProducer() override
std::string fullPath() const
std::vector< std::string > mvaWeightFiles_