14 std::shared_ptr<Wrapper<HepMCProduct>
const> shPtr = getProductByTag<HepMCProduct>(ep, tag_, mcc);
16 LogDebug(
"MixingModule") <<
"HepMC pileup objects added, eventNr "<<eventNr <<
" Tag " << tag_ << std::endl;
17 crFrame_->setPileupPtr(shPtr);
18 crFrame_->addPileups(*shPtr->product());
26 bool got = e.getByLabel(tag_,result_t);
28 LogDebug(
"MixingModule") <<
" adding HepMCProduct from signal event with "<<tag_;
29 crFrame_->addSignals(result_t.product(),e.id());
31 LogInfo(
"MixingModule") <<
"!!!!!!! Did not get any signal data for HepMCProduct with "<<tag_;
41 got = e.getByLabel(tag_,result_t);
42 t = InputTag(tag_.label(),tag_.instance());
45 LogInfo(
"MixingModule") <<
" Will create a CrossingFrame for HepMCProduct with "
46 <<
" with InputTag= "<< t.encode();
virtual void addSignals(const edm::Event &e)
virtual bool checkSignal(const edm::Event &e)
virtual void addPileups(const EventPrincipal &ep, ModuleCallingContext const *, unsigned int eventNr)