CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::EDAnalyzer Class Referenceabstract

#include <EDAnalyzer.h>

Inheritance diagram for edm::EDAnalyzer:
edm::EDConsumerBase AlcaBeamMonitorClient BeamConditionsMonitor BeamMonitorBx CaloConfigWriter CaloMCTruthTreeProducer CaloParamsWriter CentralityTableProducer cms::MinBias CompareToObjectMapRecord CSCAFEBAnalyzer CSCChamberTimeCorrectionsReadTest CSCMap1Read CSCRecoBadChannelsAnalyzer CSCTFAnalyzer CSCTFanalyzer CSCTFConfigTestAnalyzer CSCValidation DQMFEDIntegrityClient DQMGenericTnPClient DQMHistNormalizer DQMLumiMonitor DQMMessageLoggerClient DQMOfflineHLTEventInfoClient DQMRivetClient DQMStoreStats DTConfigTester DTEtaPatternLutTester DTExtLutTester DTnoiseDBValidation DTPhiLutTester DTPtaLutTester DTQualPatternLutTester DTt0DBValidation DTTFMasksTester DTTFParametersTester DTTPGParamsWriter DTTrigTest DumpGctDigis EcalBarrelMonitorDbModule EcalSimpleTBAnalyzer EcalTBHodoscopeRawInfoDumper EcalTBTDCRawInfoDumper edm::AnalyzerWrapper< T > edmtest::L1TriggerScalerESAnalyzer EgHLTOfflineSummaryClient ESDaqInfoTask ESDataCertificationTask ESDcsInfoTask ExternalLHEAsciiDumper FFTJetCorrectorDBReader FFTJetCorrectorDBWriter FFTJetTreeDump FourVectorHLT GBRForestWriter GctDigiToPsbText GctErrorAnalyzer GctFibreAnalyzer GctTimingAnalyzer GEMPadDigiReader gen::DataCardFileWriter GenericBenchmarkAnalyzer HepMCEventWriter HGCalTriggerNtupleManager HistoAnalyzer< C > HLTBitAnalyzer HLTGetDigi HLTInclusiveVBFClient HLTOverallSummary HLTScalersClient L1CaloGeometryDump L1CaloInputScalesGenerator L1CaloInputScaleTester L1ElectronRecoTreeProducer L1ExtraTestAnalyzer L1ExtraTreeProducer L1GctConfigDump L1GenTreeProducer L1GtAnalyzer L1GtBoardMapsTester L1GtDataEmulAnalyzer L1GtPackUnpackAnalyzer L1GtParametersTester L1GtPatternGenerator L1GtPrescaleFactorsAndMasksTester L1GtPsbSetupTester L1GtStableParametersTester L1GtTriggerMenuTester L1GtVhdlWriter L1JetRecoTreeProducer L1KeyListWriter L1KeyWriter L1MenuTreeProducer L1MetFilterRecoTreeProducer L1MuCSCTFParametersTester L1MuonOverlapParamsDBProducer L1MuonRecoTreeProducer L1MuScalesTester L1RCTChannelMaskTester L1RCTLutWriter L1RCTParametersTester L1RCTRelValAnalyzer L1RCTSaveInput L1RCTTestAnalyzer L1RecoTreeProducer L1ScalersClient L1ScalesTester l1t::GtInputDump l1t::GtRecordDump l1t::L1TCaloStage1LutWriter l1t::L1TGlobalAnalyzer l1t::L1TStage2CaloAnalyzer L1TauRecoTreeProducer L1TBasicDemo L1TCaloParamsUpdater L1TCaloParamsViewer L1TCaloParamsWriter L1TCaloStage2ParamsWriter L1TComparison L1TGlobalPrescalesVetosViewer L1TGlobalPrescalesVetosWriter L1TMuonBarrelKalmanParamsViewer L1TMuonBarrelParamsViewer L1TMuonBarrelParamsWriter L1TMuonEndCapForestWriter L1TMuonEndCapParamsViewer L1TMuonEndCapParamsWriter L1TMuonGlobalParamsViewer L1TMuonGlobalParamsWriter L1TMuonOverlapParamsViewer L1TMuonOverlapParamsWriter L1TriggerKeyExtViewer L1TriggerKeyListExtReader L1TStage2InputPatternWriter L1TSummary L1TUtmTriggerMenuDumper l1tVertexFinder::VertexNTupler LHEWriter LumiCalculator OMTFPatternMaker PFJetBenchmarkAnalyzer PFMCTruthTreeProducer PFMETBenchmarkAnalyzer PFTauElecRejectionBenchmarkAnalyzer PFTester PixelVTXMonitor PlaybackRawDataProvider PlottingDevice Profiler ProfilerAnalyzer RawToText RctDigiToRctText RctDigiToSourceCardText recoBSVTagInfoValidationAnalyzer SiStripAnalyser SiStripBadComponentsDQMServiceReader SiStripCertificationInfo SiStripCommissioningOfflineClient SiStripCommissioningSource SiStripDaqInfo SiStripDcsInfo SiStripPayloadMapTableCreator TagProbeFitTreeAnalyzer TagProbeFitTreeProducer TauDQMFileLoader TauDQMHistPlotter TauDQMSimpleFileSaver TauJetCorrectorExample TreeWriterForEcalCorrection TtFullHadSignalSelMVATrainer TtSemiLepJetCombMVATrainer TtSemiLepSignalSelMVATrainer ZdcTBAnalyzer

Public Types

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

Public Member Functions

void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex >
const & 
esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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 &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Private Member Functions

virtual void analyze (Event const &, EventSetup const &)=0
 
virtual void beginJob ()
 
virtual void beginLuminosityBlock (LuminosityBlock const &, EventSetup const &)
 
virtual void beginRun (Run const &, EventSetup const &)
 
void doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
void doBeginJob ()
 
bool doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
bool doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
void doEndJob ()
 
bool doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
void doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
bool doEndRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
bool doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToCloseOutputFile ()
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
virtual void endJob ()
 
virtual void endLuminosityBlock (LuminosityBlock const &, EventSetup const &)
 
virtual void endRun (Run const &, EventSetup const &)
 
bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
 
void registerProductsAndCallbacks (EDAnalyzer const *, ProductRegistry *reg)
 
virtual void respondToCloseInputFile (FileBlock const &)
 
virtual void respondToOpenInputFile (FileBlock const &)
 
void setModuleDescription (ModuleDescription const &md)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 

Private Attributes

std::function< void(BranchDescription
const &)> 
callWhenNewProductsRegistered_
 
SerialTaskQueue luminosityBlockQueue_
 
ModuleDescription moduleDescription_
 
SharedResourcesAcquirer resourceAcquirer_
 
SerialTaskQueue runQueue_
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 29 of file EDAnalyzer.h.

Member Typedef Documentation

Definition at line 35 of file EDAnalyzer.h.

Constructor & Destructor Documentation

edm::EDAnalyzer::EDAnalyzer ( )

Definition at line 28 of file EDAnalyzer.cc.

References edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and edm::SharedResourcesRegistry::registerSharedResource().

28  : moduleDescription_() {
30  }
static SharedResourcesRegistry * instance()
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
edm::EDAnalyzer::~EDAnalyzer ( )
override

Definition at line 27 of file EDAnalyzer.cc.

27 {}

Member Function Documentation

virtual void edm::EDAnalyzer::analyze ( Event const &  ,
EventSetup const &   
)
privatepure virtual

Implemented in DQMStoreStats, TauDQMHistPlotter, l1tVertexFinder::VertexNTupler, HLTScalersClient, GctErrorAnalyzer, L1MuonRecoTreeProducer, CSCValidation, L1GtAnalyzer, L1GtDataEmulAnalyzer, EgHLTOfflineSummaryClient, L1TComparison, FFTJetTreeDump, L1TauRecoTreeProducer, TauJetCorrectorExample, l1t::GtRecordDump, HLTGetDigi, L1JetRecoTreeProducer, L1RCTLutWriter, SiStripDcsInfo, L1GtTriggerMenuTester, l1t::L1TGlobalAnalyzer, L1ExtraTreeProducer, StopProfilerAnalyzer, L1GenTreeProducer, PFMETBenchmarkAnalyzer, HLTInclusiveVBFClient, HLTOverallSummary, L1ExtraTestAnalyzer, PFJetBenchmarkAnalyzer, SiStripCertificationInfo, L1RCTTestAnalyzer, L1RCTSaveInput, FourVectorHLT, SiStripDaqInfo, L1TStage2InputPatternWriter, l1t::GtInputDump, L1MetFilterRecoTreeProducer, FFTJetCorrectorDBReader, L1MenuTreeProducer, StartProfilerAnalyzer, TagProbeFitTreeProducer, edm::AnalyzerWrapper< T >, SiStripCommissioningSource, FFTJetCorrectorDBWriter, DTTrigTest, L1GtPackUnpackAnalyzer, L1GtPrescaleFactorsAndMasksTester, L1ScalersClient, L1GtPatternGenerator, L1ElectronRecoTreeProducer, L1RCTRelValAnalyzer, RctDigiToSourceCardText, L1CaloGeometryDump, L1RCTParametersTester, L1RecoTreeProducer, DTt0DBValidation, OMTFPatternMaker, SiStripAnalyser, CSCTFanalyzer, L1GtVhdlWriter, L1RCTChannelMaskTester, L1TUtmTriggerMenuDumper, L1TCaloParamsViewer, CentralityTableProducer, DTnoiseDBValidation, Profiler, PlottingDevice, recoBSVTagInfoValidationAnalyzer, BeamMonitorBx, ProfilerAnalyzer, CSCRecoBadChannelsAnalyzer, EcalSimpleTBAnalyzer, TauDQMFileLoader, BeamConditionsMonitor, GctTimingAnalyzer, L1MuCSCTFParametersTester, L1GtParametersTester, L1GtStableParametersTester, L1CaloInputScaleTester, LumiCalculator, PFTester, l1t::L1TCaloStage1LutWriter, PixelVTXMonitor, DQMLumiMonitor, CSCTFConfigTestAnalyzer, DQMOfflineHLTEventInfoClient, DumpGctDigis, DTConfigTester, edmtest::L1TriggerScalerESAnalyzer, SiStripCommissioningOfflineClient, GctFibreAnalyzer, l1t::L1TStage2CaloAnalyzer, L1GtBoardMapsTester, L1GtPsbSetupTester, L1CaloInputScalesGenerator, EcalBarrelMonitorDbModule, DQMFEDIntegrityClient, HLTBitAnalyzer, GenericBenchmarkAnalyzer, DQMHistNormalizer, ExternalLHEAsciiDumper, cms::MinBias, RctDigiToRctText, TtSemiLepJetCombMVATrainer, CaloConfigWriter, CaloParamsWriter, AlcaBeamMonitorClient, L1TCaloParamsWriter, L1GctConfigDump, L1ScalesTester, TtSemiLepSignalSelMVATrainer, PFTauElecRejectionBenchmarkAnalyzer, DTTPGParamsWriter, CompareToObjectMapRecord, L1TSummary, GEMPadDigiReader, HistoAnalyzer< C >, CSCTFAnalyzer, TreeWriterForEcalCorrection, L1TBasicDemo, RawToText, TtFullHadSignalSelMVATrainer, GBRForestWriter, SiStripBadComponentsDQMServiceReader, GctDigiToPsbText, DQMGenericTnPClient, LHEWriter, DTEtaPatternLutTester, DTExtLutTester, DTPhiLutTester, DTPtaLutTester, DTQualPatternLutTester, DTTFMasksTester, DTTFParametersTester, L1TMuonGlobalParamsViewer, TauDQMSimpleFileSaver, DQMMessageLoggerClient, HepMCEventWriter, L1TMuonBarrelParamsViewer, gen::DataCardFileWriter, L1TMuonBarrelKalmanParamsViewer, L1TMuonOverlapParamsViewer, ZdcTBAnalyzer, HGCalTriggerNtupleManager, L1TMuonBarrelParamsWriter, L1TMuonEndCapParamsViewer, ESDaqInfoTask, ESDcsInfoTask, L1TMuonEndCapForestWriter, L1TMuonEndCapParamsWriter, SiStripPayloadMapTableCreator, PlaybackRawDataProvider, DQMRivetClient, L1TCaloStage2ParamsWriter, L1TGlobalPrescalesVetosWriter, L1TMuonGlobalParamsWriter, L1MuScalesTester, L1TGlobalPrescalesVetosViewer, L1MuonOverlapParamsDBProducer, L1TCaloParamsUpdater, EcalTBHodoscopeRawInfoDumper, EcalTBTDCRawInfoDumper, L1KeyListWriter, L1KeyWriter, L1TMuonOverlapParamsWriter, CSCMap1Read, ESDataCertificationTask, TagProbeFitTreeAnalyzer, CaloMCTruthTreeProducer, PFMCTruthTreeProducer, L1TriggerKeyExtViewer, CSCAFEBAnalyzer, CSCChamberTimeCorrectionsReadTest, and L1TriggerKeyListExtReader.

Referenced by doEvent().

const std::string & edm::EDAnalyzer::baseType ( )
static

Definition at line 123 of file EDAnalyzer.cc.

References edm::kBaseType().

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

Reimplemented in DQMStoreStats, l1tVertexFinder::VertexNTupler, HLTScalersClient, GctErrorAnalyzer, L1MuonRecoTreeProducer, EgHLTOfflineSummaryClient, L1TComparison, FFTJetTreeDump, L1TauRecoTreeProducer, TauJetCorrectorExample, L1JetRecoTreeProducer, l1t::L1TGlobalAnalyzer, L1ExtraTreeProducer, L1GenTreeProducer, PFMETBenchmarkAnalyzer, SiStripDcsInfo, PFJetBenchmarkAnalyzer, FourVectorHLT, L1TStage2InputPatternWriter, L1GtDataEmulAnalyzer, L1MetFilterRecoTreeProducer, L1GtTriggerMenuTester, L1GtAnalyzer, L1MenuTreeProducer, edm::AnalyzerWrapper< T >, L1ElectronRecoTreeProducer, L1CaloGeometryDump, CSCTFanalyzer, L1GtPatternGenerator, L1RecoTreeProducer, SiStripAnalyser, L1TUtmTriggerMenuDumper, EcalSimpleTBAnalyzer, OMTFPatternMaker, Profiler, PlottingDevice, PFTester, DTTrigTest, L1GtPackUnpackAnalyzer, L1GtPrescaleFactorsAndMasksTester, ProfilerAnalyzer, L1CaloInputScaleTester, EcalBarrelMonitorDbModule, l1t::L1TCaloStage1LutWriter, LumiCalculator, CSCTFConfigTestAnalyzer, BeamMonitorBx, PixelVTXMonitor, DQMLumiMonitor, GenericBenchmarkAnalyzer, cms::MinBias, l1t::L1TStage2CaloAnalyzer, L1CaloInputScalesGenerator, edmtest::L1TriggerScalerESAnalyzer, BeamConditionsMonitor, TtSemiLepSignalSelMVATrainer, TtSemiLepJetCombMVATrainer, L1ScalersClient, DQMOfflineHLTEventInfoClient, DQMFEDIntegrityClient, PFTauElecRejectionBenchmarkAnalyzer, AlcaBeamMonitorClient, TtFullHadSignalSelMVATrainer, L1TSummary, RawToText, ESDaqInfoTask, ESDcsInfoTask, gen::DataCardFileWriter, DQMMessageLoggerClient, PlaybackRawDataProvider, EcalTBHodoscopeRawInfoDumper, EcalTBTDCRawInfoDumper, ESDataCertificationTask, L1MuonOverlapParamsDBProducer, CSCMap1Read, CaloMCTruthTreeProducer, PFMCTruthTreeProducer, and CSCChamberTimeCorrectionsReadTest.

Definition at line 86 of file EDAnalyzer.h.

Referenced by doBeginJob().

86 {}
virtual void edm::EDAnalyzer::beginLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual
virtual void edm::EDAnalyzer::beginRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual
void edm::EDAnalyzer::callWhenNewProductsRegistered ( std::function< void(BranchDescription const &)> const &  func)

Definition at line 101 of file EDAnalyzer.cc.

References callWhenNewProductsRegistered_, and cms::cuda::func.

101  {
103  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
Definition: EDAnalyzer.h:105
void edm::EDAnalyzer::doAccessInputProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 70 of file EDAnalyzer.h.

70 {}
void edm::EDAnalyzer::doBeginJob ( )
private

Definition at line 44 of file EDAnalyzer.cc.

References beginJob(), edm::SharedResourcesRegistry::createAcquirer(), edm::SharedResourcesRegistry::instance(), edm::SharedResourcesRegistry::kLegacyModuleResourceName, and resourceAcquirer_.

44  {
45  std::vector<std::string> res = {SharedResourcesRegistry::kLegacyModuleResourceName};
47 
48  this->beginJob();
49  }
virtual void beginJob()
Definition: EDAnalyzer.h:86
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
SharedResourcesAcquirer resourceAcquirer_
Definition: EDAnalyzer.h:100
static SharedResourcesRegistry * instance()
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
bool edm::EDAnalyzer::doBeginLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 73 of file EDAnalyzer.cc.

References edm::BeginLuminosityBlock, beginLuminosityBlock(), c, edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

73  {
74  LuminosityBlock lb(info, moduleDescription_, mcc, false);
75  lb.setConsumer(this);
76  ESParentContext parentC(mcc);
77  const EventSetup c{info,
78  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
80  parentC};
81  this->beginLuminosityBlock(lb, c);
82  return true;
83  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDAnalyzer.h:90
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDAnalyzer::doBeginProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 69 of file EDAnalyzer.h.

69 {}
bool edm::EDAnalyzer::doBeginRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 53 of file EDAnalyzer.cc.

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

53  {
54  Run r(info, moduleDescription_, mcc, false);
55  r.setConsumer(this);
56  ESParentContext parentC(mcc);
57  const EventSetup c{
58  info, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), parentC};
59  this->beginRun(r, c);
60  return true;
61  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
virtual void beginRun(Run const &, EventSetup const &)
Definition: EDAnalyzer.h:88
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDAnalyzer::doEndJob ( )
private

Definition at line 51 of file EDAnalyzer.cc.

References endJob().

51 { this->endJob(); }
virtual void endJob()
Definition: EDAnalyzer.h:87
bool edm::EDAnalyzer::doEndLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 85 of file EDAnalyzer.cc.

References c, edm::EndLuminosityBlock, endLuminosityBlock(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

85  {
86  LuminosityBlock lb(info, moduleDescription_, mcc, true);
87  lb.setConsumer(this);
88  ESParentContext parentC(mcc);
89  const EventSetup c{info,
90  static_cast<unsigned int>(Transition::EndLuminosityBlock),
92  parentC};
93  this->endLuminosityBlock(lb, c);
94  return true;
95  }
virtual void endLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Definition: EDAnalyzer.h:91
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDAnalyzer::doEndProcessBlock ( ProcessBlockPrincipal const &  ,
ModuleCallingContext const *   
)
inlineprivate

Definition at line 71 of file EDAnalyzer.h.

71 {}
bool edm::EDAnalyzer::doEndRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 63 of file EDAnalyzer.cc.

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

63  {
64  Run r(info, moduleDescription_, mcc, true);
65  r.setConsumer(this);
66  ESParentContext parentC(mcc);
67  const EventSetup c{
68  info, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), parentC};
69  this->endRun(r, c);
70  return true;
71  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
virtual void endRun(Run const &, EventSetup const &)
Definition: EDAnalyzer.h:89
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
bool edm::EDAnalyzer::doEvent ( EventTransitionInfo const &  info,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 32 of file EDAnalyzer.cc.

References analyze(), c, alignCSCRings::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, info(), moduleDescription_, resourceAcquirer_, edm::Event::setConsumer(), and edm::Event::setSharedResourcesAcquirer().

32  {
34  e.setConsumer(this);
35  e.setSharedResourcesAcquirer(&resourceAcquirer_);
36  EventSignalsSentry sentry(act, mcc);
37  ESParentContext parentC(mcc);
38  const EventSetup c{
39  info, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event), parentC};
40  this->analyze(e, c);
41  return true;
42  }
static const TGPicture * info(bool iBackgroundIsBlack)
const edm::EventSetup & c
virtual void analyze(Event const &, EventSetup const &)=0
SharedResourcesAcquirer resourceAcquirer_
Definition: EDAnalyzer.h:100
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
void edm::EDAnalyzer::doPreallocate ( PreallocationConfiguration const &  )
inlineprivate

Definition at line 66 of file EDAnalyzer.h.

66 {}
void edm::EDAnalyzer::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 79 of file EDAnalyzer.h.

79 {}
void edm::EDAnalyzer::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 99 of file EDAnalyzer.cc.

References respondToCloseInputFile().

virtual void respondToCloseInputFile(FileBlock const &)
Definition: EDAnalyzer.h:93
void edm::EDAnalyzer::doRespondToCloseOutputFile ( )
inlineprivate

Definition at line 78 of file EDAnalyzer.h.

78 {}
void edm::EDAnalyzer::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 97 of file EDAnalyzer.cc.

References respondToOpenInputFile().

virtual void respondToOpenInputFile(FileBlock const &)
Definition: EDAnalyzer.h:92
virtual void edm::EDAnalyzer::endJob ( void  )
inlineprivatevirtual

Reimplemented in DQMStoreStats, l1tVertexFinder::VertexNTupler, GctErrorAnalyzer, L1MuonRecoTreeProducer, CSCValidation, L1GtAnalyzer, L1GtDataEmulAnalyzer, EgHLTOfflineSummaryClient, L1TComparison, L1GtTriggerMenuTester, FFTJetTreeDump, L1TauRecoTreeProducer, TauJetCorrectorExample, L1JetRecoTreeProducer, L1RCTLutWriter, l1t::L1TGlobalAnalyzer, L1ExtraTreeProducer, L1GenTreeProducer, PFMETBenchmarkAnalyzer, L1GtPrescaleFactorsAndMasksTester, PFJetBenchmarkAnalyzer, FourVectorHLT, L1TStage2InputPatternWriter, L1MetFilterRecoTreeProducer, L1MenuTreeProducer, edm::AnalyzerWrapper< T >, L1GtPackUnpackAnalyzer, TagProbeFitTreeProducer, BeamConditionsMonitor, L1GtPatternGenerator, SiStripCommissioningSource, L1ElectronRecoTreeProducer, L1CaloGeometryDump, SiStripAnalyser, L1RecoTreeProducer, CSCTFanalyzer, DTt0DBValidation, L1TUtmTriggerMenuDumper, CentralityTableProducer, DTTrigTest, OMTFPatternMaker, Profiler, PlottingDevice, LumiCalculator, EcalSimpleTBAnalyzer, recoBSVTagInfoValidationAnalyzer, ProfilerAnalyzer, PFTester, TauDQMFileLoader, EcalBarrelMonitorDbModule, DTnoiseDBValidation, L1CaloInputScaleTester, PixelVTXMonitor, DQMFEDIntegrityClient, l1t::L1TCaloStage1LutWriter, CSCTFConfigTestAnalyzer, SiStripCommissioningOfflineClient, cms::MinBias, l1t::L1TStage2CaloAnalyzer, L1CaloInputScalesGenerator, GenericBenchmarkAnalyzer, HLTBitAnalyzer, TtSemiLepJetCombMVATrainer, DTTPGParamsWriter, PFTauElecRejectionBenchmarkAnalyzer, L1TSummary, RawToText, ESDaqInfoTask, ESDcsInfoTask, TauDQMSimpleFileSaver, gen::DataCardFileWriter, ZdcTBAnalyzer, DQMRivetClient, SiStripPayloadMapTableCreator, PlaybackRawDataProvider, EcalTBHodoscopeRawInfoDumper, EcalTBTDCRawInfoDumper, L1MuonOverlapParamsDBProducer, ESDataCertificationTask, CSCMap1Read, CaloMCTruthTreeProducer, PFMCTruthTreeProducer, CSCAFEBAnalyzer, and CSCChamberTimeCorrectionsReadTest.

Definition at line 87 of file EDAnalyzer.h.

Referenced by doEndJob().

87 {}
virtual void edm::EDAnalyzer::endLuminosityBlock ( LuminosityBlock const &  ,
EventSetup const &   
)
inlineprivatevirtual
virtual void edm::EDAnalyzer::endRun ( Run const &  ,
EventSetup const &   
)
inlineprivatevirtual
void edm::EDAnalyzer::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 105 of file EDAnalyzer.cc.

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

105  {
107  desc.setUnknown();
108  descriptions.addDefault(desc);
109  }
SerialTaskQueue* edm::EDAnalyzer::globalLuminosityBlocksQueue ( )
inline

Definition at line 59 of file EDAnalyzer.h.

59 { return &luminosityBlockQueue_; }
SerialTaskQueue luminosityBlockQueue_
Definition: EDAnalyzer.h:103
SerialTaskQueue* edm::EDAnalyzer::globalRunsQueue ( )
inline

Definition at line 58 of file EDAnalyzer.h.

58 { return &runQueue_; }
SerialTaskQueue runQueue_
Definition: EDAnalyzer.h:102
bool edm::EDAnalyzer::hasAccumulator ( ) const
inlineprivate

Definition at line 96 of file EDAnalyzer.h.

96 { return false; }
bool edm::EDAnalyzer::hasAcquire ( ) const
inlineprivate

Definition at line 95 of file EDAnalyzer.h.

95 { return false; }
ModuleDescription const& edm::EDAnalyzer::moduleDescription ( ) const
inline

Definition at line 47 of file EDAnalyzer.h.

Referenced by TagProbeFitTreeProducer::endJob().

47 { return moduleDescription_; }
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
void edm::EDAnalyzer::preActionBeforeRunEventAsync ( WaitingTaskHolder  ,
ModuleCallingContext const &  ,
Principal const &   
) const
inlineprivate

Definition at line 64 of file EDAnalyzer.h.

64 {}
void edm::EDAnalyzer::prevalidate ( ConfigurationDescriptions iConfig)
static

Definition at line 111 of file EDAnalyzer.cc.

References edm::edmodule_mightGet_config().

111 { edmodule_mightGet_config(iConfig); }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
void edm::EDAnalyzer::registerProductsAndCallbacks ( EDAnalyzer const *  ,
ProductRegistry reg 
)
private

Definition at line 113 of file EDAnalyzer.cc.

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

113  {
115  reg->callForEachBranch(callWhenNewProductsRegistered_);
116 
118  regService->watchProductAdditions(callWhenNewProductsRegistered_);
119  }
120  }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_
Definition: EDAnalyzer.h:105
virtual void edm::EDAnalyzer::respondToCloseInputFile ( FileBlock const &  )
inlineprivatevirtual

Reimplemented in PlaybackRawDataProvider.

Definition at line 93 of file EDAnalyzer.h.

Referenced by doRespondToCloseInputFile().

93 {}
virtual void edm::EDAnalyzer::respondToOpenInputFile ( FileBlock const &  )
inlineprivatevirtual

Definition at line 92 of file EDAnalyzer.h.

Referenced by doRespondToOpenInputFile().

92 {}
void edm::EDAnalyzer::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 98 of file EDAnalyzer.h.

98 { moduleDescription_ = md; }
ModuleDescription moduleDescription_
Definition: EDAnalyzer.h:99
SharedResourcesAcquirer& edm::EDAnalyzer::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 83 of file EDAnalyzer.h.

83 { return resourceAcquirer_; }
SharedResourcesAcquirer resourceAcquirer_
Definition: EDAnalyzer.h:100
static bool edm::EDAnalyzer::wantsGlobalLuminosityBlocks ( )
inlinestatic

Definition at line 52 of file EDAnalyzer.h.

52 { return true; }
static bool edm::EDAnalyzer::wantsGlobalRuns ( )
inlinestatic

Definition at line 51 of file EDAnalyzer.h.

51 { return true; }
static bool edm::EDAnalyzer::wantsInputProcessBlocks ( )
inlinestatic

Definition at line 50 of file EDAnalyzer.h.

50 { return false; }
static bool edm::EDAnalyzer::wantsProcessBlocks ( )
inlinestatic

Definition at line 49 of file EDAnalyzer.h.

49 { return false; }
static bool edm::EDAnalyzer::wantsStreamLuminosityBlocks ( )
inlinestatic

Definition at line 54 of file EDAnalyzer.h.

54 { return false; };
static bool edm::EDAnalyzer::wantsStreamRuns ( )
inlinestatic

Definition at line 53 of file EDAnalyzer.h.

53 { return false; }
std::string edm::EDAnalyzer::workerType ( ) const
inline

Definition at line 40 of file EDAnalyzer.h.

40 { return "WorkerT<EDAnalyzer>"; }

Friends And Related Function Documentation

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

Definition at line 32 of file EDAnalyzer.h.

template<typename T >
friend class WorkerT
friend

Definition at line 34 of file EDAnalyzer.h.

Member Data Documentation

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

Definition at line 105 of file EDAnalyzer.h.

Referenced by callWhenNewProductsRegistered(), and registerProductsAndCallbacks().

SerialTaskQueue edm::EDAnalyzer::luminosityBlockQueue_
private

Definition at line 103 of file EDAnalyzer.h.

ModuleDescription edm::EDAnalyzer::moduleDescription_
private
SharedResourcesAcquirer edm::EDAnalyzer::resourceAcquirer_
private

Definition at line 100 of file EDAnalyzer.h.

Referenced by doBeginJob(), and doEvent().

SerialTaskQueue edm::EDAnalyzer::runQueue_
private

Definition at line 102 of file EDAnalyzer.h.