CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
DQMEDAnalyzer Class Referenceabstract

#include <DQMEDAnalyzer.h>

Inheritance diagram for DQMEDAnalyzer:
edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator > B2GDoubleLeptonHLTValidation B2GDQM B2GHadronicHLTValidation B2GSingleLeptonHLTValidation BaseTnPEfficiencyTask BasicGenParticleValidation BasicHepMCHeavyIonValidation BasicHepMCValidation BDHadronTrackMonitoringAnalyzer BeamHaloAnalyzer BenchmarkAnalyzer BPHMonitor BPhysicsOniaDQM BPhysicsSpectrum BPhysicsValidation BTagAndProbe BTagPerformanceAnalyzerMC BTagPerformanceAnalyzerOnData BtlDigiHitsValidation BtlLocalRecoValidation BtlSimHitsValidation BxTiming CaloTowerAnalyzer CaloTowersAnalyzer CaloTowersValidation CentralityDQM CentralitypADQM ClusterCount CSCDigiValidation CSCOfflineMonitor CSCRecHitValidation CTPPSRandomDQMSource dEdxAnalyzer dEdxHitAnalyzer DemoNormalDQMEDAnalyzer DiDispStaMuonMonitor DiJetMonitor DiMuonHistograms DiMuonMassBiasMonitor DiMuonVertexMonitor DQMExample_Step1 DQMHcalDiJetsAlCaReco DQMHcalIsolatedBunchAlCaReco DQMHcalIsoTrackAlCaReco DQMHOAlCaRecoStream DQMSourceEleCalib DQMSourcePi0 DrellYanValidation DTCalibValidation DTCalibValidationFromMuons DTChamberEfficiency DTDataIntegrityROSOffline DTLocalTriggerSynchTask DTOccupancyEfficiency DTPreCalibrationTask DTRunConditionVar DTSegmentAnalysisTask DTSegmentsTask DTTriggerEfficiencyTask DTtTrigDBValidation DuplicationChecker EcalBarrelDigisValidation EcalBarrelRecHitsValidation EcalBarrelSimHitsValidation EcalDigisValidation EcalEndcapDigisValidation EcalEndcapRecHitsValidation EcalEndcapSimHitsValidation EcalFEDMonitorTemp< SUBDET > ECALMultifitAnalyzer_HI ECALpedestalPCLworker EcalPileUpDepMonitor EcalPreshowerDigisValidation EcalPreshowerNoiseDistrib EcalPreshowerRecHitsValidation EcalPreshowerSimHitsValidation ECALRecHitAnalyzer EcalRecHitsValidation EcalSimHitsValidation EcalTBValidation EcalZmassTask EfficiencyAnalyzer EgammaBasicClusters EgammaSuperClusters EgHLTOfflineSource ElectronConversionRejectionValidator ElectronDqmAnalyzerBase EmDQMReco ESFEDIntegrityTask ESPedestalTask ESRawDataTask ESRecoSummary ESTimingTask ESTrendTask EtlDigiHitsValidation EtlLocalRecoValidation EtlSimHitsValidation EventShapeDQM EwkDQM EwkMuDQM EwkMuLumiMonitorDQM ExoticaDQM FCDTask FSQDiJetAve FSQDQM GEMBaseValidation GEMCheckGeometry GEMDQMBase GEMDQMEfficiencySourceBase GenWeightValidation GlobalDigisAnalyzer GlobalDigisHistogrammer GlobalHitsAnalyzer GlobalHitsHistogrammer GlobalHitsTester GlobalRecHitsAnalyzer GlobalRecHitsHistogrammer GlobalTest HcalCollapseAnalyzer HcalDigisValidation HcalHitValidation HcalNoiseRates HCALRecHitAnalyzer HcalRecHitsAnalyzer HcalRecHitsValidation HcalSimHitStudy HeavyIonUCCDQM HGCalDigiValidation HGCalHitCalibration HGCalHitValidation HGCalRecHitValidation HGCalShowerSeparation HGCalSimHitValidation HGCGeometryValidation HiBasicGenTest HiggsDQM HiggsValidation HLTBTagPerformanceAnalyzer HLTFiltersDQMonitor HLTGenValSource HLTHiggsValidator HLTInclusiveVBFSource HLTJetMETValidation HLTMuonValidator HLTObjectsMonitor HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType > HLTTauDQMOfflineSource HLTVertexPerformanceAnalyzer HLXMonitor HotlineDQM HTMonitor JetAnalyzer JetAnalyzer_HeavyIons JetAnalyzer_HeavyIons_matching JetMETHLTOfflineSource JetMonitor JetTester JetTester_HeavyIons L1GtHwValidation L1TCompare L1TCSCTF L1TCSCTPG L1TdeCSCTF L1TdeCSCTPG L1TdeCSCTPGShower L1TdeGCT L1TdeGEMTPG L1TDEMON L1TdeStage2CaloLayer2 L1TdeStage2CPPF L1TdeStage2EMTF L1TdeStage2RegionalShower L1TdeStage2uGT L1TDTTF L1TDTTPG L1TFED L1TGCT L1TGMT L1THIonImp L1TMP7ZeroSupp L1TMuonDQMOffline L1TObjectsTiming L1TPhase2MuonOffline L1TPhase2OuterTrackerTkMET L1TPUM L1TRCT L1TRPCTF L1TRPCTPG L1TScalersSCAL L1TStage2BMTF L1TStage2CaloLayer2 L1TStage2CaloLayer2Offline L1TStage2CPPF L1TStage2MuonComp L1TStage2MuonShowerComp L1TStage2OMTF L1TStage2RegionalMuonCandComp L1TStage2RegionalMuonShowerComp L1TStage2uGMT L1TStage2uGMTInputBxDistributions L1TStage2uGMTMuon L1TStage2uGT L1TStage2uGTCaloLayer2Comp L1TStage2uGTTiming L1TTauOffline L1Validator LaserAlignmentT0ProducerDQM LepHTMonitor MBUEandQCDValidation ME0BaseValidation METMonitor METplusTrackMonitor METTester MiniAODSVAnalyzer MiniAODTaggerAnalyzer MixCollectionValidation MonitorLTC MonitorTrackResidualsBase< pixel_or_strip > MtdEleIsoValidation MtdTracksValidation MuIsoValidation MuonDTDigis MuonEnergyDepositAnalyzer MuonIdDQM MuonIdVal MuonIsolationDQM MuonKinVsEtaAnalyzer MuonMiniAOD MuonMonitor MuonPFAnalyzer MuonRecoAnalyzer MuonRecoOneHLT MuonSeedsAnalyzer MuonSimHitsValidAnalyzer MuonTiming MuonTrackAnalyzer MuonTrackValidator NanoAODDQM NoBPTXMonitor NoiseRates ObjMonitor OffsetAnalyzerDQM OuterTrackerMonitorTrackingParticles OuterTrackerMonitorTTCluster OuterTrackerMonitorTTStub OuterTrackerMonitorTTTrack PackedCandidateTrackValidator ParticleNetJetTagMonitor PFCaloGPUComparisonTask PFCandidateAnalyzerDQM PFCandidateDQMAnalyzer PFClusterValidation PFJetAnalyzerDQM PFJetDQMAnalyzer PFMETDQMAnalyzer PFMuonDQMAnalyzer Phase2ITMonitorCluster Phase2ITMonitorRecHit Phase2ITValidateCluster Phase2ITValidateRecHitBase Phase2OTMonitorCluster Phase2OTMonitorRecHit Phase2OTMonitorVectorHits Phase2OTValidateCluster Phase2OTValidateRecHitBase Phase2TrackerMonitorDigi Phase2TrackerValidateDigi PhotonAnalyzer PhotonMonitor PhotonValidatorMiniAOD PhysicsObjectsMonitor PixelVTXMonitor PiZeroAnalyzer PPSAlignmentWorker Primary4DVertexValidation PrimaryVertexAnalyzer4PUSlimmed PrimaryVertexMonitor PrimaryVertexResolution QcdHighPtDQM QcdPhotonsDQM QcdUeDQM RazorMonitor RCTMonitor RPCDigiValid RPCFEDIntegrity RPCMonitorDigi RPCMonitorRaw RPCPointVsRecHit RPCRecHitProbability RPCRecHitValid RPCTTUMonitor ScoutingAnalyzerBase SegmentTrackAnalyzer ShortenedTrackResolution SimHitsValidationHcal SiPixelCalSingleMuonAnalyzer SiPixelClusterSource SiPixelCompareRecHitsSoAAlpaka< T > SiPixelCompareTrackSoAAlpaka< T > SiPixelCompareVertexSoA SiPixelCompareVertexSoAAlpaka SiPixelDigiValid SiPixelHitEfficiencySource SiPixelHLTSource SiPixelLorentzAnglePCLWorker SiPixelMonitorRecHitsSoAAlpaka< T > SiPixelMonitorTrackSoAAlpaka< T > SiPixelMonitorVertexSoA SiPixelMonitorVertexSoAAlpaka SiPixelPhase1Base SiPixelPhase1RawDataErrorComparator SiPixelRawDataErrorSource SiPixelRecHitSource SiPixelRecHitsValid SiPixelTrackResidualSource SiStripBaselineValidator SiStripCMMonitorPlugin SiStripDigiValid SiStripFEDDumpPlugin SiStripHitEfficiencyWorker SiStripLorentzAnglePCLMonitor SiStripMonitorApproximateCluster SiStripMonitorCluster SiStripMonitorFilter SiStripMonitorHLT SiStripMonitorTrack SiStripRecHitsValid SiStripSpyMonitorModule SiStripTrackingRecHitsValid SMPDQM StandaloneTrackMonitor SUSY_HLT_alphaT SUSY_HLT_DiJet_MET SUSY_HLT_DoubleEle_Hadronic SUSY_HLT_DoubleMuon_Hadronic SUSY_HLT_ElecFakes SUSY_HLT_Electron_BJet SUSY_HLT_InclusiveHT SUSY_HLT_MuEle_Hadronic SUSY_HLT_Muon_BJet SUSY_HLT_Muon_Hadronic SUSY_HLT_MuonFakes SUSY_HLT_PhotonHT SUSY_HLT_PhotonMET SUSY_HLT_Razor SUSY_HLT_SingleLepton SUSY_HLT_VBF_Mu SusyDQM< Mu, Ele, Jet, Met > SUSYDQMAnalyzer TagAndProbeBtagTriggerMonitor Tau3MuMonitor TauTagValidation TauValidation TauValidationMiniAOD TkAlCaRecoMonitor TopDiLeptonDQM TopMonitor TotemT2DQMSource TrackEfficiencyMonitor TrackerHitAnalyzer TrackingMonitor TrackingRecoMaterialAnalyser TrackingTruthValid TrackSplittingMonitor TrackToTrackComparisonHists TrackTypeMonitor TriggerMatchMonitor TTbar_GenJetAnalyzer TTbar_GenLepAnalyzer TTbar_Kinematics TTbarSpinCorrHepMCAnalyzer V0Monitor V0Validator WValidation ZCounting ZCountingElectrons ZDCQIE10Task ZdcSimHitStudy ZDCTask ZEEDetails ZGammaplusJetsMonitor

Public Types

typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Public Member Functions

void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

uint64_t meId () const
 

Protected Attributes

edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

The standard DQM module base.

Definition at line 39 of file DQMEDAnalyzer.h.

Member Typedef Documentation

◆ DQMStore

Definition at line 44 of file DQMEDAnalyzer.h.

◆ MonitorElement

Definition at line 45 of file DQMEDAnalyzer.h.

Constructor & Destructor Documentation

◆ DQMEDAnalyzer()

DQMEDAnalyzer::DQMEDAnalyzer ( )
inline

Definition at line 55 of file DQMEDAnalyzer.h.

References edm::StreamID::invalidStreamID(), lumiToken_, runToken_, streamId_, and edm::StreamID::value().

55  {
56  // for whatever reason we need the explicit `template` keyword here.
57  runToken_ = this->template produces<DQMToken, edm::Transition::EndRun>("DQMGenerationRecoRun");
58  lumiToken_ = this->template produces<DQMToken, edm::Transition::EndLuminosityBlock>("DQMGenerationRecoLumi");
60  }
static StreamID invalidStreamID()
Definition: StreamID.h:45
edm::EDPutTokenT< DQMToken > runToken_
unsigned int streamId_
unsigned int value() const
Definition: StreamID.h:43
edm::EDPutTokenT< DQMToken > lumiToken_

Member Function Documentation

◆ accumulate()

void DQMEDAnalyzer::accumulate ( edm::Event const &  event,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 100 of file DQMEDAnalyzer.h.

References analyze(), and singleTopDQM_cfi::setup.

100 { analyze(event, setup); }
virtual void analyze(edm::Event const &, edm::EventSetup const &)
Definition: event.py:1

◆ analyze()

virtual void DQMEDAnalyzer::analyze ( edm::Event const &  ,
edm::EventSetup const &   
)
inlinevirtual

Reimplemented in PackedCandidateTrackValidator, SiStripTrackingRecHitsValid, Primary4DVertexValidation, MuonTrackValidator, BeamHaloAnalyzer, GlobalRecHitsAnalyzer, PrimaryVertexAnalyzer4PUSlimmed, L1TGCT, SiStripRecHitsValid, SiPixelPhase1RawDataErrorComparator, GlobalDigisAnalyzer, SiPixelLorentzAnglePCLWorker, SiStripMonitorApproximateCluster, L1GtHwValidation, HLTObjectsMonitor, EgHLTOfflineSource, PhotonAnalyzer, ExoticaDQM, V0Validator, DiMuonMassBiasMonitor, L1TMuonDQMOffline, L1TTauOffline, JetAnalyzer, EmDQMReco, L1TStage2CaloLayer2Offline, MtdTracksValidation, L1TStage2uGTCaloLayer2Comp, B2GDQM, FSQDQM, ECALRecHitAnalyzer, SMPDQM, GlobalHitsAnalyzer, PiZeroAnalyzer, JetAnalyzer_HeavyIons, JetAnalyzer_HeavyIons_matching, CSCOfflineMonitor, GlobalHitsHistogrammer, GlobalHitsTester, RCTMonitor, TauTagValidation, JetTester_HeavyIons, DTTriggerEfficiencyTask, TrackingMonitor, L1TdeStage2CaloLayer2, SiStripCMMonitorPlugin, JetMETHLTOfflineSource, MtdEleIsoValidation, SiStripHitEfficiencyWorker, HcalDigisValidation, L1Validator, GEMEfficiencyAnalyzer, L1TCompare, SiStripMonitorTrack, MuonIsolationDQM, V0Monitor, MuIsoValidation, SiStripLorentzAnglePCLMonitor, DTLocalTriggerSynchTask, L1TCSCTF, SiPixelCompareTrackSoAAlpaka< T >, L1TdeCSCTF, L1TRPCTPG, TrackToTrackComparisonHists, FSQDiJetAve, HLTGenValSource, ECALMultifitAnalyzer_HI, HGCalSimHitValidation, MuonIdVal, MuonTrackAnalyzer, HGCalHitValidation, EcalDigisValidation, EcalRecHitsValidation, ZdcSimHitStudy, HcalRecHitsValidation, L1TStage2BMTF, SusyDQM< Mu, Ele, Jet, Met >, StandaloneTrackMonitor, HcalRecHitsAnalyzer, BtlLocalRecoValidation, DTRunConditionVar, QcdUeDQM, HLTJetMETValidation, TTbar_Kinematics, TTbarSpinCorrHepMCAnalyzer, MuonDTDigis, MuonSimHitsValidAnalyzer, DTChamberEfficiency, Phase2OTMonitorRecHit, SiPixelCalSingleMuonAnalyzer, BPHMonitor, ParticleNetJetTagMonitor, TTbar_GenJetAnalyzer, Phase2OTValidateCluster, L1TPhase2MuonOffline, B2GDoubleLeptonHLTValidation, B2GHadronicHLTValidation, B2GSingleLeptonHLTValidation, TTbar_GenLepAnalyzer, GlobalDigisHistogrammer, GlobalRecHitsHistogrammer, EtlLocalRecoValidation, TauValidationMiniAOD, Phase2ITValidateCluster, DTCalibValidationFromMuons, HLXMonitor, SiStripSpyMonitorModule, SUSY_HLT_SingleLepton, Phase2ITValidateTrackingRecHit, L1TGMT, SiPixelHitEfficiencySource, MuonIdDQM, Phase2OTValidateTrackingRecHit, OuterTrackerMonitorTTStub, DQMExample_Step1, HGCalRecHitValidation, BtlSimHitsValidation, DTSegmentAnalysisTask, OuterTrackerMonitorTTCluster, SiPixelTrackResidualSource, PrimaryVertexResolution, BaseTnPEfficiencyTask, HLTInclusiveVBFSource, HGCalDigiValidation, BDHadronTrackMonitoringAnalyzer, Phase2ITValidateRecHit, DTCalibValidation, HcalCollapseAnalyzer, METTester, Phase2OTValidateRecHit, L1TFED, L1TRPCTF, L1TStage2uGT, SiPixelPhase1Base, SiStripMonitorCluster, DQMHcalIsolatedBunchAlCaReco, DQMSourcePi0, MuonRecoOneHLT, BTagAndProbe, NanoAODDQM, PhotonValidatorMiniAOD, PixelVTXMonitor, L1TCSCTPG, HiggsDQM, ClusterCount, Phase2ITMonitorRecHit, MonitorTrackResidualsBase< pixel_or_strip >, EcalZmassTask, HLTBTagPerformanceAnalyzer, SUSY_HLT_Razor, EcalEndcapDigisValidation, DTDataIntegrityROSOffline, SiPixelRecHitSource, Phase2OTMonitorVectorHits, TrackEfficiencyMonitor, TrackTypeMonitor, HTMonitor, EcalBarrelDigisValidation, NoiseRates, EtlSimHitsValidation, PFCaloGPUComparisonTask, L1TDTTPG, SiPixelRawDataErrorSource, DQMHcalIsoTrackAlCaReco, DQMHOAlCaRecoStream, RazorMonitor, TopMonitor, EcalEndcapRecHitsValidation, HGCalHitCalibration, GlobalTest, BtlDigiHitsValidation, TopDiLeptonDQM, HotlineDQM, EcalBarrelRecHitsValidation, ElectronConversionRejectionValidator, Phase2OTMonitorCluster, ZEEDetails, EcalSimHitsValidation, JetTester, L1TRCT, L1TStage2uGTTiming, Phase2ITMonitorCluster, TrackSplittingMonitor, LaserAlignmentT0ProducerDQM, DQMHcalDiJetsAlCaReco, HcalNoiseRates, LepHTMonitor, PhotonMonitor, DuplicationChecker, HGCalShowerSeparation, GEMDAQStatusSource, OuterTrackerMonitorTTTrack, CaloTowersAnalyzer, TriggerMatchMonitor, EcalPreshowerDigisValidation, EcalEndcapSimHitsValidation, EcalPreshowerSimHitsValidation, EcalPreshowerRecHitsValidation, EtlDigiHitsValidation, PPSAlignmentWorker, ECALpedestalPCLworker, GEMDigiSource, L1TStage2OMTF, EwkDQM, DiJetMonitor, SUSY_HLT_alphaT, EcalBarrelSimHitsValidation, HiggsValidation, PFClusterValidation, L1TdeStage2uGT, SiPixelClusterSource, TkAlCaRecoMonitor, DQMSourceEleCalib, ElectronAnalyzer, SUSY_HLT_MuEle_Hadronic, MBUEandQCDValidation, SiPixelHLTSource, DiMuonVertexMonitor, MuonPFAnalyzer, ObjMonitor, HLTHiggsValidator, SUSY_HLT_DiJet_MET, SUSY_HLT_ElecFakes, SUSY_HLT_Muon_Hadronic, SUSY_HLT_MuonFakes, SUSY_HLT_VBF_Mu, BasicGenParticleValidation, BasicHepMCValidation, HGCGeometryValidation, TotemT2DQMSource, L1TObjectsTiming, QcdPhotonsDQM, PhysicsObjectsMonitor, DiMuonHistograms, EfficiencyAnalyzer, MuonEnergyDepositAnalyzer, MuonKinVsEtaAnalyzer, ZGammaplusJetsMonitor, HLTVertexPerformanceAnalyzer, BPhysicsSpectrum, BPhysicsValidation, SiPixelPhase1HitsV, SiPixelPhase1TrackingParticleV, L1TDTTF, EwkMuLumiMonitorDQM, EcalPileUpDepMonitor, DrellYanValidation, ElectronMcFakeValidator, BxTiming, MuonRecoAnalyzer, METMonitor, DemoNormalDQMEDAnalyzer, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, BasicHepMCHeavyIonValidation, MixCollectionValidation, PFCandidateAnalyzerDQM, SiPixelRecHitsValid, MuonSeedsAnalyzer, RPCTnPEfficiencyTask, HLTTauDQMOfflineSource, EcalPreshowerNoiseDistrib, TauValidation, CTPPSRandomDQMSource, dEdxHitAnalyzer, TrackingRecoMaterialAnalyser, DTPreCalibrationTask, ZCounting, SegmentTrackAnalyzer, MuonMonitor, SUSY_HLT_PhotonHT, SUSY_HLT_PhotonMET, WValidation, SimHitsValidationHcal, HcalSimHitStudy, TrackerHitAnalyzer, BPhysicsOniaDQM, SiPixelMonitorTrackSoAAlpaka< T >, dEdxAnalyzer, DTtTrigDBValidation, MuonTiming, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, DTOccupancyEfficiency, EcalFEDMonitorTemp< SUBDET >, L1TdeGCT, L1TDEMON, MuonMiniAOD, METplusTrackMonitor, CaloTowersValidation, Phase2TrackerValidateDigi, SiPixelMonitorVertexSoA, SiPixelMonitorVertexSoAAlpaka, DTSegmentsTask, PrimaryVertexMonitor, SUSY_HLT_InclusiveHT, BTagPerformanceAnalyzerMC, SiPixelPhase1DigisV, SiPixelPhase1RecHitsV, SUSYDQMAnalyzer, HeavyIonUCCDQM, EgammaSuperClusters, HcalHitValidation, GEMEffByGEMCSCSegmentSource, ZCountingElectrons, DTTnPEfficiencyTask, GEMTnPEfficiencyTask, HLTFiltersDQMonitor, JetMonitor, TagAndProbeBtagTriggerMonitor, CSCDigiValidation, RPCRecHitValid, ZDCTask, L1TPUM, L1TStage2CPPF, EwkMuDQM, RPCTTUMonitor, SiPixelCompareVertexSoA, SiPixelCompareVertexSoAAlpaka, HLTMuonValidator, GenWeightValidation, ElectronMcSignalValidator, FCDTask, L1TMP7ZeroSupp, SiPixelCompareRecHitsSoAAlpaka< T >, SiStripBaselineValidator, ElectronTagProbeAnalyzer, HCALRecHitAnalyzer, EventShapeDQM, L1THIonImp, SiPixelMonitorRecHitsSoAAlpaka< T >, SiStripFEDDumpPlugin, CSCTnPEfficiencyTask, EgammaBasicClusters, ESTimingTask, ESTrendTask, L1TStage2CaloLayer2, L1TStage2uGMT, L1TStage2uGMTInputBxDistributions, RPCFEDIntegrity, ElectronDqmAnalyzerBase, ElectronGeneralAnalyzer, CaloTowerAnalyzer, DiDispStaMuonMonitor, NoBPTXMonitor, OuterTrackerMonitorTrackingParticles, CentralityDQM, CentralitypADQM, QcdHighPtDQM, RPCMonitorDigi, SiStripMonitorFilter, SiStripMonitorHLT, BTagPerformanceAnalyzerOnData, RPCDigiValid, RPCPointVsRecHit, SiPixelDigiValid, ScoutingAnalyzerBase, MonitorLTC, Phase2TrackerMonitorDigi, ShortenedTrackResolution, EcalTBValidation, HiBasicGenTest, L1TPhase2OuterTrackerTkMET, ElectronMcSignalValidatorMiniAOD, PFJetAnalyzerDQM, SiPixelPhase1TrackClustersV, ESFEDIntegrityTask, GEMRecHitSource, L1TdeCSCTPG, L1TStage2MuonComp, L1TStage2MuonShowerComp, L1TStage2RegionalMuonCandComp, L1TStage2RegionalMuonShowerComp, L1TStage2uGMTMuon, Tau3MuMonitor, GEMBaseValidation, ME0BaseValidation, L1TdeStage2CPPF, RPCRecHitProbability, L1TScalersSCAL, ESRecoSummary, SiStripDigiValid, ZDCQIE10Task, MiniAODSVAnalyzer, TrackingTruthValid, ESRawDataTask, L1TdeCSCTPGShower, L1TdeGEMTPG, L1TdeStage2EMTF, L1TdeStage2RegionalShower, RPCMonitorRaw, SiPixelPhase1GeometryDebug, HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >, CSCRecHitValidation, DiJetVarAnalyzer, ESPedestalTask, PFCandidateDQMAnalyzer, PFJetDQMAnalyzer, PFMETDQMAnalyzer, PFMuonDQMAnalyzer, MiniAODTaggerAnalyzer, GEMCheckGeometry, OffsetAnalyzerDQM, CandidateBenchmarkAnalyzer, MatchMETBenchmarkAnalyzer, METBenchmarkAnalyzer, PFCandidateBenchmarkAnalyzer, PFCandidateManagerAnalyzer, GEMSimHitValidation, RazorVarAnalyzer, GEMRecHitValidation, GEMPadDigiClusterValidation, GEMPadDigiValidation, GEMStripDigiValidation, ME0DigisValidation, ME0SegmentsValidation, ScoutingTestAnalyzer, ME0RecHitsValidation, AlphaTVarAnalyzer, GEMCoPadDigiValidation, and ME0HitsValidation.

Definition at line 124 of file DQMEDAnalyzer.h.

Referenced by accumulate().

124 {}

◆ beginLuminosityBlock()

void DQMEDAnalyzer::beginLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 95 of file DQMEDAnalyzer.h.

References meId().

95  {
96  edm::Service<DQMStore>()->initLumi(lumi.run(), lumi.luminosityBlock(), meId());
97  edm::Service<DQMStore>()->enterLumi(lumi.run(), lumi.luminosityBlock(), meId());
98  }
uint64_t meId() const

◆ beginRun()

void DQMEDAnalyzer::beginRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 77 of file DQMEDAnalyzer.h.

References bookHistograms(), dqm::implementation::NavigatorBase::cd(), dqmBeginRun(), getCanSaveByLumi(), meId(), writedatasetfile::run, and singleTopDQM_cfi::setup.

77  {
78  // if we run booking multiple times because there are multiple runs in a
79  // job, this is needed to make sure all existing MEs are in a valid state
80  // before the booking code runs.
81  edm::Service<DQMStore>()->initLumi(run.run(), /* lumi */ 0, meId());
82  edm::Service<DQMStore>()->enterLumi(run.run(), /* lumi */ 0, meId());
84  edm::Service<DQMStore>()->bookTransaction(
85  [this, &run, &setup](DQMStore::IBooker& booker) {
86  booker.cd();
87  this->bookHistograms(booker, run, setup);
88  },
89  meId(),
90  this->getCanSaveByLumi());
91  edm::Service<DQMStore>()->initLumi(run.run(), /* lumi */ 0, meId());
92  edm::Service<DQMStore>()->enterLumi(run.run(), /* lumi */ 0, meId());
93  }
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
virtual bool getCanSaveByLumi()
Definition: DQMEDAnalyzer.h:47
uint64_t meId() const

◆ beginStream()

void DQMEDAnalyzer::beginStream ( edm::StreamID  id)
inlinefinal

Definition at line 62 of file DQMEDAnalyzer.h.

References cms::cuda::assert(), edm::StreamID::invalidStreamID(), edm::EDPutTokenT< T >::isUninitialized(), CommonMethods::lock(), lumiToken_, runToken_, streamId_, and relativeConstraints::value.

62  {
64  this->streamId_ = id.value();
65  // now, since we can't access the global cache in the constructor (we
66  // blocked that above to not expose the cache to the subsystem code,
67  // we need to store the tokens here.
68  // This also requires locking, since the streams will run in parallel.
69  // See https://github.com/cms-sw/cmssw/issues/27291#issuecomment-505909101
70  auto lock = std::scoped_lock(globalCache()->master_);
71  if (globalCache()->runToken_.isUninitialized()) {
72  globalCache()->lumiToken_ = lumiToken_;
73  globalCache()->runToken_ = runToken_;
74  }
75  }
static StreamID invalidStreamID()
Definition: StreamID.h:45
assert(be >=bs)
edm::EDPutTokenT< DQMToken > runToken_
unsigned int streamId_
constexpr bool isUninitialized() const noexcept
Definition: EDPutToken.h:100
edm::EDPutTokenT< DQMToken > lumiToken_

◆ bookHistograms()

virtual void DQMEDAnalyzer::bookHistograms ( DQMStore::IBooker ,
edm::Run const &  ,
edm::EventSetup const &   
)
pure virtual

Implemented in PackedCandidateTrackValidator, SiStripTrackingRecHitsValid, Primary4DVertexValidation, MuonTrackValidator, BeamHaloAnalyzer, GlobalRecHitsAnalyzer, PrimaryVertexAnalyzer4PUSlimmed, L1TGCT, SiStripRecHitsValid, ExoticaDQM, GlobalDigisAnalyzer, SiPixelPhase1RawDataErrorComparator, SiPixelLorentzAnglePCLWorker, L1GtHwValidation, SiStripMonitorApproximateCluster, HLTObjectsMonitor, EgHLTOfflineSource, PhotonAnalyzer, V0Validator, EmDQMReco, B2GDQM, L1TMuonDQMOffline, L1TTauOffline, ECALRecHitAnalyzer, JetAnalyzer, FSQDQM, L1TStage2CaloLayer2Offline, SMPDQM, GlobalHitsAnalyzer, MtdTracksValidation, JetAnalyzer_HeavyIons, JetAnalyzer_HeavyIons_matching, GlobalHitsHistogrammer, GlobalHitsTester, JetTester_HeavyIons, PiZeroAnalyzer, CSCOfflineMonitor, RCTMonitor, DiMuonMassBiasMonitor, TauTagValidation, TrackingMonitor, L1Validator, L1TCompare, SiStripCMMonitorPlugin, JetMETHLTOfflineSource, SiStripMonitorTrack, MuonIsolationDQM, MuIsoValidation, SiStripHitEfficiencyWorker, MtdEleIsoValidation, MuonTrackAnalyzer, GEMEfficiencyAnalyzer, L1TStage2uGTCaloLayer2Comp, L1TCSCTF, L1TRPCTPG, SiStripLorentzAnglePCLMonitor, FSQDiJetAve, L1TdeCSCTF, TrackToTrackComparisonHists, HLTGenValSource, SiPixelCompareTrackSoAAlpaka< T >, DTChamberEfficiency, ECALMultifitAnalyzer_HI, HcalRecHitsValidation, StandaloneTrackMonitor, L1TPhase2MuonOffline, HGCalSimHitValidation, MuonIdVal, L1TStage2BMTF, HcalRecHitsAnalyzer, HcalDigisValidation, HGCalHitValidation, HLTJetMETValidation, DTCalibValidationFromMuons, DTLocalTriggerSynchTask, L1TdeStage2CaloLayer2, EcalRecHitsValidation, ZdcSimHitStudy, QcdUeDQM, B2GDoubleLeptonHLTValidation, B2GHadronicHLTValidation, B2GSingleLeptonHLTValidation, TTbar_Kinematics, TTbarSpinCorrHepMCAnalyzer, GlobalDigisHistogrammer, GlobalRecHitsHistogrammer, BtlLocalRecoValidation, MuonSimHitsValidAnalyzer, DTSegmentAnalysisTask, L1TGMT, SusyDQM< Mu, Ele, Jet, Met >, SiStripSpyMonitorModule, Phase2OTMonitorRecHit, SiPixelCalSingleMuonAnalyzer, BPHMonitor, ParticleNetJetTagMonitor, NanoAODDQM, EcalDigisValidation, TTbar_GenJetAnalyzer, MuonDTDigis, Phase2OTValidateCluster, DTRunConditionVar, MuonIdDQM, TTbar_GenLepAnalyzer, TauValidationMiniAOD, Phase2ITValidateCluster, DTCalibValidation, HLXMonitor, OuterTrackerMonitorTTStub, SiPixelPhase1Base, SUSY_HLT_SingleLepton, EtlLocalRecoValidation, DTTriggerEfficiencyTask, L1TFED, L1TRPCTF, OuterTrackerMonitorTTCluster, SiPixelHitEfficiencySource, BDHadronTrackMonitoringAnalyzer, HcalCollapseAnalyzer, DQMExample_Step1, HGCalRecHitValidation, PhotonValidatorMiniAOD, METTester, DTDataIntegrityROSOffline, SiPixelTrackResidualSource, SiStripMonitorCluster, PrimaryVertexResolution, MuonRecoOneHLT, HLTInclusiveVBFSource, HGCalDigiValidation, BtlSimHitsValidation, L1TCSCTPG, L1TDTTPG, MonitorTrackResidualsBase< pixel_or_strip >, TrackEfficiencyMonitor, HLTBTagPerformanceAnalyzer, L1TStage2uGT, SiPixelRawDataErrorSource, SiPixelRecHitSource, TrackTypeMonitor, DQMHcalIsolatedBunchAlCaReco, DQMSourcePi0, BTagAndProbe, PFCaloGPUComparisonTask, HiggsDQM, ClusterCount, Phase2ITMonitorRecHit, V0Monitor, DQMHOAlCaRecoStream, EcalZmassTask, SUSY_HLT_Razor, Phase2OTMonitorVectorHits, HTMonitor, ElectronConversionRejectionValidator, Phase2OTValidateRecHitBase, L1TRCT, ZEEDetails, DQMHcalIsoTrackAlCaReco, BaseTnPEfficiencyTask, RazorMonitor, TopMonitor, HGCalHitCalibration, GlobalTest, EtlSimHitsValidation, JetTester, PixelVTXMonitor, TrackSplittingMonitor, HcalNoiseRates, HotlineDQM, EcalEndcapDigisValidation, EcalBarrelRecHitsValidation, DuplicationChecker, NoiseRates, BtlDigiHitsValidation, OuterTrackerMonitorTTTrack, Phase2OTMonitorCluster, CaloTowersAnalyzer, TriggerMatchMonitor, EcalBarrelDigisValidation, EcalEndcapRecHitsValidation, Phase2ITValidateRecHitBase, L1TStage2OMTF, L1TStage2uGTTiming, TopDiLeptonDQM, SiPixelClusterSource, Phase2ITMonitorCluster, LaserAlignmentT0ProducerDQM, DQMHcalDiJetsAlCaReco, LepHTMonitor, PhotonMonitor, HGCalShowerSeparation, PFClusterValidation, GEMDAQStatusSource, L1TdeStage2uGT, L1TDTTF, EcalSimHitsValidation, MBUEandQCDValidation, BTagPerformanceAnalyzerMC, PPSAlignmentWorker, ECALpedestalPCLworker, GEMDigiSource, SiPixelHLTSource, MuonPFAnalyzer, DiJetMonitor, SUSY_HLT_alphaT, EcalPreshowerRecHitsValidation, BasicGenParticleValidation, EtlDigiHitsValidation, EwkMuLumiMonitorDQM, TkAlCaRecoMonitor, ElectronAnalyzer, DiMuonHistograms, EfficiencyAnalyzer, MuonEnergyDepositAnalyzer, MuonKinVsEtaAnalyzer, HLTVertexPerformanceAnalyzer, SUSY_HLT_MuEle_Hadronic, EcalEndcapSimHitsValidation, EcalPreshowerSimHitsValidation, HiggsValidation, PFCandidateAnalyzerDQM, DiMuonVertexMonitor, DQMSourceEleCalib, EcalPileUpDepMonitor, ObjMonitor, SUSY_HLT_DiJet_MET, SUSY_HLT_ElecFakes, SUSY_HLT_Muon_Hadronic, SUSY_HLT_MuonFakes, SUSY_HLT_VBF_Mu, EcalPreshowerDigisValidation, EcalBarrelSimHitsValidation, HGCGeometryValidation, TotemT2DQMSource, BxTiming, L1TObjectsTiming, EwkDQM, PhysicsObjectsMonitor, MuonRecoAnalyzer, ZGammaplusJetsMonitor, HLTHiggsValidator, BasicHepMCValidation, BPhysicsSpectrum, BPhysicsValidation, SiPixelRecHitsValid, DTOccupancyEfficiency, dEdxAnalyzer, dEdxHitAnalyzer, MuonSeedsAnalyzer, ElectronMcFakeValidator, EcalFEDMonitorTemp< SUBDET >, QcdPhotonsDQM, SegmentTrackAnalyzer, METMonitor, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, BasicHepMCHeavyIonValidation, DrellYanValidation, WValidation, SimHitsValidationHcal, MixCollectionValidation, MuonTiming, HLTTauDQMOfflineSource, DemoNormalDQMEDAnalyzer, CTPPSRandomDQMSource, TrackingRecoMaterialAnalyser, DTPreCalibrationTask, ZCounting, MuonMiniAOD, MuonMonitor, SUSY_HLT_PhotonHT, SUSY_HLT_PhotonMET, CaloTowersValidation, TauValidation, EwkMuDQM, SiPixelMonitorTrackSoAAlpaka< T >, DTtTrigDBValidation, DTSegmentsTask, BTagPerformanceAnalyzerOnData, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, L1TDEMON, BPhysicsOniaDQM, METplusTrackMonitor, EgammaSuperClusters, EcalPreshowerNoiseDistrib, HcalHitValidation, Phase2TrackerValidateDigi, TrackerHitAnalyzer, L1TdeGCT, SiPixelMonitorVertexSoA, SiPixelMonitorVertexSoAAlpaka, HCALRecHitAnalyzer, PrimaryVertexMonitor, SUSY_HLT_InclusiveHT, HcalSimHitStudy, RPCRecHitValid, L1TPUM, L1TStage2CPPF, RPCTTUMonitor, SUSYDQMAnalyzer, HeavyIonUCCDQM, GenWeightValidation, GEMEffByGEMCSCSegmentSource, L1THIonImp, SiStripBaselineValidator, ZCountingElectrons, HLTFiltersDQMonitor, JetMonitor, TagAndProbeBtagTriggerMonitor, CSCDigiValidation, CentralityDQM, CentralitypADQM, SiPixelCompareVertexSoA, SiPixelCompareVertexSoAAlpaka, SiStripFEDDumpPlugin, CaloTowerAnalyzer, HLTMuonValidator, EgammaBasicClusters, ElectronMcSignalValidator, L1TMP7ZeroSupp, L1TStage2CaloLayer2, SiPixelCompareRecHitsSoAAlpaka< T >, ElectronTagProbeAnalyzer, GEMTnPEfficiencyTask, EventShapeDQM, PFJetAnalyzerDQM, OuterTrackerMonitorTrackingParticles, ZDCTask, RPCMonitorDigi, SiPixelMonitorRecHitsSoAAlpaka< T >, SiStripMonitorFilter, SiStripMonitorHLT, RPCDigiValid, HiBasicGenTest, RPCPointVsRecHit, SiPixelDigiValid, ESTimingTask, FCDTask, L1TStage2uGMT, L1TStage2uGMTInputBxDistributions, MonitorLTC, ShortenedTrackResolution, ElectronGeneralAnalyzer, RPCTnPEfficiencyTask, DiDispStaMuonMonitor, NoBPTXMonitor, QcdHighPtDQM, RPCFEDIntegrity, L1TPhase2OuterTrackerTkMET, CSCTnPEfficiencyTask, DTTnPEfficiencyTask, ESTrendTask, Phase2TrackerMonitorDigi, ElectronDqmAnalyzerBase, MiniAODSVAnalyzer, EcalTBValidation, ESRawDataTask, RPCRecHitProbability, ElectronMcSignalValidatorMiniAOD, OffsetAnalyzerDQM, SiStripDigiValid, TrackingTruthValid, GEMRecHitSource, L1TdeCSCTPG, L1TStage2MuonComp, L1TStage2MuonShowerComp, L1TStage2RegionalMuonCandComp, L1TStage2RegionalMuonShowerComp, L1TStage2uGMTMuon, BenchmarkAnalyzer, MiniAODTaggerAnalyzer, Tau3MuMonitor, L1TdeStage2CPPF, RPCMonitorRaw, L1TScalersSCAL, ESRecoSummary, PFCandidateDQMAnalyzer, PFJetDQMAnalyzer, PFMETDQMAnalyzer, PFMuonDQMAnalyzer, HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >, ESFEDIntegrityTask, L1TdeCSCTPGShower, L1TdeGEMTPG, L1TdeStage2EMTF, L1TdeStage2RegionalShower, CandidateBenchmarkAnalyzer, METBenchmarkAnalyzer, PFCandidateBenchmarkAnalyzer, PFCandidateManagerAnalyzer, CSCRecHitValidation, DiJetVarAnalyzer, ESPedestalTask, ZDCQIE10Task, MatchMETBenchmarkAnalyzer, GEMCheckGeometry, GEMPadDigiClusterValidation, GEMPadDigiValidation, GEMStripDigiValidation, GEMSimHitValidation, RazorVarAnalyzer, GEMRecHitValidation, ME0DigisValidation, ME0SegmentsValidation, ScoutingTestAnalyzer, GEMCoPadDigiValidation, ME0RecHitsValidation, AlphaTVarAnalyzer, and ME0HitsValidation.

Referenced by beginRun().

◆ dqmBeginRun()

virtual void DQMEDAnalyzer::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlinevirtual

Reimplemented in SiPixelLorentzAnglePCLWorker, HLTObjectsMonitor, JetAnalyzer, EmDQMReco, L1TTauOffline, L1TMuonDQMOffline, L1TStage2CaloLayer2Offline, TauTagValidation, L1TCompare, JetMETHLTOfflineSource, SiStripMonitorTrack, SiStripLorentzAnglePCLMonitor, GEMEfficiencyAnalyzer, L1TRPCTPG, FSQDiJetAve, HLTGenValSource, HcalRecHitsAnalyzer, StandaloneTrackMonitor, DTLocalTriggerSynchTask, EcalDigisValidation, HcalDigisValidation, HLTJetMETValidation, HGCalSimHitValidation, DTRunConditionVar, HGCalHitValidation, DTChamberEfficiency, Phase2OTMonitorRecHit, Phase2OTValidateCluster, SiStripSpyMonitorModule, Phase2ITValidateCluster, QcdUeDQM, OuterTrackerMonitorTTStub, L1TPhase2MuonOffline, OuterTrackerMonitorTTCluster, SUSY_HLT_SingleLepton, DTCalibValidationFromMuons, SiPixelHitEfficiencySource, SiStripMonitorCluster, DTTriggerEfficiencyTask, L1TDTTPG, DQMExample_Step1, HGCalRecHitValidation, SiPixelRecHitSource, SiPixelTrackResidualSource, Phase2ITMonitorRecHit, HGCalDigiValidation, DTSegmentAnalysisTask, Phase2OTMonitorVectorHits, EcalBarrelDigisValidation, PixelVTXMonitor, DTCalibValidation, L1TStage2uGT, SiPixelRawDataErrorSource, MonitorTrackResidualsBase< pixel_or_strip >, Phase2OTValidateRecHitBase, Phase2OTMonitorCluster, HLTBTagPerformanceAnalyzer, Phase2ITMonitorCluster, CaloTowersAnalyzer, Phase2ITValidateRecHitBase, BaseTnPEfficiencyTask, EcalEndcapDigisValidation, MBUEandQCDValidation, L1TStage2uGTTiming, SiPixelClusterSource, SiPixelHLTSource, GEMDAQStatusSource, L1TDTTF, EwkMuLumiMonitorDQM, HiggsValidation, GEMDigiSource, ZGammaplusJetsMonitor, SUSY_HLT_alphaT, EwkDQM, HLTHiggsValidator, SUSY_HLT_MuEle_Hadronic, BasicHepMCValidation, dEdxHitAnalyzer, SUSY_HLT_DiJet_MET, SUSY_HLT_ElecFakes, SUSY_HLT_Muon_Hadronic, SUSY_HLT_MuonFakes, SUSY_HLT_VBF_Mu, HGCGeometryValidation, TotemT2DQMSource, L1TObjectsTiming, DrellYanValidation, WValidation, HLTVertexPerformanceAnalyzer, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, TauValidation, EcalFEDMonitorTemp< SUBDET >, EwkMuDQM, HLTTauDQMOfflineSource, Phase2TrackerValidateDigi, ZCounting, HCALRecHitAnalyzer, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, GenWeightValidation, ESTrendTask, ZCountingElectrons, HLTFiltersDQMonitor, HLTMuonValidator, SiPixelCompareRecHitsSoAAlpaka< T >, SiPixelMonitorRecHitsSoAAlpaka< T >, Phase2TrackerMonitorDigi, HiBasicGenTest, and GEMRecHitSource.

Definition at line 122 of file DQMEDAnalyzer.h.

Referenced by beginRun().

122 {}

◆ endLuminosityBlock()

void DQMEDAnalyzer::endLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 102 of file DQMEDAnalyzer.h.

References meId().

102  {
103  edm::Service<DQMStore>()->leaveLumi(lumi.run(), lumi.luminosityBlock(), meId());
104  }
uint64_t meId() const

◆ endRun()

void DQMEDAnalyzer::endRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 112 of file DQMEDAnalyzer.h.

References meId(), and writedatasetfile::run.

112  {
113  edm::Service<DQMStore>()->leaveLumi(run.run(), /* lumi */ 0, meId());
114  }
uint64_t meId() const

◆ getCanSaveByLumi()

virtual bool DQMEDAnalyzer::getCanSaveByLumi ( )
inlinevirtual

Definition at line 47 of file DQMEDAnalyzer.h.

Referenced by beginRun().

47 { return true; }

◆ globalEndJob()

static void DQMEDAnalyzer::globalEndJob ( DQMEDAnalyzerGlobalCache const *  )
inlinestatic

Definition at line 119 of file DQMEDAnalyzer.h.

119 {}

◆ globalEndLuminosityBlockProduce()

static void DQMEDAnalyzer::globalEndLuminosityBlockProduce ( edm::LuminosityBlock lumi,
edm::EventSetup const &  setup,
LuminosityBlockContext const *  context 
)
inlinestatic

Definition at line 106 of file DQMEDAnalyzer.h.

References visDQMUpload::context.

108  {
109  lumi.emplace(context->global()->lumiToken_);
110  }

◆ globalEndRunProduce()

static void DQMEDAnalyzer::globalEndRunProduce ( edm::Run run,
edm::EventSetup const &  setup,
RunContext const *  context 
)
inlinestatic

Definition at line 115 of file DQMEDAnalyzer.h.

References visDQMUpload::context, and writedatasetfile::run.

115  {
116  run.emplace<DQMToken>(context->global()->runToken_);
117  }

◆ initializeGlobalCache()

static std::unique_ptr<DQMEDAnalyzerGlobalCache> DQMEDAnalyzer::initializeGlobalCache ( edm::ParameterSet const &  )
inlinestatic

Definition at line 51 of file DQMEDAnalyzer.h.

51  {
52  return std::make_unique<DQMEDAnalyzerGlobalCache>();
53  }

◆ meId()

uint64_t DQMEDAnalyzer::meId ( ) const
inlineprotected

Definition at line 130 of file DQMEDAnalyzer.h.

References streamId_.

Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), and endRun().

130 { return (((uint64_t)streamId_) << 32) + this->moduleDescription().id(); }
unsigned int streamId_
unsigned long long uint64_t
Definition: Time.h:13

Member Data Documentation

◆ lumiToken_

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

Definition at line 128 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

◆ runToken_

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

Definition at line 127 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

◆ streamId_

unsigned int DQMEDAnalyzer::streamId_
protected

Definition at line 129 of file DQMEDAnalyzer.h.

Referenced by beginStream(), DQMEDAnalyzer(), and meId().