CMS 3D CMS Logo

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

#include <EDAnalyzerBase.h>

Inheritance diagram for edm::one::EDAnalyzerBase:
edm::EDConsumerBase edm::one::EDAnalyzer< edm::one::SharedResources > edm::one::EDAnalyzer< edm::one::WatchLuminosityBlocks > edm::one::EDAnalyzer< edm::one::WatchRuns > edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources > edm::one::EDAnalyzer< one::WatchRuns, one::WatchLuminosityBlocks > edm::one::EDAnalyzer<> edm::one::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 ()
 
virtual SerialTaskQueueglobalLuminosityBlocksQueue ()
 
virtual SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
virtual bool wantsGlobalLuminosityBlocks () const =0
 
virtual bool wantsGlobalRuns () const =0
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~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
 
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
 
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)
 
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 (Event const &, EventSetup const &)=0
 
virtual void beginJob ()
 
virtual SharedResourcesAcquirer createAcquirer ()
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doBeginLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
void doBeginRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doBeginRun_ (Run const &rp, EventSetup const &c)
 
void doEndJob ()
 
void doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
void doEndRun (RunPrincipal const &rp, EventSetupImpl const &c, ModuleCallingContext const *)
 
virtual void doEndRun_ (Run const &rp, EventSetup const &c)
 
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)
 
virtual void endJob ()
 
bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
virtual void preallocLumis (unsigned int)
 
void registerProductsAndCallbacks (EDAnalyzerBase const *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
std::string workerType () const
 

Private Attributes

std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
 
ModuleDescription moduleDescription_
 
SharedResourcesAcquirer resourcesAcquirer_
 

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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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 47 of file EDAnalyzerBase.h.

Member Typedef Documentation

Definition at line 54 of file EDAnalyzerBase.h.

Constructor & Destructor Documentation

EDAnalyzerBase::EDAnalyzerBase ( )

Definition at line 43 of file EDAnalyzerBase.cc.

43 : moduleDescription_() {}
ModuleDescription moduleDescription_
EDAnalyzerBase::~EDAnalyzerBase ( )
override

Definition at line 45 of file EDAnalyzerBase.cc.

45 {}

Member Function Documentation

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

Definition at line 148 of file EDAnalyzerBase.cc.

References edm::one::kBaseType().

148 { return kBaseType; }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::one::EDAnalyzerBase::beginJob ( void  )
inlineprivatevirtual

Reimplemented in L1TConfigDumper, IsolatedTracksNxN, ApeEstimator, IsolatedTracksCone, IsolatedGenParticles, IsolatedTracksHcalScale, IsoTrig, HcalIsoTrkAnalyzer, DTCCablingMapProducer, StudyHLT, IsoTrackCalib, CosmicRateAnalyzer, IsoTrackCalibration, ListGroups, HcalHBHEMuonAnalyzer, RecAnalyzerMinbias, ListIds, PrimaryVertexValidation, ApeTreeCreateDefault, TrackerTreeGenerator, ApeEstimatorSummary, cms::Analyzer_minbias, HcalRaddamMuon, HGCalTBAnalyzer, EcalTPCondAnalyzer, SiStripChannelGainFromDBMiscalibrator, SiStripNoisesFromDBMiscalibrator, IsolatedParticlesGeneratedJets, __class__< T >, L1GtTrigReport, edm::TestMixedSource, AlignPCLThresholdsWriter, BeamSpotRcdReader, EGEnergyAnalyzer, ElectronMVANtuplizer, HGCalTimingAnalyzer, SiStripApvGainRescaler, CaloParticleDebugger, DTCCablingMapTestReader, SiStripElectronAnalyzer, HcalHBHEMuonSimAnalyzer, ElectronStudy, edm::SecSourceAnalyzer, RecAnalyzerHF, edm::PrintEventSetupContent, SimplePi0DiscAnalyzer, MuonGeometryDBConverter, HLTrigReport, DTCCablingMapTestProducer, GsfElectronMCAnalyzer, Mixing2DB, GenXSecAnalyzer, DQMAnalyzer, GsfElectronFakeAnalyzer, SimplePhotonAnalyzer, GsfElectronDataAnalyzer, GsfElectronMCFakeAnalyzer, PatPhotonSimpleAnalyzer, PhotonIDSimpleAnalyzer, OutputDDToDDL, QualityCutsAnalyzer, TrackHistoryAnalyzer, ElectronSeedAnalyzer, edm::InputAnalyzer, AlignmentProducerAsAnalyzer, OutputMagneticFieldDDToDDL, VertexHistoryAnalyzer, HcalForwardLibWriter, WriteCTPPSPixGainCalibrations, CTPPSDirectProtonSimulationValidator, BPHHistoSpecificDecay, CTPPSAcceptancePlotter, PPSTimingCalibrationAnalyzer, MCElectronAnalyzer, MCPhotonAnalyzer, MCPizeroAnalyzer, PhotonsWithConversionsAnalyzer, SimpleConvertedPhotonAnalyzer, HcalTB06Analysis, PPSTimingCalibrationWriter, HcalPulseContainmentTest, cond::BTransitionAnalyzer< T, R >, cond::BTransitionAnalyzer< EcalADCToGeVConstant, EcalADCToGeVConstantRcd >, RivetAnalyzer, L1CSCTPEmulatorConfigAnalyzer, TrackingMaterialAnalyser, XMLGeometryBuilder, XMLGeometryReader, GeometricTimingDetLoader, GeometricDetLoader, CompareDDCompactViews, and DDTestMuonNumbering.

Definition at line 107 of file EDAnalyzerBase.h.

Referenced by doBeginJob().

107 {}
void EDAnalyzerBase::callWhenNewProductsRegistered ( std::function< void(BranchDescription const &)> const &  func)

Definition at line 47 of file EDAnalyzerBase.cc.

References callWhenNewProductsRegistered_, and jets_cff::func.

47  {
49  }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
SharedResourcesAcquirer EDAnalyzerBase::createAcquirer ( )
privatevirtual

Definition at line 64 of file EDAnalyzerBase.cc.

Referenced by doBeginJob().

64  {
66  std::vector<std::shared_ptr<SerialTaskQueue>>(1, std::make_shared<SerialTaskQueue>())};
67  }
void EDAnalyzerBase::doBeginJob ( )
private

Definition at line 72 of file EDAnalyzerBase.cc.

References beginJob(), createAcquirer(), and resourcesAcquirer_.

72  {
74 
75  this->beginJob();
76  }
virtual SharedResourcesAcquirer createAcquirer()
SharedResourcesAcquirer resourcesAcquirer_
void EDAnalyzerBase::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetupImpl const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 101 of file EDAnalyzerBase.cc.

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

103  {
104  LuminosityBlock lb(lbp, moduleDescription_, mcc, false);
105  lb.setConsumer(this);
106  LuminosityBlock const& cnstLb = lb;
107  const EventSetup c{ci,
108  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
110  this->doBeginLuminosityBlock_(cnstLb, c);
111  }
ModuleDescription moduleDescription_
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void EDAnalyzerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 135 of file EDAnalyzerBase.cc.

Referenced by doBeginLuminosityBlock().

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

Definition at line 85 of file EDAnalyzerBase.cc.

References edm::BeginRun, EnergyCorrector::c, doBeginRun_(), edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

85  {
86  Run r(rp, moduleDescription_, mcc, false);
87  r.setConsumer(this);
88  Run const& cnstR = r;
89  const EventSetup c{ci, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun)};
90  this->doBeginRun_(cnstR, c);
91  }
ModuleDescription moduleDescription_
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void EDAnalyzerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 133 of file EDAnalyzerBase.cc.

Referenced by doBeginRun().

133 {}
void EDAnalyzerBase::doEndJob ( )
private

Definition at line 78 of file EDAnalyzerBase.cc.

References endJob().

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

Definition at line 113 of file EDAnalyzerBase.cc.

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

115  {
116  LuminosityBlock lb(lbp, moduleDescription_, mcc, true);
117  lb.setConsumer(this);
118  LuminosityBlock const& cnstLb = lb;
119  const EventSetup c{ci,
120  static_cast<unsigned int>(Transition::EndLuminosityBlock),
122  this->doEndLuminosityBlock_(cnstLb, c);
123  }
virtual void doEndLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
ModuleDescription moduleDescription_
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void EDAnalyzerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 136 of file EDAnalyzerBase.cc.

Referenced by doEndLuminosityBlock().

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

Definition at line 93 of file EDAnalyzerBase.cc.

References EnergyCorrector::c, doEndRun_(), edm::EndRun, edm::EDConsumerBase::esGetTokenIndices(), moduleDescription_, alignCSCRings::r, and edm::Run::setConsumer().

93  {
94  Run r(rp, moduleDescription_, mcc, true);
95  r.setConsumer(this);
96  Run const& cnstR = r;
97  const EventSetup c{ci, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun)};
98  this->doEndRun_(cnstR, c);
99  }
virtual void doEndRun_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void EDAnalyzerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 134 of file EDAnalyzerBase.cc.

Referenced by doEndRun().

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

Definition at line 51 of file EDAnalyzerBase.cc.

References analyze(), EnergyCorrector::c, MillePedeFileConverter_cfg::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, moduleDescription_, resourcesAcquirer_, edm::Event::setConsumer(), and edm::Event::setSharedResourcesAcquirer().

54  {
55  Event e(ep, moduleDescription_, mcc);
56  e.setConsumer(this);
57  e.setSharedResourcesAcquirer(&resourcesAcquirer_);
58  EventSignalsSentry sentry(act, mcc);
59  const EventSetup c{ci, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event)};
60  this->analyze(e, c);
61  return true;
62  }
virtual void analyze(Event const &, EventSetup const &)=0
SharedResourcesAcquirer resourcesAcquirer_
ModuleDescription moduleDescription_
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void EDAnalyzerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 80 of file EDAnalyzerBase.cc.

References edm::PreallocationConfiguration::numberOfLuminosityBlocks(), and preallocLumis().

80  {
81  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
82  }
virtual void preallocLumis(unsigned int)
void edm::one::EDAnalyzerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate
void EDAnalyzerBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 129 of file EDAnalyzerBase.cc.

129  {
130  //respondToCloseInputFile(fb);
131  }
void EDAnalyzerBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 125 of file EDAnalyzerBase.cc.

125  {
126  //respondToOpenInputFile(fb);
127  }
virtual void edm::one::EDAnalyzerBase::endJob ( void  )
inlineprivatevirtual

Reimplemented in L1TConfigDumper, IsolatedTracksNxN, ApeEstimator, IsolatedTracksCone, IsolatedGenParticles, IsolatedTracksHcalScale, IsoTrig, OverlapValidation, DTCCablingMapProducer, IsoTrackCalib, CosmicRateAnalyzer, ListGroups, RecAnalyzerMinbias, PrimaryVertexValidation, ListIds, ApeTreeCreateDefault, TrackerTreeGenerator, cms::Analyzer_minbias, ApeEstimatorSummary, HcalRaddamMuon, cond::BTransitionAnalyzer< T, R >, cond::BTransitionAnalyzer< EcalADCToGeVConstant, EcalADCToGeVConstantRcd >, L1GtTrigReport, SiStripNoisesFromDBMiscalibrator, SiStripChannelGainFromDBMiscalibrator, EcalTPCondAnalyzer, IsolatedParticlesGeneratedJets, __class__< T >, edm::TestMixedSource, AlignPCLThresholdsWriter, BeamSpotRcdReader, EGEnergyAnalyzer, SiStripApvGainRescaler, ElectronMVANtuplizer, CaloParticleDebugger, DTCCablingMapTestReader, SiStripElectronAnalyzer, edm::PrintEventSetupContent, edm::SecSourceAnalyzer, RecAnalyzerHF, GenXSecAnalyzer, SimplePi0DiscAnalyzer, MuonGeometryDBConverter, DTT0Calibration, DTCCablingMapTestProducer, HLTrigReport, Mixing2DB, GsfElectronMCAnalyzer, OutputDDToDDL, DQMAnalyzer, GsfElectronFakeAnalyzer, SimplePhotonAnalyzer, CTPPSProtonReconstructionEfficiencyEstimatorData, GsfElectronDataAnalyzer, GsfElectronMCFakeAnalyzer, PatPhotonSimpleAnalyzer, PhotonIDSimpleAnalyzer, CTPPSProtonReconstructionEfficiencyEstimatorMC, OutputMagneticFieldDDToDDL, QualityCutsAnalyzer, EcalTrigPrimAnalyzer, edm::InputAnalyzer, SVTagInfoValidationAnalyzer, ElectronSeedAnalyzer, CTPPSProtonReconstructionSimulationValidator, AlignmentProducerAsAnalyzer, HcalForwardLibWriter, BeamSpotRcdPrinter, CTPPSProtonReconstructionPlotter, CTPPSTrackDistributionPlotter, WriteCTPPSPixGainCalibrations, CTPPSDirectProtonSimulationValidator, CTPPSProtonReconstructionValidator, BPHHistoSpecificDecay, CTPPSAcceptancePlotter, PPSTimingCalibrationAnalyzer, CTPPSHepMCDistributionPlotter, PPSTimingCalibrationWriter, MCElectronAnalyzer, MCPhotonAnalyzer, MCPizeroAnalyzer, PhotonsWithConversionsAnalyzer, SimpleConvertedPhotonAnalyzer, HcalTB06Analysis, CTPPSOpticsPlotter, SiStripDetVOffPrinter, CTPPSBeamSmearingValidator, EcalEBTrigPrimAnalyzer, RivetAnalyzer, L1CSCTPEmulatorConfigAnalyzer, CTPPSLHCInfoPlotter, TrackingMaterialAnalyser, GeometricTimingDetLoader, GeometricDetLoader, CompareDDCompactViews, and DDTestMuonNumbering.

Definition at line 108 of file EDAnalyzerBase.h.

Referenced by doEndJob().

108 {}
void EDAnalyzerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 138 of file EDAnalyzerBase.cc.

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

138  {
140  desc.setUnknown();
141  descriptions.addDefault(desc);
142  }
SerialTaskQueue * EDAnalyzerBase::globalLuminosityBlocksQueue ( )
virtual
SerialTaskQueue * EDAnalyzerBase::globalRunsQueue ( )
virtual
bool edm::one::EDAnalyzerBase::hasAccumulator ( ) const
inlineprivate

Definition at line 116 of file EDAnalyzerBase.h.

116 { return false; }
bool edm::one::EDAnalyzerBase::hasAcquire ( ) const
inlineprivate

Definition at line 115 of file EDAnalyzerBase.h.

115 { return false; }
ModuleDescription const& edm::one::EDAnalyzerBase::moduleDescription ( ) const
inline

Definition at line 64 of file EDAnalyzerBase.h.

Referenced by edm::SecSourceAnalyzer::getBranches().

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

Definition at line 78 of file EDAnalyzerBase.h.

References benchmark_cfg::fb.

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

Definition at line 83 of file EDAnalyzerBase.cc.

Referenced by doPreallocate().

83 {};
void EDAnalyzerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 144 of file EDAnalyzerBase.cc.

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

144 { edmodule_mightGet_config(iConfig); }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
void EDAnalyzerBase::registerProductsAndCallbacks ( EDAnalyzerBase const *  module,
ProductRegistry reg 
)
private

Definition at line 150 of file EDAnalyzerBase.cc.

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

150  {
152  reg->callForEachBranch(callWhenNewProductsRegistered_);
153 
155  regService->watchProductAdditions(callWhenNewProductsRegistered_);
156  }
157  }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
void edm::one::EDAnalyzerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 120 of file EDAnalyzerBase.h.

120 { moduleDescription_ = md; }
ModuleDescription moduleDescription_
SharedResourcesAcquirer& edm::one::EDAnalyzerBase::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 104 of file EDAnalyzerBase.h.

References analyze().

104 { return resourcesAcquirer_; }
SharedResourcesAcquirer resourcesAcquirer_
virtual bool edm::one::EDAnalyzerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtual
virtual bool edm::one::EDAnalyzerBase::wantsGlobalRuns ( ) const
pure virtual
bool edm::one::EDAnalyzerBase::wantsStreamLuminosityBlocks ( ) const
inline

Definition at line 69 of file EDAnalyzerBase.h.

References EnergyCorrector::c, jets_cff::func, and RecoTauPiZeroBuilderPlugins_cfi::function.

69 { return false; };
bool edm::one::EDAnalyzerBase::wantsStreamRuns ( ) const
inline

Definition at line 68 of file EDAnalyzerBase.h.

68 { return false; }
std::string edm::one::EDAnalyzerBase::workerType ( ) const
inlineprivate

Definition at line 102 of file EDAnalyzerBase.h.

102 { return "WorkerT<EDAnalyzer>"; }

Friends And Related Function Documentation

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

Definition at line 52 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::one::EDAnalyzerBase::callWhenNewProductsRegistered_
private
ModuleDescription edm::one::EDAnalyzerBase::moduleDescription_
private
SharedResourcesAcquirer edm::one::EDAnalyzerBase::resourcesAcquirer_
private

Definition at line 124 of file EDAnalyzerBase.h.

Referenced by doBeginJob(), and doEvent().