CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
DQMEDHarvester Class Referenceabstract

#include <DQMEDHarvester.h>

Inheritance diagram for DQMEDHarvester:
edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper BrilClient BTagPerformanceHarvester CaloTowersClient CaloTowersDQMClient CSCCertificationInfo CSCDaqInfo CSCDcsInfo CSCOfflineClient DataCertificationJetMET DQMCorrelationClient DQMExample_Step2 DQMGenericClient DQMHcalIsoTrackPostProcessor dqmoffline::l1t::L1TDiffHarvesting dqmoffline::l1t::L1TEfficiencyHarvesting DQMScaleToClient DT2DSegmentClients DT4DSegmentClients DTBlockedROChannelsTest DTCertificationSummary DTChamberEfficiencyClient DTChamberEfficiencyTest DTDAQInfo DTDataIntegrityTest DTDCSByLumiSummary DTDCSSummary DTEfficiencyTest DTLocalTriggerBaseTest DTNoiseAnalysisTest DTOccupancyTest DTOfflineSummaryClients DTRecHitClients DTResolutionAnalysisTest DTResolutionTest DTRunConditionVarClient DTSegmentAnalysisTest DTSummaryClients EcalCondDBReader EcalCondDBWriter EcalDQMonitorClient EcalMEFormatter ECALpedestalPCLHarvester EcalPreshowerMonitorClient EcalZmassClient EfficiencyPlotter EgHLTOfflineClient ElectronDqmHarvesterBase EmDQMPostProcessor FastTimerServiceClient HcalDigisClient hcaldqm::DQHarvester HcalNoiseRatesClient HcalRecHitsClient HcalRecHitsDQMClient HcalSimHitsClient HGCalDigiClient HGCalGeometryClient HGCalHitClient HGCalRecHitsClient HGCalSimHitsClient HLTBTagHarvestingAnalyzer HltSusyExoPostProcessor HLTTauCertifier HLTTauPostProcessor JetMETDQMPostProcessor JetMETHLTOfflineClient JetTesterPostProcessor L1EmulatorErrorFlagClient L1TCSCTFClient L1TDTTFClient L1TDTTPGClient L1TEMTFEventInfoClient L1TEventInfoClient L1TGCTClient L1TGMTClient L1TOccupancyClient L1TRPCTFClient L1TStage2CaloLayer2DEClient L1TStage2CaloLayer2DEClientSummary L1TStage2RatioClient L1TTestsSummary METTesterPostProcessor METTesterPostProcessorHarvesting MillePedeDQMModule MuonAlignmentSummary MuonGEMDigisHarvestor MuonGEMHitsHarvestor MuonGEMRecHitsHarvestor MuonME0DigisHarvestor MuonME0SegHarvestor MuonRecoTest MuonTestSummary MuonTrackResidualsTest NoiseRatesClient PFClient PFClient_JetRes PhotonDataCertification PhotonOfflineClient PSMonitorClient RPCChamberQuality RPCDaqInfo RPCDataCertification RPCDcsInfoClient RPCDCSSummary RPCDqmClient RPCEfficiencyPerRingLayer RPCEfficiencySecond RPCEfficiencyShiftHisto RPCEventSummary RPCRecHitProbabilityClient RPCRecHitValidClient SiPixelCertification SiPixelDaqInfo SiPixelDcsInfo SiPixelEDAClient SiPixelPhase1Harvester SiPixelPhase1Summary SiStripBadComponentInfo SiStripGainsPCLHarvester SiStripPopConDQMEDHarvester< SourceHandler > SusyPostProcessor TauDQMHistEffProducer ThroughputServiceClient TrackEfficiencyClient TrackingAnalyser TrackingCertificationInfo TrackingDQMClientHeavyIons TrackingOfflineDQM TriggerRatesMonitorClient

Public Member Functions

void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQMEDHarvester ()
 
virtual void dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &)=0
 
virtual void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
void endJob () final
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () 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)
 

Protected Attributes

edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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 14 of file DQMEDHarvester.h.

Constructor & Destructor Documentation

DQMEDHarvester::DQMEDHarvester ( )

Definition at line 9 of file DQMEDHarvester.cc.

References lumiToken_, and runToken_.

9  {
10  usesResource("DQMStore");
11  lumiToken_ = produces<DQMToken,edm::Transition::EndLuminosityBlock>("endLumi");
12  runToken_ = produces<DQMToken,edm::Transition::EndRun>("endRun");
13 }
edm::EDPutTokenT< DQMToken > lumiToken_
edm::EDPutTokenT< DQMToken > runToken_
DQMEDHarvester::~DQMEDHarvester ( )
overridedefault

Member Function Documentation

void DQMEDHarvester::accumulate ( edm::Event const &  ev,
edm::EventSetup const &  es 
)
inlinefinal

Definition at line 26 of file DQMEDHarvester.h.

26 {};
void DQMEDHarvester::beginLuminosityBlock ( edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlinefinal

Definition at line 32 of file DQMEDHarvester.h.

References endJob(), endLuminosityBlock(), and endLuminosityBlockProduce().

32 {};
void DQMEDHarvester::beginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverride

Definition at line 28 of file DQMEDHarvester.h.

28 {};
virtual void DQMEDHarvester::dqmEndJob ( DQMStore::IBooker ,
DQMStore::IGetter  
)
pure virtual

Implemented in CSCOfflineClient, EgHLTOfflineClient, dqmoffline::l1t::L1TEfficiencyHarvesting, SiPixelPhase1Harvester, PhotonOfflineClient, HcalRecHitsDQMClient, JetMETHLTOfflineClient, DTSegmentAnalysisTest, TrackingOfflineDQM, DTLocalTriggerBaseTest, DTRunConditionVarClient, DTEfficiencyTest, TrackingCertificationInfo, DTNoiseAnalysisTest, HcalNoiseRatesClient, CaloTowersDQMClient, DTResolutionTest, L1TEventInfoClient, SiPixelPhase1Summary, SiStripGainsPCLHarvester, DTChamberEfficiencyTest, CaloTowersClient, DTChamberEfficiencyClient, DTOccupancyTest, HcalSimHitsClient, DTResolutionAnalysisTest, SiStripBadComponentInfo, TrackEfficiencyClient, PhotonDataCertification, MillePedeDQMModule, CSCCertificationInfo, HcalRecHitsClient, NoiseRatesClient, CSCDaqInfo, CSCDcsInfo, DQMCorrelationClient, TrackingAnalyser, DTLocalTriggerSynchTest, MuonRecoTest, DTBlockedROChannelsTest, DTSummaryClients, MuonTrackResidualsTest, FastTimerServiceClient, DTDCSByLumiSummary, MuonTestSummary, L1TEMTFEventInfoClient, MuonAlignmentSummary, EcalZmassClient, HGCalSimHitsClient, ECALpedestalPCLHarvester, PSMonitorClient, DQMScaleToClient, DTOfflineSummaryClients, L1TOccupancyClient, SiPixelEDAClient, DTCertificationSummary, L1TTestsSummary, HGCalRecHitsClient, DTDataIntegrityTest, EfficiencyPlotter, DTDAQInfo, ThroughputServiceClient, HGCalDigiClient, TauDQMHistEffProducer, DTDCSSummary, L1TRPCTFClient, SiPixelDaqInfo, DQMGenericClient, HcalDigisClient, L1TDTTFClient, L1TDTTPGClient, SiPixelCertification, SiPixelDcsInfo, DataCertificationJetMET, JetTesterPostProcessor, METTesterPostProcessor, METTesterPostProcessorHarvesting, L1EmulatorErrorFlagClient, SusyPostProcessor, HLTBTagHarvestingAnalyzer, RPCEfficiencyShiftHisto, TriggerRatesMonitorClient, L1TGCTClient, SiStripPopConDQMEDHarvester< SourceHandler >, ElectronDqmHarvesterBase, MuonGEMDigisHarvestor, MuonGEMHitsHarvestor, hcaldqm::DQHarvester, BrilClient, RPCEfficiencySecond, RPCDqmClient, RPCEventSummary, DQMHcalIsoTrackPostProcessor, HGCalHitClient, L1TCSCTFClient, dqmoffline::l1t::L1TDiffHarvesting, HLTTauCertifier, DT2DSegmentClients, MuonGEMRecHitsHarvestor, MuonME0DigisHarvestor, MuonME0SegHarvestor, L1TGMTClient, DQMExample_Step2, DT4DSegmentClients, DTRecHitClients, HGCalGeometryClient, RPCRecHitProbabilityClient, BTagPerformanceHarvester, RPCRecHitValidClient, RPCDaqInfo, RPCDCSSummary, RPCEfficiencyPerRingLayer, RPCDataCertification, TrackingDQMClientHeavyIons, EcalDQMonitorClient, RPCChamberQuality, EcalPreshowerMonitorClient, L1TStage2RatioClient, RPCDcsInfoClient, PFClient, PFClient_JetRes, EcalMEFormatter, L1TStage2CaloLayer2DEClient, L1TStage2CaloLayer2DEClientSummary, HLTTauPostProcessor, JetMETDQMPostProcessor, EcalCondDBWriter, EcalCondDBReader, HltSusyExoPostProcessor, and EmDQMPostProcessor.

Referenced by dqmEndLuminosityBlock(), and endJob().

virtual void DQMEDHarvester::dqmEndLuminosityBlock ( DQMStore::IBooker ,
DQMStore::IGetter ,
edm::LuminosityBlock const &  ,
edm::EventSetup const &   
)
inlinevirtual
void DQMEDHarvester::endJob ( void  )
finalvirtual

Reimplemented from edm::one::EDProducerBase.

Definition at line 15 of file DQMEDHarvester.cc.

References b, dqmEndJob(), g, DQMStore::meBookerGetter(), and Utilities::operator.

Referenced by HcalOfflineHarvesting::_dqmEndJob(), and beginLuminosityBlock().

15  {
17  store->meBookerGetter([this](DQMStore::IBooker &b, DQMStore::IGetter &g) {
18  this->dqmEndJob(b, g);
19  });
20 }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
double b
Definition: hdecay.h:120
virtual void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &)=0
void DQMEDHarvester::endLuminosityBlock ( edm::LuminosityBlock const &  iLumi,
edm::EventSetup const &  iSetup 
)
final

Definition at line 22 of file DQMEDHarvester.cc.

References b, dqmEndLuminosityBlock(), g, DQMStore::meBookerGetter(), and Utilities::operator.

Referenced by HcalOfflineHarvesting::_dqmEndLuminosityBlock(), and beginLuminosityBlock().

23  {
25  store->meBookerGetter([this, &iLumi, &iSetup](DQMStore::IBooker &b, DQMStore::IGetter &g){
26  this->dqmEndLuminosityBlock(b, g, iLumi, iSetup);
27  });
28 }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4
double b
Definition: hdecay.h:120
virtual void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
void DQMEDHarvester::endLuminosityBlockProduce ( edm::LuminosityBlock iLumi,
edm::EventSetup const &   
)
final

Definition at line 30 of file DQMEDHarvester.cc.

References lumiToken_, and edm::LuminosityBlock::put().

Referenced by beginLuminosityBlock().

30  {
31  iLumi.put(lumiToken_, std::make_unique<DQMToken>());
32 }
edm::EDPutTokenT< DQMToken > lumiToken_
void put(std::unique_ptr< PROD > product)
Put a new product.
void DQMEDHarvester::endRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlineoverride

Definition at line 29 of file DQMEDHarvester.h.

References endRunProduce(), findQualityFiles::run, and GeneralSetup::setup().

29 {};
void DQMEDHarvester::endRunProduce ( edm::Run run,
edm::EventSetup const &  setup 
)
override

Definition at line 34 of file DQMEDHarvester.cc.

References edm::Run::put(), and runToken_.

Referenced by endRun().

34  {
35  run.put(runToken_, std::make_unique<DQMToken>());
36 }
edm::EDPutTokenT< DQMToken > runToken_
void put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Run.h:114

Member Data Documentation

edm::EDPutTokenT<DQMToken> DQMEDHarvester::lumiToken_
protected

Definition at line 41 of file DQMEDHarvester.h.

Referenced by DQMEDHarvester(), and endLuminosityBlockProduce().

edm::EDPutTokenT<DQMToken> DQMEDHarvester::runToken_
protected

Definition at line 42 of file DQMEDHarvester.h.

Referenced by DQMEDHarvester(), and endRunProduce().