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::EDAnalyzerBase Class Referenceabstract

#include <EDAnalyzerBase.h>

Inheritance diagram for edm::limited::EDAnalyzerBase:
edm::EDConsumerBase edm::limited::EDAnalyzer< T >

Public Types

typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
unsigned int concurrencyLimit () const
 
 EDAnalyzerBase (ParameterSet const &pset)
 
ModuleDescription const & moduleDescription () const
 
LimitedTaskQueuequeue ()
 
virtual bool wantsGlobalLuminosityBlocks () const =0
 
virtual bool wantsGlobalRuns () const =0
 
virtual bool wantsStreamLuminosityBlocks () const =0
 
virtual bool wantsStreamRuns () const =0
 
 ~EDAnalyzerBase () override
 
- 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
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 analyze (StreamID, Event const &, EventSetup const &) const =0
 
virtual void beginJob ()
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doBeginLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockSummary_ (LuminosityBlock const &rp, EventSetup const &c)
 
void doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doBeginRun_ (Run const &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, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lb, EventSetup const &c)
 
virtual void doEndLuminosityBlockSummary_ (LuminosityBlock const &lb, EventSetup const &c)
 
void doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doEndRun_ (Run const &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, EventSetupImpl 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, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doStreamBeginLuminosityBlock_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
void doStreamBeginRun (StreamID id, RunPrincipal const &ep, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doStreamBeginRun_ (StreamID id, Run const &rp, EventSetup const &c)
 
void doStreamEndLuminosityBlock (StreamID id, LuminosityBlockPrincipal const &ep, EventSetupImpl 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, EventSetupImpl 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 ()
 
bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
virtual void preallocate (PreallocationConfiguration const &)
 
virtual void preallocLumis (unsigned int)
 
virtual void preallocLumisSummary (unsigned int)
 
virtual void preallocStreams (unsigned int)
 
void registerProductsAndCallbacks (EDAnalyzerBase *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
std::string workerType () const
 

Private Attributes

std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
 
ModuleDescription moduleDescription_
 
LimitedTaskQueue queue_
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 48 of file EDAnalyzerBase.h.

Member Typedef Documentation

◆ ModuleType

Definition at line 54 of file EDAnalyzerBase.h.

Constructor & Destructor Documentation

◆ EDAnalyzerBase()

EDAnalyzerBase::EDAnalyzerBase ( ParameterSet const &  pset)

Definition at line 45 of file EDAnalyzerBase.cc.

46  : moduleDescription_(), queue_(pset.getUntrackedParameter<unsigned int>("concurrencyLimit")) {}

◆ ~EDAnalyzerBase()

EDAnalyzerBase::~EDAnalyzerBase ( )
override

Definition at line 48 of file EDAnalyzerBase.cc.

48 {}

Member Function Documentation

◆ analyze()

virtual void edm::limited::EDAnalyzerBase::analyze ( StreamID  ,
Event const &  ,
EventSetup const &   
) const
privatepure virtual

Referenced by doEvent().

◆ baseType()

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

Definition at line 222 of file EDAnalyzerBase.cc.

222 { return kBaseType; }

References edm::limited::kBaseType().

◆ beginJob()

virtual void edm::limited::EDAnalyzerBase::beginJob ( void  )
inlineprivatevirtual

Definition at line 121 of file EDAnalyzerBase.h.

121 {}

Referenced by doBeginJob().

◆ callWhenNewProductsRegistered()

void edm::limited::EDAnalyzerBase::callWhenNewProductsRegistered ( std::function< void(BranchDescription const &)> const &  func)
inline

◆ concurrencyLimit()

unsigned int edm::limited::EDAnalyzerBase::concurrencyLimit ( ) const
inline

Definition at line 75 of file EDAnalyzerBase.h.

75 { return queue_.concurrencyLimit(); }

References edm::LimitedTaskQueue::concurrencyLimit(), and queue_.

◆ doBeginJob()

void EDAnalyzerBase::doBeginJob ( )
private

Definition at line 69 of file EDAnalyzerBase.cc.

69 { this->beginJob(); }

References beginJob().

◆ doBeginLuminosityBlock()

void EDAnalyzerBase::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 93 of file EDAnalyzerBase.cc.

95  {
96  LuminosityBlock lb(lbp, moduleDescription_, mcc, false);
97  lb.setConsumer(this);
98  LuminosityBlock const& cnstLb = lb;
99  const EventSetup c{ci,
100  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
102  false};
103  this->doBeginLuminosityBlock_(cnstLb, c);
104  this->doBeginLuminosityBlockSummary_(cnstLb, c);
105  }

References edm::BeginLuminosityBlock, HltBtagPostValidation_cff::c, doBeginLuminosityBlock_(), doBeginLuminosityBlockSummary_(), edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

◆ doBeginLuminosityBlock_()

void EDAnalyzerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 199 of file EDAnalyzerBase.cc.

199 {}

Referenced by doBeginLuminosityBlock().

◆ doBeginLuminosityBlockSummary_()

void EDAnalyzerBase::doBeginLuminosityBlockSummary_ ( LuminosityBlock const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 201 of file EDAnalyzerBase.cc.

201 {}

Referenced by doBeginLuminosityBlock().

◆ doBeginRun()

void EDAnalyzerBase::doBeginRun ( RunPrincipal const &  rp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 73 of file EDAnalyzerBase.cc.

73  {
74  Run r(rp, moduleDescription_, mcc, false);
75  r.setConsumer(this);
76  Run const& cnstR = r;
77  const EventSetup c{
78  ci, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), false};
79  this->doBeginRun_(cnstR, c);
80  this->doBeginRunSummary_(cnstR, c);
81  }

References edm::BeginRun, HltBtagPostValidation_cff::c, doBeginRun_(), doBeginRunSummary_(), edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and alignCSCRings::r.

◆ doBeginRun_()

void EDAnalyzerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 194 of file EDAnalyzerBase.cc.

194 {}

Referenced by doBeginRun().

◆ doBeginRunSummary_()

void EDAnalyzerBase::doBeginRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 196 of file EDAnalyzerBase.cc.

196 {}

Referenced by doBeginRun().

◆ doBeginStream()

void EDAnalyzerBase::doBeginStream ( StreamID  id)
private

Definition at line 121 of file EDAnalyzerBase.cc.

121 { doBeginStream_(id); }

References doBeginStream_().

◆ doBeginStream_()

void EDAnalyzerBase::doBeginStream_ ( StreamID  id)
privatevirtual

Definition at line 183 of file EDAnalyzerBase.cc.

183 {}

Referenced by doBeginStream().

◆ doEndJob()

void EDAnalyzerBase::doEndJob ( )
private

Definition at line 71 of file EDAnalyzerBase.cc.

71 { this->endJob(); }

References endJob().

◆ doEndLuminosityBlock()

void EDAnalyzerBase::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 107 of file EDAnalyzerBase.cc.

109  {
110  LuminosityBlock lb(lbp, moduleDescription_, mcc, true);
111  lb.setConsumer(this);
112  LuminosityBlock const& cnstLb = lb;
113  const EventSetup c{ci,
114  static_cast<unsigned int>(Transition::EndLuminosityBlock),
116  false};
117  this->doEndLuminosityBlockSummary_(cnstLb, c);
118  this->doEndLuminosityBlock_(cnstLb, c);
119  }

References HltBtagPostValidation_cff::c, doEndLuminosityBlock_(), doEndLuminosityBlockSummary_(), edm::EndLuminosityBlock, edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

◆ doEndLuminosityBlock_()

void EDAnalyzerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 200 of file EDAnalyzerBase.cc.

200 {}

Referenced by doEndLuminosityBlock().

◆ doEndLuminosityBlockSummary_()

void EDAnalyzerBase::doEndLuminosityBlockSummary_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 202 of file EDAnalyzerBase.cc.

202 {}

Referenced by doEndLuminosityBlock().

◆ doEndRun()

void EDAnalyzerBase::doEndRun ( RunPrincipal const &  rp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 83 of file EDAnalyzerBase.cc.

83  {
84  Run r(rp, moduleDescription_, mcc, true);
85  r.setConsumer(this);
86  Run const& cnstR = r;
87  const EventSetup c{
88  ci, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), false};
89  this->doEndRunSummary_(r, c);
90  this->doEndRun_(cnstR, c);
91  }

References HltBtagPostValidation_cff::c, doEndRun_(), doEndRunSummary_(), edm::EndRun, edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and alignCSCRings::r.

◆ doEndRun_()

void EDAnalyzerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 195 of file EDAnalyzerBase.cc.

195 {}

Referenced by doEndRun().

◆ doEndRunSummary_()

void EDAnalyzerBase::doEndRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 197 of file EDAnalyzerBase.cc.

197 {}

Referenced by doEndRun().

◆ doEndStream()

void EDAnalyzerBase::doEndStream ( StreamID  id)
private

Definition at line 122 of file EDAnalyzerBase.cc.

122 { doEndStream_(id); }

References doEndStream_().

◆ doEndStream_()

void EDAnalyzerBase::doEndStream_ ( StreamID  id)
privatevirtual

Definition at line 184 of file EDAnalyzerBase.cc.

184 {}

Referenced by doEndStream().

◆ doEvent()

bool EDAnalyzerBase::doEvent ( EventPrincipal const &  ep,
EventSetupImpl const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 50 of file EDAnalyzerBase.cc.

53  {
55  e.setConsumer(this);
56  EventSignalsSentry sentry(act, mcc);
57  const EventSetup c{ci, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event), false};
58  this->analyze(e.streamID(), e, c);
59  return true;
60  }

References analyze(), HltBtagPostValidation_cff::c, MillePedeFileConverter_cfg::e, SiStripBadComponentsDQMServiceTemplate_cfg::ep, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, moduleDescription_, and edm::Event::streamID().

◆ doPreallocate()

void EDAnalyzerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 62 of file EDAnalyzerBase.cc.

62  {
63  preallocStreams(iPrealloc.numberOfStreams());
64  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
65  preallocLumisSummary(iPrealloc.numberOfLuminosityBlocks());
66  preallocate(iPrealloc);
67  }

References edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfStreams(), preallocate(), preallocLumis(), preallocLumisSummary(), and preallocStreams().

◆ doRegisterThinnedAssociations()

void edm::limited::EDAnalyzerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 115 of file EDAnalyzerBase.h.

115 {}

◆ doRespondToCloseInputFile()

void EDAnalyzerBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 175 of file EDAnalyzerBase.cc.

175  {
176  //respondToCloseInputFile(fb);
177  }

◆ doRespondToOpenInputFile()

void EDAnalyzerBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 171 of file EDAnalyzerBase.cc.

171  {
172  //respondToOpenInputFile(fb);
173  }

◆ doStreamBeginLuminosityBlock()

void EDAnalyzerBase::doStreamBeginLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal const &  ep,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

◆ doStreamBeginLuminosityBlock_()

void EDAnalyzerBase::doStreamBeginLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 188 of file EDAnalyzerBase.cc.

188 {}

Referenced by doStreamBeginLuminosityBlock().

◆ doStreamBeginRun()

void EDAnalyzerBase::doStreamBeginRun ( StreamID  id,
RunPrincipal const &  ep,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 123 of file EDAnalyzerBase.cc.

126  {
127  Run r(rp, moduleDescription_, mcc, false);
128  r.setConsumer(this);
129  const EventSetup c{
130  ci, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), false};
131  this->doStreamBeginRun_(id, r, c);
132  }

References edm::BeginRun, HltBtagPostValidation_cff::c, doStreamBeginRun_(), edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and alignCSCRings::r.

◆ doStreamBeginRun_()

void EDAnalyzerBase::doStreamBeginRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 185 of file EDAnalyzerBase.cc.

185 {}

Referenced by doStreamBeginRun().

◆ doStreamEndLuminosityBlock()

void EDAnalyzerBase::doStreamEndLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal const &  ep,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

◆ doStreamEndLuminosityBlock_()

void EDAnalyzerBase::doStreamEndLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 189 of file EDAnalyzerBase.cc.

189 {}

Referenced by doStreamEndLuminosityBlock().

◆ doStreamEndLuminosityBlockSummary_()

void EDAnalyzerBase::doStreamEndLuminosityBlockSummary_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 190 of file EDAnalyzerBase.cc.

192  {}

Referenced by doStreamEndLuminosityBlock().

◆ doStreamEndRun()

void EDAnalyzerBase::doStreamEndRun ( StreamID  id,
RunPrincipal const &  ep,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 133 of file EDAnalyzerBase.cc.

136  {
137  Run r(rp, moduleDescription_, mcc, true);
138  r.setConsumer(this);
139  const EventSetup c{
140  ci, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), false};
141  this->doStreamEndRun_(id, r, c);
142  this->doStreamEndRunSummary_(id, r, c);
143  }

References HltBtagPostValidation_cff::c, doStreamEndRun_(), doStreamEndRunSummary_(), edm::EndRun, edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, and alignCSCRings::r.

◆ doStreamEndRun_()

void EDAnalyzerBase::doStreamEndRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 186 of file EDAnalyzerBase.cc.

186 {}

Referenced by doStreamEndRun().

◆ doStreamEndRunSummary_()

void EDAnalyzerBase::doStreamEndRunSummary_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 187 of file EDAnalyzerBase.cc.

187 {}

Referenced by doStreamEndRun().

◆ endJob()

virtual void edm::limited::EDAnalyzerBase::endJob ( void  )
inlineprivatevirtual

Definition at line 122 of file EDAnalyzerBase.h.

122 {}

Referenced by doEndJob().

◆ fillDescriptions()

void EDAnalyzerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 204 of file EDAnalyzerBase.cc.

204  {
206  desc.setUnknown();
207  descriptions.addDefault(desc);
208  }

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

◆ hasAccumulator()

bool edm::limited::EDAnalyzerBase::hasAccumulator ( ) const
inlineprivate

Definition at line 147 of file EDAnalyzerBase.h.

147 { return false; }

◆ hasAcquire()

bool edm::limited::EDAnalyzerBase::hasAcquire ( ) const
inlineprivate

Definition at line 146 of file EDAnalyzerBase.h.

146 { return false; }

◆ moduleDescription()

ModuleDescription const& edm::limited::EDAnalyzerBase::moduleDescription ( ) const
inline

Definition at line 64 of file EDAnalyzerBase.h.

64 { return moduleDescription_; }

References moduleDescription_.

◆ preActionBeforeRunEventAsync()

void edm::limited::EDAnalyzerBase::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 82 of file EDAnalyzerBase.h.

84  {}

◆ preallocate()

void EDAnalyzerBase::preallocate ( PreallocationConfiguration const &  )
privatevirtual

Definition at line 182 of file EDAnalyzerBase.cc.

182 {}

Referenced by doPreallocate().

◆ preallocLumis()

void EDAnalyzerBase::preallocLumis ( unsigned int  )
privatevirtual

Definition at line 180 of file EDAnalyzerBase.cc.

180 {}

Referenced by doPreallocate().

◆ preallocLumisSummary()

void EDAnalyzerBase::preallocLumisSummary ( unsigned int  )
privatevirtual

Definition at line 181 of file EDAnalyzerBase.cc.

181 {}

Referenced by doPreallocate().

◆ preallocStreams()

void EDAnalyzerBase::preallocStreams ( unsigned int  )
privatevirtual

Definition at line 179 of file EDAnalyzerBase.cc.

179 {}

Referenced by doPreallocate().

◆ prevalidate()

void EDAnalyzerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 210 of file EDAnalyzerBase.cc.

210 { edmodule_mightGet_config(iConfig); }

References edm::edmodule_mightGet_config().

◆ queue()

LimitedTaskQueue& edm::limited::EDAnalyzerBase::queue ( )
inline

Definition at line 77 of file EDAnalyzerBase.h.

77 { return queue_; }

References queue_.

◆ registerProductsAndCallbacks()

void EDAnalyzerBase::registerProductsAndCallbacks ( EDAnalyzerBase module,
ProductRegistry reg 
)
private

Definition at line 212 of file EDAnalyzerBase.cc.

212  {
214  reg->callForEachBranch(callWhenNewProductsRegistered_);
215 
217  regService->watchProductAdditions(callWhenNewProductsRegistered_);
218  }
219  }

References edm::ProductRegistry::callForEachBranch(), and callWhenNewProductsRegistered_.

◆ setModuleDescription()

void edm::limited::EDAnalyzerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 149 of file EDAnalyzerBase.h.

149 { moduleDescription_ = md; }

References moduleDescription_.

◆ wantsGlobalLuminosityBlocks()

virtual bool edm::limited::EDAnalyzerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtual

◆ wantsGlobalRuns()

virtual bool edm::limited::EDAnalyzerBase::wantsGlobalRuns ( ) const
pure virtual

◆ wantsStreamLuminosityBlocks()

virtual bool edm::limited::EDAnalyzerBase::wantsStreamLuminosityBlocks ( ) const
pure virtual

◆ wantsStreamRuns()

virtual bool edm::limited::EDAnalyzerBase::wantsStreamRuns ( ) const
pure virtual

◆ workerType()

std::string edm::limited::EDAnalyzerBase::workerType ( ) const
inlineprivate

Definition at line 118 of file EDAnalyzerBase.h.

118 { return "WorkerT<EDAnalyzer>"; }

Friends And Related Function Documentation

◆ edm::maker::ModuleHolderT

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

Definition at line 53 of file EDAnalyzerBase.h.

◆ edm::WorkerT

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

Definition at line 51 of file EDAnalyzerBase.h.

Member Data Documentation

◆ callWhenNewProductsRegistered_

std::function<void(BranchDescription const&)> edm::limited::EDAnalyzerBase::callWhenNewProductsRegistered_
private

◆ moduleDescription_

ModuleDescription edm::limited::EDAnalyzerBase::moduleDescription_
private

◆ queue_

LimitedTaskQueue edm::limited::EDAnalyzerBase::queue_
private

Definition at line 154 of file EDAnalyzerBase.h.

Referenced by concurrencyLimit(), and queue().

edm::limited::EDAnalyzerBase::doBeginLuminosityBlock_
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:199
edm::limited::EDAnalyzerBase::moduleDescription_
ModuleDescription moduleDescription_
Definition: EDAnalyzerBase.h:150
edm::limited::EDAnalyzerBase::doBeginLuminosityBlockSummary_
virtual void doBeginLuminosityBlockSummary_(LuminosityBlock const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:201
edm::Transition::Event
edm::limited::EDAnalyzerBase::doStreamBeginLuminosityBlock_
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:188
edm::limited::EDAnalyzerBase::doBeginStream_
virtual void doBeginStream_(StreamID id)
Definition: EDAnalyzerBase.cc:183
edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlockSummary_
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:190
edm::limited::EDAnalyzerBase::beginJob
virtual void beginJob()
Definition: EDAnalyzerBase.h:121
edm::limited::EDAnalyzerBase::doBeginRunSummary_
virtual void doBeginRunSummary_(Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:196
edm::limited::EDAnalyzerBase::preallocLumis
virtual void preallocLumis(unsigned int)
Definition: EDAnalyzerBase.cc:180
edm::limited::EDAnalyzerBase::doEndStream_
virtual void doEndStream_(StreamID id)
Definition: EDAnalyzerBase.cc:184
edm::limited::EDAnalyzerBase::preallocate
virtual void preallocate(PreallocationConfiguration const &)
Definition: EDAnalyzerBase.cc:182
edm::limited::EDAnalyzerBase::doStreamEndLuminosityBlock_
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:189
Service
LuminosityBlock
Event
edm::limited::EDAnalyzerBase::queue_
LimitedTaskQueue queue_
Definition: EDAnalyzerBase.h:154
edm::limited::EDAnalyzerBase::preallocStreams
virtual void preallocStreams(unsigned int)
Definition: EDAnalyzerBase.cc:179
edm::Transition::BeginLuminosityBlock
edm::LimitedTaskQueue::concurrencyLimit
unsigned int concurrencyLimit() const
Definition: LimitedTaskQueue.h:116
edm::limited::kBaseType
static const std::string kBaseType("EDAnalyzer")
edm::limited::EDAnalyzerBase::doStreamEndRunSummary_
virtual void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:187
edm::limited::EDAnalyzerBase::preallocLumisSummary
virtual void preallocLumisSummary(unsigned int)
Definition: EDAnalyzerBase.cc:181
edm::limited::EDAnalyzerBase::doStreamBeginRun_
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:185
edm::limited::EDAnalyzerBase::analyze
virtual void analyze(StreamID, Event const &, EventSetup const &) const =0
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
TrackCollections2monitor_cff.func
func
Definition: TrackCollections2monitor_cff.py:359
edm::limited::EDAnalyzerBase::doEndLuminosityBlock_
virtual void doEndLuminosityBlock_(LuminosityBlock const &lb, EventSetup const &c)
Definition: EDAnalyzerBase.cc:200
alignCSCRings.r
r
Definition: alignCSCRings.py:93
edm::Transition::EndLuminosityBlock
edm::limited::EDAnalyzerBase::doEndRun_
virtual void doEndRun_(Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:195
edm::EDConsumerBase::esGetTokenIndices
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
Definition: EDConsumerBase.h:110
edm::Transition::BeginRun
edm::limited::EDAnalyzerBase::endJob
virtual void endJob()
Definition: EDAnalyzerBase.h:122
ParameterSetDescription
edm::limited::EDAnalyzerBase::doEndLuminosityBlockSummary_
virtual void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c)
Definition: EDAnalyzerBase.cc:202
edm::edmodule_mightGet_config
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
Definition: edmodule_mightGet_config.cc:36
edm::limited::EDAnalyzerBase::doEndRunSummary_
virtual void doEndRunSummary_(Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:197
EventSetup
edm::limited::EDAnalyzerBase::callWhenNewProductsRegistered_
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
Definition: EDAnalyzerBase.h:152
edm::limited::EDAnalyzerBase::doBeginRun_
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:194
edm::Transition::EndRun
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition: SiStripBadComponentsDQMServiceTemplate_cfg.py:86
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
edm::limited::EDAnalyzerBase::doStreamEndRun_
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c)
Definition: EDAnalyzerBase.cc:186
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
Run