12 produces< pat::CompositeCandidateCollection >(
"Kshort");
13 produces< pat::CompositeCandidateCollection >(
"Lambda");
19 std::cout <<
"running OniaAddV0TracksProducer..." << std::endl;
36 for (reco::VertexCompositeCandidateCollection::const_iterator ik = kcandidates->begin(); ik != kcandidates->end(); ++ik) {
42 Enhanced_kShortCandidates->push_back(*kc);
46 for (reco::VertexCompositeCandidateCollection::const_iterator il = lcandidates->begin(); il != lcandidates->end(); ++il) {
52 Enhanced_lambdaCandidates->push_back(*lc);
64 event.put(
std::move(Enhanced_kShortCandidates),
"Kshort");
65 event.put(
std::move(Enhanced_lambdaCandidates),
"Lambda");
69 std::cout <<
"############################" << std::endl;
70 std::cout <<
"OniaAddV0Tracks producer report " << std::endl;
71 std::cout <<
"############################" << std::endl;
76 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)