13 produces<pat::CompositeCandidateCollection>(
"Kshort");
14 produces<pat::CompositeCandidateCollection>(
"Lambda");
20 std::cout <<
"running OniaAddV0TracksProducer..." << std::endl;
36 for (reco::VertexCompositeCandidateCollection::const_iterator ik = kcandidates->begin(); ik != kcandidates->end();
43 Enhanced_kShortCandidates->push_back(*kc);
47 for (reco::VertexCompositeCandidateCollection::const_iterator il = lcandidates->begin(); il != lcandidates->end();
54 Enhanced_lambdaCandidates->push_back(*lc);
64 if (exits_k || exits_l)
67 event.put(
std::move(Enhanced_kShortCandidates),
"Kshort");
68 event.put(
std::move(Enhanced_lambdaCandidates),
"Lambda");
72 std::cout <<
"############################" << std::endl;
73 std::cout <<
"OniaAddV0Tracks producer report " << std::endl;
74 std::cout <<
"############################" << std::endl;
79 std::cout <<
"############################" << std::endl;
Analysis-level particle class.
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > KShortCollectionToken_
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &event, const edm::EventSetup &esetup) override
std::vector< CompositeCandidate > CompositeCandidateCollection
edm::EDGetTokenT< reco::VertexCompositeCandidateCollection > LambdaCollectionToken_
OniaAddV0TracksProducer(const edm::ParameterSet &ps)
void addUserData(const std::string &label, const T &data, bool transientOnly=false, bool overwrite=false)