CMS 3D CMS Logo

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

#include <EDAnalyzerBase.h>

Inheritance diagram for edm::global::EDAnalyzerBase:
edm::EDConsumerBase edm::global::EDAnalyzer<  edm::StreamCache< HLTriggerJSONMonitoringData::stream >, edm::RunCache< HLTriggerJSONMonitoringData::run >, edm::LuminosityBlockSummaryCache< HLTriggerJSONMonitoringData::lumisection > > edm::global::EDAnalyzer<  edm::StreamCache< L1TriggerJSONMonitoringData::stream >, edm::RunCache< L1TriggerJSONMonitoringData::run >, edm::LuminosityBlockSummaryCache< L1TriggerJSONMonitoringData::lumisection > > edm::global::EDAnalyzer< edm::RunCache< APVGain::APVGainHistograms > > edm::global::EDAnalyzer< edm::RunCache< H > > edm::global::EDAnalyzer< edm::RunCache< Histograms > > edm::global::EDAnalyzer< edm::RunCache< MultiTrackValidatorHistograms > > edm::global::EDAnalyzer< edm::RunCache< NoCache >, edm::LuminosityBlockCache< NoCache > > edm::global::EDAnalyzer< edm::RunCache< rlec::Cache >, edm::LuminosityBlockCache< rlec::Cache > > edm::global::EDAnalyzer< edm::RunCache< RunBasedHistograms > > edm::global::EDAnalyzer< edm::RunCache< saverDetails::NoCache >, edm::LuminosityBlockCache< saverDetails::NoCache > > edm::global::EDAnalyzer<> edm::global::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)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
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 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
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) 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 analyze (StreamID, Event const &, EventSetup const &) const =0
 
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 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 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 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 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 ()
 
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 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_
 

Friends

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 46 of file EDAnalyzerBase.h.

Member Typedef Documentation

Definition at line 52 of file EDAnalyzerBase.h.

Constructor & Destructor Documentation

EDAnalyzerBase::EDAnalyzerBase ( )

Definition at line 46 of file EDAnalyzerBase.cc.

46  :
47  moduleDescription_() { }
ModuleDescription moduleDescription_
EDAnalyzerBase::~EDAnalyzerBase ( )
override

Definition at line 49 of file EDAnalyzerBase.cc.

50  {
51  }

Member Function Documentation

virtual void edm::global::EDAnalyzerBase::analyze ( StreamID  ,
Event const &  ,
EventSetup const &   
) const
privatepure virtual
const std::string & EDAnalyzerBase::baseType ( )
static

Definition at line 232 of file EDAnalyzerBase.cc.

References edm::global::kBaseType().

232  {
233  return kBaseType;
234  }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::global::EDAnalyzerBase::beginJob ( void  )
inlineprivatevirtual

Reimplemented in SiStripGainsPCLWorker, RunLumiEventChecker, and DQMFileSaver.

Definition at line 123 of file EDAnalyzerBase.h.

Referenced by doBeginJob().

123 {}
void edm::global::EDAnalyzerBase::callWhenNewProductsRegistered ( std::function< void(BranchDescription const &)> const &  func)
inline

Definition at line 69 of file EDAnalyzerBase.h.

References EnergyCorrector::c, and RecoEcal_EventContent_cff::func.

69  {
71  }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
void EDAnalyzerBase::doBeginJob ( )
private

Definition at line 72 of file EDAnalyzerBase.cc.

References beginJob().

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

Definition at line 103 of file EDAnalyzerBase.cc.

References doBeginLuminosityBlock_(), doBeginLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

104  {
105  LuminosityBlock lb(lbp, moduleDescription_, mcc, false);
106  lb.setConsumer(this);
107  LuminosityBlock const& cnstLb = lb;
108  this->doBeginLuminosityBlock_(cnstLb, c);
109  this->doBeginLuminosityBlockSummary_(cnstLb, c);
110  }
virtual void doBeginLuminosityBlockSummary_(LuminosityBlock const &rp, EventSetup const &c)
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDAnalyzerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 201 of file EDAnalyzerBase.cc.

Referenced by doBeginLuminosityBlock().

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

Definition at line 203 of file EDAnalyzerBase.cc.

Referenced by doBeginLuminosityBlock().

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

Definition at line 82 of file EDAnalyzerBase.cc.

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

83  {
84 
85  Run r(rp, moduleDescription_, mcc, false);
86  r.setConsumer(this);
87  Run const& cnstR = r;
88  this->doBeginRun_(cnstR, c);
89  this->doBeginRunSummary_(cnstR, c);
90  }
virtual void doBeginRunSummary_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
void EDAnalyzerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 196 of file EDAnalyzerBase.cc.

Referenced by doBeginRun().

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

Definition at line 198 of file EDAnalyzerBase.cc.

Referenced by doBeginRun().

198 {}
void EDAnalyzerBase::doBeginStream ( StreamID  id)
private

Definition at line 123 of file EDAnalyzerBase.cc.

References doBeginStream_().

123  {
124  doBeginStream_(id);
125  }
virtual void doBeginStream_(StreamID id)
void EDAnalyzerBase::doBeginStream_ ( StreamID  id)
privatevirtual

Definition at line 186 of file EDAnalyzerBase.cc.

Referenced by doBeginStream().

186 {}
void EDAnalyzerBase::doEndJob ( )
private

Definition at line 77 of file EDAnalyzerBase.cc.

References endJob().

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

Definition at line 113 of file EDAnalyzerBase.cc.

References doEndLuminosityBlock_(), doEndLuminosityBlockSummary_(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

114  {
115  LuminosityBlock lb(lbp, moduleDescription_, mcc, true);
116  lb.setConsumer(this);
117  LuminosityBlock const& cnstLb = lb;
118  this->doEndLuminosityBlockSummary_(cnstLb,c);
119  this->doEndLuminosityBlock_(cnstLb, c);
120  }
virtual void doEndLuminosityBlock_(LuminosityBlock const &lb, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c)
void EDAnalyzerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 202 of file EDAnalyzerBase.cc.

Referenced by doEndLuminosityBlock().

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

Definition at line 204 of file EDAnalyzerBase.cc.

Referenced by doEndLuminosityBlock().

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

Definition at line 93 of file EDAnalyzerBase.cc.

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

94  {
95  Run r(rp, moduleDescription_, mcc, true);
96  r.setConsumer(this);
97  Run const& cnstR = r;
98  this->doEndRunSummary_(r,c);
99  this->doEndRun_(cnstR, c);
100  }
virtual void doEndRun_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doEndRunSummary_(Run const &rp, EventSetup const &c)
void EDAnalyzerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 197 of file EDAnalyzerBase.cc.

Referenced by doEndRun().

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

Definition at line 199 of file EDAnalyzerBase.cc.

Referenced by doEndRun().

199 {}
void EDAnalyzerBase::doEndStream ( StreamID  id)
private

Definition at line 127 of file EDAnalyzerBase.cc.

References doEndStream_().

127  {
128  doEndStream_(id);
129  }
virtual void doEndStream_(StreamID id)
void EDAnalyzerBase::doEndStream_ ( StreamID  id)
privatevirtual

Definition at line 187 of file EDAnalyzerBase.cc.

Referenced by doEndStream().

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

Definition at line 54 of file EDAnalyzerBase.cc.

References analyze(), EnergyCorrector::c, MillePedeFileConverter_cfg::e, moduleDescription_, edm::Event::setConsumer(), and edm::Event::streamID().

56  {
57  Event e(ep, moduleDescription_, mcc);
58  e.setConsumer(this);
59  EventSignalsSentry sentry(act,mcc);
60  this->analyze(e.streamID(), e, c);
61  return true;
62  }
ModuleDescription moduleDescription_
virtual void analyze(StreamID, Event const &, EventSetup const &) const =0
void EDAnalyzerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 65 of file EDAnalyzerBase.cc.

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

65  {
66  preallocStreams(iPrealloc.numberOfStreams());
67  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
68  preallocate(iPrealloc);
69  }
virtual void preallocLumis(unsigned int)
virtual void preallocate(PreallocationConfiguration const &)
virtual void preallocStreams(unsigned int)
void edm::global::EDAnalyzerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 116 of file EDAnalyzerBase.h.

References edm::maker::ModuleHolderT< T >::registerProductsAndCallbacks().

117  { }
void EDAnalyzerBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 179 of file EDAnalyzerBase.cc.

179  {
180  //respondToCloseInputFile(fb);
181  }
void EDAnalyzerBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 174 of file EDAnalyzerBase.cc.

174  {
175  //respondToOpenInputFile(fb);
176  }
void EDAnalyzerBase::doStreamBeginLuminosityBlock ( StreamID  id,
LuminosityBlockPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 151 of file EDAnalyzerBase.cc.

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

154  {
155  LuminosityBlock lb(lbp, moduleDescription_, mcc, false);
156  lb.setConsumer(this);
157  this->doStreamBeginLuminosityBlock_(id,lb, c);
158  }
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDAnalyzerBase::doStreamBeginLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 191 of file EDAnalyzerBase.cc.

Referenced by doStreamBeginLuminosityBlock().

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

Definition at line 131 of file EDAnalyzerBase.cc.

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

135  {
136  Run r(rp, moduleDescription_, mcc, false);
137  r.setConsumer(this);
138  this->doStreamBeginRun_(id, r, c);
139  }
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDAnalyzerBase::doStreamBeginRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 188 of file EDAnalyzerBase.cc.

Referenced by doStreamBeginRun().

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

Definition at line 161 of file EDAnalyzerBase.cc.

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

164  {
165  LuminosityBlock lb(lbp, moduleDescription_, mcc, true);
166  lb.setConsumer(this);
167  this->doStreamEndLuminosityBlock_(id,lb, c);
169  }
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription moduleDescription_
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
void EDAnalyzerBase::doStreamEndLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 192 of file EDAnalyzerBase.cc.

Referenced by doStreamEndLuminosityBlock().

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

Definition at line 193 of file EDAnalyzerBase.cc.

Referenced by doStreamEndLuminosityBlock().

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

Definition at line 141 of file EDAnalyzerBase.cc.

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

144  {
145  Run r(rp, moduleDescription_, mcc, true);
146  r.setConsumer(this);
147  this->doStreamEndRun_(id, r, c);
148  this->doStreamEndRunSummary_(id, r, c);
149  }
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c)
virtual void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDAnalyzerBase::doStreamEndRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 189 of file EDAnalyzerBase.cc.

Referenced by doStreamEndRun().

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

Definition at line 190 of file EDAnalyzerBase.cc.

Referenced by doStreamEndRun().

190 {}
virtual void edm::global::EDAnalyzerBase::endJob ( void  )
inlineprivatevirtual
void EDAnalyzerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 207 of file EDAnalyzerBase.cc.

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

207  {
209  desc.setUnknown();
210  descriptions.addDefault(desc);
211  }
bool edm::global::EDAnalyzerBase::hasAccumulator ( ) const
inlineprivate

Definition at line 149 of file EDAnalyzerBase.h.

149 { return false; }
bool edm::global::EDAnalyzerBase::hasAcquire ( ) const
inlineprivate

Definition at line 148 of file EDAnalyzerBase.h.

148 { return false; }
ModuleDescription const& edm::global::EDAnalyzerBase::moduleDescription ( ) const
inline

Definition at line 62 of file EDAnalyzerBase.h.

62 { return moduleDescription_; }
ModuleDescription moduleDescription_
void edm::global::EDAnalyzerBase::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 78 of file EDAnalyzerBase.h.

References benchmark_cfg::fb.

78 {}
void EDAnalyzerBase::preallocate ( PreallocationConfiguration const &  )
privatevirtual

Definition at line 185 of file EDAnalyzerBase.cc.

Referenced by doPreallocate().

185 {}
void EDAnalyzerBase::preallocLumis ( unsigned  int)
privatevirtual

Definition at line 184 of file EDAnalyzerBase.cc.

Referenced by doPreallocate().

184 {}
void EDAnalyzerBase::preallocStreams ( unsigned  int)
privatevirtual

Definition at line 183 of file EDAnalyzerBase.cc.

Referenced by doPreallocate().

183 {}
void EDAnalyzerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 214 of file EDAnalyzerBase.cc.

References edm::edmodule_mightGet_config().

214  {
215  edmodule_mightGet_config(iConfig);
216  }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
void EDAnalyzerBase::registerProductsAndCallbacks ( EDAnalyzerBase module,
ProductRegistry reg 
)
private

Definition at line 219 of file EDAnalyzerBase.cc.

References edm::ProductRegistry::callForEachBranch(), callWhenNewProductsRegistered_, edm::global::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.

219  {
220 
222 
223  reg->callForEachBranch(callWhenNewProductsRegistered_);
224 
226  regService->watchProductAdditions(callWhenNewProductsRegistered_);
227  }
228  }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
void edm::global::EDAnalyzerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 151 of file EDAnalyzerBase.h.

151  {
152  moduleDescription_ = md;
153  }
ModuleDescription moduleDescription_
virtual bool edm::global::EDAnalyzerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtual
virtual bool edm::global::EDAnalyzerBase::wantsGlobalRuns ( ) const
pure virtual
virtual bool edm::global::EDAnalyzerBase::wantsStreamLuminosityBlocks ( ) const
pure virtual
virtual bool edm::global::EDAnalyzerBase::wantsStreamRuns ( ) const
pure virtual
std::string edm::global::EDAnalyzerBase::workerType ( ) const
inlineprivate

Definition at line 120 of file EDAnalyzerBase.h.

References analyze().

120 {return "WorkerT<EDAnalyzer>";}

Friends And Related Function Documentation

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

Definition at line 51 of file EDAnalyzerBase.h.

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

Definition at line 50 of file EDAnalyzerBase.h.

Member Data Documentation

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

Definition at line 156 of file EDAnalyzerBase.h.

Referenced by registerProductsAndCallbacks().

ModuleDescription edm::global::EDAnalyzerBase::moduleDescription_
private