CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::limited::EDProducerBase Class Referenceabstract

#include <EDProducerBase.h>

Inheritance diagram for edm::limited::EDProducerBase:
edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper edm::limited::EDProducer< T >

Public Types

typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

unsigned int concurrencyLimit () const
 
 EDProducerBase (ParameterSet const &pset)
 
ModuleDescription const & moduleDescription () const
 
LimitedTaskQueuequeue ()
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
virtual ~ProducerBase () noexcept(false)
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

virtual void beginJob ()
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doBeginLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockSummary_ (LuminosityBlock const &rp, EventSetup const &c)
 
void doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doBeginRun_ (Run const &rp, EventSetup const &c)
 
virtual void doBeginRunProduce_ (Run &rp, EventSetup const &c)
 
virtual void doBeginRunSummary_ (Run const &rp, EventSetup const &c)
 
void doBeginStream (StreamID id)
 
virtual void doBeginStream_ (StreamID id)
 
void doEndJob ()
 
void doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lb, EventSetup const &c)
 
virtual void doEndLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
virtual void doEndLuminosityBlockSummary_ (LuminosityBlock const &lb, EventSetup const &c)
 
void doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doEndRun_ (Run const &rp, EventSetup const &c)
 
virtual void doEndRunProduce_ (Run &rp, EventSetup const &c)
 
virtual void doEndRunSummary_ (Run const &rp, EventSetup const &c)
 
void doEndStream (StreamID id)
 
virtual void doEndStream_ (StreamID id)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
void doStreamBeginLuminosityBlock (StreamID id, LuminosityBlockPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doStreamBeginLuminosityBlock_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
void doStreamBeginRun (StreamID id, RunPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doStreamBeginRun_ (StreamID id, Run const &rp, EventSetup const &c)
 
void doStreamEndLuminosityBlock (StreamID id, LuminosityBlockPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doStreamEndLuminosityBlock_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doStreamEndLuminosityBlockSummary_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
void doStreamEndRun (StreamID id, RunPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doStreamEndRun_ (StreamID id, Run const &rp, EventSetup const &c)
 
virtual void doStreamEndRunSummary_ (StreamID id, Run const &rp, EventSetup const &c)
 
virtual void endJob ()
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
virtual void preallocStreams (unsigned int)
 
virtual void produce (StreamID, Event &, EventSetup const &) const =0
 
void registerProductsAndCallbacks (EDProducerBase *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
std::string workerType () const
 

Private Attributes

ModuleDescription moduleDescription_
 
std::unique_ptr< ParentageID[]> previousParentageIds_
 
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
 
LimitedTaskQueue queue_
 

Friends

class edm::GlobalSchedule
 
template<typename T >
class edm::maker::ModuleHolderT
 
template<typename T >
class edm::WorkerT
 

Additional Inherited Members

- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 50 of file EDProducerBase.h.

Member Typedef Documentation

Definition at line 56 of file EDProducerBase.h.

Constructor & Destructor Documentation

EDProducerBase::EDProducerBase ( ParameterSet const &  pset)

Definition at line 40 of file EDProducerBase.cc.

40  :
41  ProducerBase(),
45  queue_(pset.getUntrackedParameter<unsigned int>("concurrencyLimit")){ }
ModuleDescription moduleDescription_
std::unique_ptr< ParentageID[]> previousParentageIds_
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
EDProducerBase::~EDProducerBase ( )
override

Definition at line 47 of file EDProducerBase.cc.

48  {
49  }

Member Function Documentation

const std::string & EDProducerBase::baseType ( )
static

Definition at line 237 of file EDProducerBase.cc.

References edm::limited::kBaseType().

237  {
238  return kBaseType;
239  }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::limited::EDProducerBase::beginJob ( void  )
inlineprivatevirtual

Definition at line 127 of file EDProducerBase.h.

Referenced by doBeginJob().

127 {}
unsigned int edm::limited::EDProducerBase::concurrencyLimit ( ) const
inline

Definition at line 70 of file EDProducerBase.h.

70 { return queue_.concurrencyLimit(); }
unsigned int concurrencyLimit() const
void EDProducerBase::doBeginJob ( )
private

Definition at line 74 of file EDProducerBase.cc.

References beginJob().

74  {
75  this->beginJob();
76  }
void EDProducerBase::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 110 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), doBeginLuminosityBlockSummary_(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

111  {
112  LuminosityBlock lb(lbp, moduleDescription_, mcc);
113  lb.setConsumer(this);
114  LuminosityBlock const& cnstLb = lb;
115  this->doBeginLuminosityBlock_(cnstLb, c);
116  this->doBeginLuminosityBlockSummary_(cnstLb, c);
117  lb.setProducer(this);
119  commit_(lb);
120  }
ModuleDescription moduleDescription_
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
virtual void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
virtual void doBeginLuminosityBlockSummary_(LuminosityBlock const &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void EDProducerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 212 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

212 {}
void EDProducerBase::doBeginLuminosityBlockProduce_ ( LuminosityBlock lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 219 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

219 {}
void EDProducerBase::doBeginLuminosityBlockSummary_ ( LuminosityBlock const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 214 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

214 {}
void EDProducerBase::doBeginRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 84 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), doBeginRunSummary_(), moduleDescription_, alignCSCRings::r, edm::Run::setConsumer(), and edm::Run::setProducer().

85  {
86  Run r(rp, moduleDescription_, mcc);
87  r.setConsumer(this);
88  Run const& cnstR = r;
89  this->doBeginRun_(cnstR, c);
90  this->doBeginRunSummary_(cnstR, c);
91  r.setProducer(this);
92  this->doBeginRunProduce_(r,c);
93  commit_(r);
94  }
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doBeginRunSummary_(Run const &rp, EventSetup const &c)
virtual void doBeginRunProduce_(Run &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void EDProducerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 207 of file EDProducerBase.cc.

Referenced by doBeginRun().

207 {}
void EDProducerBase::doBeginRunProduce_ ( Run rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 217 of file EDProducerBase.cc.

Referenced by doBeginRun().

217 {}
void EDProducerBase::doBeginRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 209 of file EDProducerBase.cc.

Referenced by doBeginRun().

209 {}
void EDProducerBase::doBeginStream ( StreamID  id)
private

Definition at line 136 of file EDProducerBase.cc.

References doBeginStream_().

136  {
137  doBeginStream_(id);
138  }
virtual void doBeginStream_(StreamID id)
void EDProducerBase::doBeginStream_ ( StreamID  id)
privatevirtual

Definition at line 197 of file EDProducerBase.cc.

Referenced by doBeginStream().

197 {}
void EDProducerBase::doEndJob ( )
private

Definition at line 79 of file EDProducerBase.cc.

References endJob().

79  {
80  this->endJob();
81  }
void EDProducerBase::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 123 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), doEndLuminosityBlockSummary_(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

124  {
125  LuminosityBlock lb(lbp, moduleDescription_, mcc);
126  lb.setConsumer(this);
127  lb.setProducer(this);
128  LuminosityBlock const& cnstLb = lb;
129  this->doEndLuminosityBlockProduce_(lb, c);
130  this->doEndLuminosityBlockSummary_(cnstLb,c);
131  this->doEndLuminosityBlock_(cnstLb, c);
132  commit_(lb);
133  }
virtual void doEndLuminosityBlock_(LuminosityBlock const &lb, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c)
virtual void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
void EDProducerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 213 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

213 {}
void EDProducerBase::doEndLuminosityBlockProduce_ ( LuminosityBlock lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 220 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

220 {}
void EDProducerBase::doEndLuminosityBlockSummary_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 215 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

215 {}
void EDProducerBase::doEndRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 97 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), doEndRunSummary_(), moduleDescription_, alignCSCRings::r, edm::Run::setConsumer(), and edm::Run::setProducer().

98  {
99  Run r(rp, moduleDescription_, mcc);
100  r.setConsumer(this);
101  r.setProducer(this);
102  Run const& cnstR = r;
103  this->doEndRunProduce_(r, c);
104  this->doEndRunSummary_(r,c);
105  this->doEndRun_(cnstR, c);
106  commit_(r);
107  }
virtual void doEndRunSummary_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
virtual void doEndRunProduce_(Run &rp, EventSetup const &c)
virtual void doEndRun_(Run const &rp, EventSetup const &c)
void EDProducerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 208 of file EDProducerBase.cc.

Referenced by doEndRun().

208 {}
void EDProducerBase::doEndRunProduce_ ( Run rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 218 of file EDProducerBase.cc.

Referenced by doEndRun().

218 {}
void EDProducerBase::doEndRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 210 of file EDProducerBase.cc.

Referenced by doEndRun().

210 {}
void EDProducerBase::doEndStream ( StreamID  id)
private

Definition at line 140 of file EDProducerBase.cc.

References doEndStream_().

140  {
141  doEndStream_(id);
142  }
virtual void doEndStream_(StreamID id)
void EDProducerBase::doEndStream_ ( StreamID  id)
privatevirtual

Definition at line 198 of file EDProducerBase.cc.

Referenced by doEndStream().

198 {}
bool EDProducerBase::doEvent ( EventPrincipal const &  ep,
EventSetup const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 52 of file EDProducerBase.cc.

References EnergyCorrector::c, edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, moduleDescription_, previousParentageIds_, previousParentages_, produce(), edm::Event::setConsumer(), edm::Event::setProducer(), edm::Event::streamID(), and edm::StreamID::value().

54  {
55  Event e(ep, moduleDescription_, mcc);
56  e.setConsumer(this);
57  const auto streamIndex = e.streamID().value();
58  e.setProducer(this,&previousParentages_[streamIndex]);
59  EventSignalsSentry sentry(act,mcc);
60  this->produce(e.streamID(), e, c);
61  commit_(e, &previousParentageIds_[streamIndex]);
62  return true;
63  }
virtual void produce(StreamID, Event &, EventSetup const &) const =0
ModuleDescription moduleDescription_
std::unique_ptr< ParentageID[]> previousParentageIds_
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
void EDProducerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 66 of file EDProducerBase.cc.

References edm::PreallocationConfiguration::numberOfStreams(), preallocStreams(), previousParentageIds_, and previousParentages_.

66  {
67  auto const nStreams = iPrealloc.numberOfStreams();
68  previousParentages_.reset(new std::vector<BranchID>[nStreams]);
69  previousParentageIds_.reset( new ParentageID[nStreams]);
70  preallocStreams(nStreams);
71  }
std::unique_ptr< ParentageID[]> previousParentageIds_
virtual void preallocStreams(unsigned int)
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
Hash< ParentageType > ParentageID
Definition: ParentageID.h:9
void edm::limited::EDProducerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 115 of file EDProducerBase.h.

116  { }
void EDProducerBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 192 of file EDProducerBase.cc.

192  {
193  //respondToCloseInputFile(fb);
194  }
void EDProducerBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 187 of file EDProducerBase.cc.

187  {
188  //respondToOpenInputFile(fb);
189  }
void EDProducerBase::doStreamBeginLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 164 of file EDProducerBase.cc.

References doStreamBeginLuminosityBlock_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

167  {
168  LuminosityBlock lb(lbp, moduleDescription_, mcc);
169  lb.setConsumer(this);
170  this->doStreamBeginLuminosityBlock_(id,lb, c);
171  }
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDProducerBase::doStreamBeginLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 202 of file EDProducerBase.cc.

Referenced by doStreamBeginLuminosityBlock().

202 {}
void EDProducerBase::doStreamBeginRun ( StreamID  id,
RunPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 144 of file EDProducerBase.cc.

References doStreamBeginRun_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

148  {
149  Run r(rp, moduleDescription_, mcc);
150  r.setConsumer(this);
151  this->doStreamBeginRun_(id, r, c);
152  }
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDProducerBase::doStreamBeginRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 199 of file EDProducerBase.cc.

Referenced by doStreamBeginRun().

199 {}
void EDProducerBase::doStreamEndLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 174 of file EDProducerBase.cc.

References doStreamEndLuminosityBlock_(), doStreamEndLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

177  {
178  LuminosityBlock lb(lbp, moduleDescription_, mcc);
179  lb.setConsumer(this);
180  this->doStreamEndLuminosityBlock_(id,lb, c);
182  }
ModuleDescription moduleDescription_
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
void EDProducerBase::doStreamEndLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 203 of file EDProducerBase.cc.

Referenced by doStreamEndLuminosityBlock().

203 {}
void EDProducerBase::doStreamEndLuminosityBlockSummary_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 204 of file EDProducerBase.cc.

Referenced by doStreamEndLuminosityBlock().

204 {}
void EDProducerBase::doStreamEndRun ( StreamID  id,
RunPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 154 of file EDProducerBase.cc.

References doStreamEndRun_(), doStreamEndRunSummary_(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

157  {
158  Run r(rp, moduleDescription_, mcc);
159  r.setConsumer(this);
160  this->doStreamEndRun_(id, r, c);
161  this->doStreamEndRunSummary_(id, r, c);
162  }
virtual void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c)
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDProducerBase::doStreamEndRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 200 of file EDProducerBase.cc.

Referenced by doStreamEndRun().

200 {}
void EDProducerBase::doStreamEndRunSummary_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 201 of file EDProducerBase.cc.

Referenced by doStreamEndRun().

201 {}
virtual void edm::limited::EDProducerBase::endJob ( void  )
inlineprivatevirtual

Definition at line 128 of file EDProducerBase.h.

Referenced by doEndJob().

128 {}
void EDProducerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 223 of file EDProducerBase.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

223  {
225  desc.setUnknown();
226  descriptions.addDefault(desc);
227  }
ModuleDescription const& edm::limited::EDProducerBase::moduleDescription ( ) const
inline

Definition at line 68 of file EDProducerBase.h.

68 { return moduleDescription_; }
ModuleDescription moduleDescription_
void edm::limited::EDProducerBase::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 125 of file EDProducerBase.h.

125 {}
void EDProducerBase::preallocStreams ( unsigned  int)
privatevirtual

Definition at line 196 of file EDProducerBase.cc.

Referenced by doPreallocate().

196 {}
void EDProducerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 230 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config(), edm::limited::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.

230  {
231  edmodule_mightGet_config(iConfig);
232  }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
virtual void edm::limited::EDProducerBase::produce ( StreamID  ,
Event ,
EventSetup const &   
) const
privatepure virtual
LimitedTaskQueue& edm::limited::EDProducerBase::queue ( )
inline

Definition at line 72 of file EDProducerBase.h.

References EnergyCorrector::c, and benchmark_cfg::fb.

72  {
73  return queue_;
74  }
void edm::limited::EDProducerBase::registerProductsAndCallbacks ( EDProducerBase module,
ProductRegistry reg 
)
inlineprivate

Definition at line 118 of file EDProducerBase.h.

118  {
119  registerProducts(module, reg, moduleDescription_);
120  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:60
ModuleDescription moduleDescription_
void edm::limited::EDProducerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 155 of file EDProducerBase.h.

155  {
156  moduleDescription_ = md;
157  }
ModuleDescription moduleDescription_
std::string edm::limited::EDProducerBase::workerType ( ) const
inlineprivate

Definition at line 121 of file EDProducerBase.h.

121 {return "WorkerT<EDProducer>";}

Friends And Related Function Documentation

friend class edm::GlobalSchedule
friend

Definition at line 58 of file EDProducerBase.h.

template<typename T >
friend class edm::maker::ModuleHolderT
friend

Definition at line 54 of file EDProducerBase.h.

template<typename T >
friend class edm::WorkerT
friend

Definition at line 55 of file EDProducerBase.h.

Member Data Documentation

ModuleDescription edm::limited::EDProducerBase::moduleDescription_
private
std::unique_ptr<ParentageID[]> edm::limited::EDProducerBase::previousParentageIds_
private

Definition at line 160 of file EDProducerBase.h.

Referenced by doEvent(), and doPreallocate().

std::unique_ptr<std::vector<BranchID>[]> edm::limited::EDProducerBase::previousParentages_
private

Definition at line 159 of file EDProducerBase.h.

Referenced by doEvent(), and doPreallocate().

LimitedTaskQueue edm::limited::EDProducerBase::queue_
private

Definition at line 161 of file EDProducerBase.h.