13 ModuleCallingContext
const* mcc,
14 unsigned int eventNr) {
17 std::shared_ptr<Wrapper<HepMCProduct>
const> shPtr = getProductByTag<HepMCProduct>(
ep,
tag, mcc);
19 LogDebug(
"MixingModule") <<
"HepMC pileup objects added, eventNr " << eventNr <<
" Tag " <<
tag << std::endl;
20 crFrame_->setPileupPtr(shPtr);
21 crFrame_->addPileups(*shPtr->product());
35 LogDebug(
"MixingModule") <<
"adding HepMCProduct from signal event with " <<
tag;
36 crFrame_->addSignals(
result_t.product(),
e.id());
41 LogInfo(
"MixingModule") <<
"!!!!!!! Did not get any signal data for HepMCProduct with " << allTags_[0];
53 LogInfo(
"MixingModule") <<
" Will create a CrossingFrame for HepMCProduct with " 54 <<
" with InputTag= " <<
t.encode();
void addSignals(const edm::Event &e) override
bool checkSignal(const edm::Event &e) override
void addPileups(const EventPrincipal &ep, ModuleCallingContext const *, unsigned int eventNr) override
ap_fixed< 16, 6 > result_t
Log< level::Info, false > LogInfo