Go to the documentation of this file.
70 std::vector<std::string> fpMvaWeightFiles = iConfig.
getParameter<std::vector<std::string> >(
"mvaWeightFile");
74 produces<edm::ValueMap<float> >(
"");
91 bool manualCat_ =
true;
124 e(0, 0) = 0.0015 * 0.0015;
125 e(1, 1) = 0.0015 * 0.0015;
146 std::vector<float>
values;
147 values.reserve(egCollection->size());
149 for (reco::GsfElectronCollection::const_iterator egIter = egCandidates.begin(); egIter != egCandidates.end();
151 double mvaVal = -999999;
T const * product() const
Double_t mvaValue(const reco::GsfElectron &ele, const reco::Vertex &vertex, const TransientTrackBuilder &transientTrackBuilder, EcalClusterLazyTools myEcalCluster, bool printDebug=kFALSE)
T const * product() const
math::Error< dimension >::type Error
covariance error matrix (3x3)
void initialize(std::string methodName, std::string weightsfile, EGammaMvaEleEstimator::MVAType type)
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< EcalRecHitCollection > reducedEERecHitCollectionToken_
bool filter(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< double > eventrhoToken_
#define DEFINE_FWK_MODULE(type)
T getParameter(std::string const &) const
edm::EDGetTokenT< EcalRecHitCollection > reducedEBRecHitCollectionToken_
math::XYZPoint Point
point in the space
EGammaMvaEleEstimator * mvaID_
edm::EDGetTokenT< reco::GsfElectronCollection > electronToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
~ElectronIdMVAProducer() override
ElectronIdMVAProducer(const edm::ParameterSet &)
std::string fullPath() const
std::vector< std::string > mvaWeightFiles_