32 const std::vector<std::string>
names_;
40 names_(conf.getParameter<
std::vector<
std::
string> >(
"ModelNames")) {
42 produces<edm::ValueMap<float> >(
name);
59 if (!preIdsValueMap.
isValid()) {
64 std::vector<std::vector<float> >
output;
65 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
68 for (
unsigned int igsf = 0; igsf <
gsfTracks->size(); igsf++) {
70 if (
gsf.isNonnull() &&
gsf->extra().isNonnull() &&
gsf->extra()->seedRef().isNonnull()) {
72 if (
seed.isNonnull() &&
seed->ctfTrack().isNonnull()) {
75 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
76 output[iname][igsf] = preid->mva(iname);
84 for (
unsigned int iname = 0; iname <
names_.size(); ++iname) {
99 desc.
add<std::vector<std::string> >(
"ModelNames", {
"unbiased",
"ptbiased"});
100 descriptions.
add(
"lowPtGsfElectronSeedValueMaps", desc);