#include <MixingWorker.h>
|
template<> |
void | addPileups (const EventPrincipal &ep, ModuleCallingContext const *mcc, unsigned int eventNr) |
|
template<> |
void | addPileups (const EventPrincipal &ep, ModuleCallingContext const *, unsigned int eventNr) |
|
template<> |
void | addSignals (const Event &e) |
|
template<> |
bool | checkSignal (const Event &e) |
|
MixingWorker is an auxiliary class for the MixingModule
- Author
- Ursula Berthon, LLR Palaiseau
- Version
- 1st Version JMarch 2008
template<>
void MixingWorker< HepMCProduct >::addPileups |
( |
const EventPrincipal & |
ep, |
|
|
ModuleCallingContext const * |
mcc, |
|
|
unsigned int |
eventNr |
|
) |
| |
Definition at line 12 of file MixingWorker.cc.
References LogDebug.
14 boost::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());
template<>
void MixingWorker< HepMCProduct >::addPileups |
( |
const EventPrincipal & |
ep, |
|
|
ModuleCallingContext const * |
, |
|
|
unsigned int |
eventNr |
|
) |
| |
Definition at line 23 of file MixingWorker.cc.
References LogDebug.
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_;
Definition at line 36 of file MixingWorker.cc.
References lumiQTWidget::t.
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();