#include <EDProducerBase.h>
Definition at line 35 of file EDProducerBase.h.
Definition at line 40 of file EDProducerBase.h.
Definition at line 41 of file EDProducerBase.h.
edm::one::EDProducerBase::EDProducerBase | ( | ) |
Definition at line 40 of file EDProducerBase.cc.
: ProducerBase(), moduleDescription_(), current_context_(nullptr), previousParentage_(), previousParentageId_() { }
edm::one::EDProducerBase::~EDProducerBase | ( | ) | [virtual] |
Definition at line 47 of file EDProducerBase.cc.
{ }
const std::string & edm::one::EDProducerBase::baseType | ( | ) | [static] |
Definition at line 181 of file EDProducerBase.cc.
References edm::one::kBaseType().
{ return kBaseType; }
virtual void edm::one::EDProducerBase::beginJob | ( | void | ) | [inline, private, virtual] |
Reimplemented in LaserAlignment, AlcaBeamSpotFromDB, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, and GlobalHitsProdHist.
Definition at line 86 of file EDProducerBase.h.
Referenced by doBeginJob().
{}
CurrentProcessingContext const * edm::one::EDProducerBase::currentContext | ( | ) | const [protected] |
Definition at line 162 of file EDProducerBase.cc.
References current_context_.
{ return current_context_; }
void edm::one::EDProducerBase::doBeginJob | ( | ) | [private] |
void edm::one::EDProducerBase::doBeginLuminosityBlock | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private] |
Definition at line 98 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
{ detail::CPCSentry sentry(current_context_, cpc); LuminosityBlock lb(lbp, moduleDescription_); lb.setConsumer(this); LuminosityBlock const& cnstLb = lb; this->doBeginLuminosityBlock_(cnstLb, c); this->doBeginLuminosityBlockProduce_(lb, c); commit_(lb); }
void edm::one::EDProducerBase::doBeginLuminosityBlock_ | ( | LuminosityBlock const & | lbp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doBeginLuminosityBlockProduce_ | ( | LuminosityBlock & | lbp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doBeginRun | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private] |
Definition at line 73 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doBeginRun_(), doBeginRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
{ detail::CPCSentry sentry(current_context_, cpc); Run r(rp, moduleDescription_); r.setConsumer(this); Run const& cnstR = r; this->doBeginRun_(cnstR, c); this->doBeginRunProduce_(r,c); commit_(r); }
void edm::one::EDProducerBase::doBeginRun_ | ( | Run const & | rp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doBeginRunProduce_ | ( | Run & | rp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doEndJob | ( | ) | [private] |
void edm::one::EDProducerBase::doEndLuminosityBlock | ( | LuminosityBlockPrincipal & | lbp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private] |
Definition at line 110 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().
{ detail::CPCSentry sentry(current_context_, cpc); LuminosityBlock lb(lbp, moduleDescription_); lb.setConsumer(this); LuminosityBlock const& cnstLb = lb; this->doEndLuminosityBlock_(cnstLb, c); this->doEndLuminosityBlockProduce_(lb, c); commit_(lb); }
void edm::one::EDProducerBase::doEndLuminosityBlock_ | ( | LuminosityBlock const & | lbp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doEndLuminosityBlockProduce_ | ( | LuminosityBlock & | lbp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doEndRun | ( | RunPrincipal & | rp, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpc | ||
) | [private] |
Definition at line 86 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, doEndRun_(), doEndRunProduce_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().
{ detail::CPCSentry sentry(current_context_, cpc); Run r(rp, moduleDescription_); r.setConsumer(this); Run const& cnstR = r; this->doEndRun_(cnstR, c); this->doEndRunProduce_(r, c); commit_(r); }
void edm::one::EDProducerBase::doEndRun_ | ( | Run const & | rp, |
EventSetup const & | c | ||
) | [private, virtual] |
void edm::one::EDProducerBase::doEndRunProduce_ | ( | Run & | rp, |
EventSetup const & | c | ||
) | [private, virtual] |
bool edm::one::EDProducerBase::doEvent | ( | EventPrincipal & | ep, |
EventSetup const & | c, | ||
CurrentProcessingContext const * | cpcp | ||
) | [private] |
Definition at line 52 of file EDProducerBase.cc.
References edm::ProducerBase::commit_(), current_context_, alignCSCRings::e, moduleDescription_, previousParentage_, previousParentageId_, produce(), and edm::Event::setConsumer().
{ detail::CPCSentry sentry(current_context_, cpc); Event e(ep, moduleDescription_); e.setConsumer(this); this->produce(e, c); commit_(e,&previousParentage_, &previousParentageId_); return true; }
void edm::one::EDProducerBase::doPostForkReacquireResources | ( | unsigned int | iChildIndex, |
unsigned int | iNumberOfChildren | ||
) | [private] |
Definition at line 147 of file EDProducerBase.cc.
{
//postForkReacquireResources(iChildIndex, iNumberOfChildren);
}
void edm::one::EDProducerBase::doPreForkReleaseResources | ( | ) | [private] |
Definition at line 142 of file EDProducerBase.cc.
{
//preForkReleaseResources();
}
void edm::one::EDProducerBase::doRespondToCloseInputFile | ( | FileBlock const & | fb | ) | [private] |
Definition at line 127 of file EDProducerBase.cc.
{
//respondToCloseInputFile(fb);
}
void edm::one::EDProducerBase::doRespondToCloseOutputFiles | ( | FileBlock const & | fb | ) | [private] |
Definition at line 137 of file EDProducerBase.cc.
{
//respondToCloseOutputFiles(fb);
}
void edm::one::EDProducerBase::doRespondToOpenInputFile | ( | FileBlock const & | fb | ) | [private] |
Definition at line 122 of file EDProducerBase.cc.
{
//respondToOpenInputFile(fb);
}
void edm::one::EDProducerBase::doRespondToOpenOutputFiles | ( | FileBlock const & | fb | ) | [private] |
Definition at line 132 of file EDProducerBase.cc.
{
//respondToOpenOutputFiles(fb);
}
virtual void edm::one::EDProducerBase::endJob | ( | void | ) | [inline, private, virtual] |
Reimplemented in LaserAlignment, AlcaBeamSpotFromDB, MEtoEDMConverter, L1GtTriggerMenuLiteProducer, ExternalLHEProducer, and GlobalHitsProdHist.
Definition at line 87 of file EDProducerBase.h.
Referenced by doEndJob().
{}
void edm::one::EDProducerBase::fillDescriptions | ( | ConfigurationDescriptions & | descriptions | ) | [static] |
Reimplemented in ExternalLHEProducer, and RandomEngineStateProducer.
Definition at line 167 of file EDProducerBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
{ ParameterSetDescription desc; desc.setUnknown(); descriptions.addDefault(desc); }
void edm::one::EDProducerBase::prevalidate | ( | ConfigurationDescriptions & | descriptions | ) | [static] |
Definition at line 174 of file EDProducerBase.cc.
References edm::edmodule_mightGet_config().
{ edmodule_mightGet_config(iConfig); }
virtual void edm::one::EDProducerBase::produce | ( | Event & | , |
EventSetup const & | |||
) | [private, pure virtual] |
Implemented in LaserAlignment, TkLasBeamFitter, AlcaBeamSpotFromDB, AlcaBeamSpotProducer, EventCountProducer, MEtoEDMConverter, ConditionDumperInEdm, L1GtTriggerMenuLiteProducer, edm::BeamHaloProducer, GenFilterEfficiencyProducer, edm::CosMuoGenProducer, ExternalLHEProducer, HLTPrescaleRecorder, edm::ExpoRandomPtGunProducer, edm::FileRandomKEThetaGunProducer, edm::FlatRandomEGunProducer, edm::FlatRandomEThetaGunProducer, edm::FlatRandomOneOverPtGunProducer, edm::FlatRandomPtGunProducer, edm::FlatRandomPtThetaGunProducer, edm::MultiParticleInConeGunProducer, RandomEngineStateProducer, ExpressLumiProducer, LumiProducer, and GlobalHitsProdHist.
Referenced by doEvent().
void edm::one::EDProducerBase::registerProductsAndCallbacks | ( | EDProducerBase * | module, |
ProductRegistry * | reg | ||
) | [inline, private] |
Definition at line 80 of file EDProducerBase.h.
References moduleDescription_, and edm::ProducerBase::registerProducts().
{ registerProducts(module, reg, moduleDescription_); }
void edm::one::EDProducerBase::setModuleDescription | ( | ModuleDescription const & | md | ) | [inline, private] |
Definition at line 100 of file EDProducerBase.h.
References moduleDescription_.
{ moduleDescription_ = md; }
std::string edm::one::EDProducerBase::workerType | ( | ) | const [inline, private] |
Definition at line 83 of file EDProducerBase.h.
{return "WorkerT<EDProducer>";}
friend class edm::WorkerT [friend] |
Definition at line 39 of file EDProducerBase.h.
CurrentProcessingContext const* edm::one::EDProducerBase::current_context_ [private] |
Definition at line 104 of file EDProducerBase.h.
Referenced by currentContext(), doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), and doEvent().
Definition at line 103 of file EDProducerBase.h.
Referenced by doBeginLuminosityBlock(), doBeginRun(), doEndLuminosityBlock(), doEndRun(), doEvent(), registerProductsAndCallbacks(), and setModuleDescription().
std::vector<BranchID> edm::one::EDProducerBase::previousParentage_ [private] |
Definition at line 105 of file EDProducerBase.h.
Referenced by doEvent().
Definition at line 106 of file EDProducerBase.h.
Referenced by doEvent().