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 BasicGenParticleValidation BasicHepMCHeavyIonValidation BasicHepMCValidation BDHadronTrackMonitoringAnalyzer BeamHaloAnalyzer BenchmarkAnalyzer BPHMonitor BPhysicsOniaDQM BPhysicsSpectrum BPhysicsValidation BTagPerformanceAnalyzerMC BTagPerformanceAnalyzerOnData BtlDigiHitsValidation BtlLocalRecoValidation BtlSimHitsValidation BxTiming CaloTowerAnalyzer CaloTowersAnalyzer CaloTowersValidation CentralityDQM CentralitypADQM ClusterCount CSCDigiValidation CSCOfflineMonitor CSCRecHitValidation dEdxAnalyzer dEdxHitAnalyzer DemoNormalDQMEDAnalyzer DiDispStaMuonMonitor DiJetMonitor DiMuonHistograms DQMExample_Step1 DQMHcalDiJetsAlCaReco DQMHcalIsolatedBunchAlCaReco DQMHcalIsoTrackAlCaReco DQMHOAlCaRecoStream DQMMessageLogger DQMScalInfo DQMSourceEleCalib DQMSourcePi0 DrellYanValidation DTCalibValidation DTCalibValidationFromMuons DTChamberEfficiency DTDataIntegrityROSOffline DTDataIntegrityUrosOffline 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 GEMOfflineDQMBase GlobalDigisAnalyzer GlobalDigisHistogrammer GlobalHitsAnalyzer GlobalHitsHistogrammer GlobalHitsTester GlobalRecHitsAnalyzer GlobalRecHitsHistogrammer GlobalTest HcalCollapseAnalyzer HcalDigisValidation HcalNoiseRates HCALRecHitAnalyzer HcalRecHitsAnalyzer HcalRecHitsValidation HcalSimHitStudy HeavyIonUCCDQM HGCalDigiValidation HGCalHitCalibration HGCalHitValidation HGCalRecHitValidation HGCalShowerSeparation HGCalSimHitValidation HGCalTriggerValidator HGCGeometryValidation HiBasicGenTest HiggsDQM HiggsValidation HLTBTagPerformanceAnalyzer HLTFiltersDQMonitor HLTHiggsValidator HLTInclusiveVBFSource HLTJetMETValidation 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 L1TdeGCT L1TdeGEMTPG L1TDEMON L1TdeStage2CaloLayer2 L1TdeStage2EMTF L1TdeStage2uGT L1TDTTF L1TDTTPG L1TFED L1TGCT L1TGMT L1THIonImp L1TMP7ZeroSupp L1TMuonDQMOffline L1TObjectsTiming L1TPUM L1TRCT L1TRPCTF L1TRPCTPG L1TScalersSCAL L1TStage2BMTF L1TStage2CaloLayer2 L1TStage2CaloLayer2Offline L1TStage2MuonComp L1TStage2OMTF L1TStage2RegionalMuonCandComp L1TStage2uGMT L1TStage2uGMTMuon L1TStage2uGT L1TStage2uGTCaloLayer2Comp L1TStage2uGTTiming L1TTauOffline L1Validator LaserAlignmentT0ProducerDQM LepHTMonitor MBUEandQCDValidation ME0BaseValidation METMonitor METplusTrackMonitor METTester MixCollectionValidation MonitorLTC MonitorTrackResidualsBase< pixel_or_strip > 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 PFCandidateAnalyzerDQM PFCandidateDQMAnalyzer PFClusterValidation PFJetAnalyzerDQM PFJetDQMAnalyzer PFMETDQMAnalyzer PFMuonDQMAnalyzer Phase2ITMonitorCluster Phase2ITMonitorRecHit Phase2ITValidateCluster Phase2ITValidateRecHit Phase2OTMonitorCluster Phase2OTValidateCluster Phase2TrackerMonitorDigi Phase2TrackerValidateDigi PhotonAnalyzer PhotonMonitor PhotonValidatorMiniAOD PhysicsObjectsMonitor PiZeroAnalyzer PPSAlignmentWorker PrimaryVertexAnalyzer4PUSlimmed PrimaryVertexMonitor PrimaryVertexResolution QcdHighPtDQM QcdPhotonsDQM QcdUeDQM RazorMonitor RCTMonitor RPCDigiValid RPCFEDIntegrity RPCMonitorDigi RPCMonitorRaw RPCPointVsRecHit RPCRecHitProbability RPCRecHitValid RPCTTUMonitor ScoutingAnalyzerBase SegmentTrackAnalyzer SimHitsValidationHcal SiPixelClusterSource SiPixelDigiValid SiPixelHitEfficiencySource SiPixelHLTSource SiPixelPhase1Base SiPixelRawDataErrorSource SiPixelRecHitSource SiPixelRecHitsValid SiPixelTrackResidualSource SiStripBaselineValidator SiStripCMMonitorPlugin SiStripDigiValid SiStripFEDDumpPlugin 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 TrackEfficiencyMonitor TrackerHitAnalyzer TrackingMonitor TrackingRecoMaterialAnalyser TrackingTruthValid TrackSplittingMonitor TrackToTrackComparisonHists TrackTypeMonitor TriggerMatchMonitor TTbar_GenJetAnalyzer TTbar_GenLepAnalyzer TTbar_Kinematics TTbarSpinCorrHepMCAnalyzer V0Monitor V0Validator WValidation ZCounting ZDCQIE10Task ZdcSimHitStudy ZDCTask ZToMuMuGammaAnalyzer

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 >
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache 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
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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.

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  }

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

Member Function Documentation

◆ accumulate()

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

Definition at line 99 of file DQMEDAnalyzer.h.

99 { analyze(event, setup); }

References analyze(), and singleTopDQM_cfi::setup.

◆ analyze()

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

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

Definition at line 123 of file DQMEDAnalyzer.h.

123 {}

Referenced by accumulate().

◆ beginLuminosityBlock()

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

Definition at line 95 of file DQMEDAnalyzer.h.

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

References meId().

◆ beginRun()

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

Definition at line 77 of file DQMEDAnalyzer.h.

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  }

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

◆ beginStream()

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

Definition at line 62 of file DQMEDAnalyzer.h.

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  }

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

◆ bookHistograms()

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

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

Referenced by beginRun().

◆ dqmBeginRun()

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

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

Definition at line 121 of file DQMEDAnalyzer.h.

121 {}

Referenced by beginRun().

◆ endLuminosityBlock()

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

Definition at line 101 of file DQMEDAnalyzer.h.

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

References meId().

◆ endRun()

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

Definition at line 111 of file DQMEDAnalyzer.h.

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

References meId(), and writedatasetfile::run.

◆ getCanSaveByLumi()

virtual bool DQMEDAnalyzer::getCanSaveByLumi ( )
inlinevirtual

Definition at line 47 of file DQMEDAnalyzer.h.

47 { return true; }

Referenced by beginRun().

◆ globalEndJob()

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

Definition at line 118 of file DQMEDAnalyzer.h.

118 {}

◆ globalEndLuminosityBlockProduce()

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

Definition at line 105 of file DQMEDAnalyzer.h.

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

References edm::stream::LuminosityBlockContextT< L, R, G >::global().

◆ globalEndRunProduce()

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

Definition at line 114 of file DQMEDAnalyzer.h.

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

References edm::stream::RunContextT< R, G >::global(), and writedatasetfile::run.

◆ 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 129 of file DQMEDAnalyzer.h.

129 { return (((uint64_t)streamId_) << 32) + this->moduleDescription().id(); }

References streamId_.

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

Member Data Documentation

◆ lumiToken_

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

Definition at line 127 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

◆ runToken_

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

Definition at line 126 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

◆ streamId_

unsigned int DQMEDAnalyzer::streamId_
protected

Definition at line 128 of file DQMEDAnalyzer.h.

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

DQMEDAnalyzer::getCanSaveByLumi
virtual bool getCanSaveByLumi()
Definition: DQMEDAnalyzer.h:47
cms::cuda::assert
assert(be >=bs)
edm::StreamID::value
unsigned int value() const
Definition: StreamID.h:43
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
DQMToken
Definition: DQMToken.h:21
dqm::implementation::NavigatorBase::cd
virtual void cd()
Definition: DQMStore.cc:29
DQMEDAnalyzer::runToken_
edm::EDPutTokenT< DQMToken > runToken_
Definition: DQMEDAnalyzer.h:126
DQMEDAnalyzer::lumiToken_
edm::EDPutTokenT< DQMToken > lumiToken_
Definition: DQMEDAnalyzer.h:127
CommonMethods.lock
def lock()
Definition: CommonMethods.py:82
edm::StreamID::invalidStreamID
static StreamID invalidStreamID()
Definition: StreamID.h:45
edm::Service
Definition: Service.h:30
DQMEDAnalyzer::analyze
virtual void analyze(edm::Event const &, edm::EventSetup const &)
Definition: DQMEDAnalyzer.h:123
DQMEDAnalyzer::bookHistograms
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
writedatasetfile.run
run
Definition: writedatasetfile.py:27
relativeConstraints.value
value
Definition: relativeConstraints.py:53
edm::EDPutTokenT::isUninitialized
bool isUninitialized() const
Definition: EDPutToken.h:78
dqm::implementation::IBooker
Definition: DQMStore.h:43
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
DQMEDAnalyzer::meId
uint64_t meId() const
Definition: DQMEDAnalyzer.h:129
DQMEDAnalyzer::streamId_
unsigned int streamId_
Definition: DQMEDAnalyzer.h:128
event
Definition: event.py:1
lumi
Definition: LumiSectionData.h:20
DQMEDAnalyzer::dqmBeginRun
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQMEDAnalyzer.h:121