46 rekey_(conf.getParameter<
bool>(
"rekey")),
51 std::vector<edm::InputTag>
tags = conf.
getParameter<std::vector<edm::InputTag> >(
"floatValueMaps");
56 produces<edm::ValueMap<float> >(
tag.instance());
63 produces<edm::ValueMap<float> >(
name);
82 std::vector<std::vector<float> >
output;
83 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
87 for (
unsigned int igsf = 0; igsf < gsfTracksV.size(); igsf++) {
89 if (
gsf.extra().isNonnull() &&
gsf.extra()->seedRef().isNonnull()) {
91 if (
seed.isNonnull() &&
seed->ctfTrack().isNonnull()) {
94 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
95 output[iname][igsf] = preid->mva(iname);
103 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
126 for (
unsigned int iele = 0; iele < gsfElectronsV.size(); iele++) {
147 desc.add<std::vector<std::string> >(
"ModelNames", {
"unbiased",
"ptbiased"});
148 desc.add<
bool>(
"rekey",
false);
150 desc.add<std::vector<edm::InputTag> >(
"floatValueMaps", std::vector<edm::InputTag>());
151 descriptions.
add(
"lowPtGsfElectronSeedValueMaps",
desc);