28 produces<edm::ValueMap<unsigned int>>().setBranchAlias(
"cosmicsVeto");
29 produces<edm::ValueMap<reco::MuonCosmicCompatibility>>().setBranchAlias(
"cosmicCompatibility");
54 std::vector<unsigned int>
values;
57 std::vector<reco::MuonCosmicCompatibility> compValues;
58 compValues.reserve(
muons->size());
61 unsigned int foundPartner(0);
62 if (
muon->innerTrack().isNonnull()) {
72 values.push_back(foundPartner);
78 auto out = std::make_unique<edm::ValueMap<unsigned int>>();
83 auto outC = std::make_unique<edm::ValueMap<reco::MuonCosmicCompatibility>>();
85 fillerC.insert(
muons, compValues.begin(), compValues.end());