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 | 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 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 GEMEffByGEMCSCSegmentSource GEMOfflineDQMBase 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 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 L1TPhase2OuterTrackerTkMET 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 MiniAODTaggerAnalyzer 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 Phase2ITValidateRecHitBase Phase2OTMonitorCluster Phase2OTMonitorRecHit Phase2OTValidateCluster Phase2OTValidateRecHitBase Phase2TrackerMonitorDigi Phase2TrackerValidateDigi PhotonAnalyzer PhotonMonitor PhotonValidatorMiniAOD PhysicsObjectsMonitor PiZeroAnalyzer PPSAlignmentWorker Primary4DVertexValidation PrimaryVertexAnalyzer4PUSlimmed PrimaryVertexMonitor PrimaryVertexResolution QcdHighPtDQM QcdPhotonsDQM QcdUeDQM RazorMonitor RCTMonitor RPCDigiValid RPCFEDIntegrity RPCMonitorDigi RPCMonitorRaw RPCPointVsRecHit RPCRecHitProbability RPCRecHitValid RPCTTUMonitor ScoutingAnalyzerBase SegmentTrackAnalyzer SimHitsValidationHcal SiPixelClusterSource SiPixelDigiValid SiPixelHitEfficiencySource SiPixelHLTSource SiPixelLorentzAnglePCLWorker 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

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
< DQMEDAnalyzerGlobalCache
initializeGlobalCache (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

Definition at line 44 of file DQMEDAnalyzer.h.

Definition at line 45 of file DQMEDAnalyzer.h.

Constructor & Destructor Documentation

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

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

Definition at line 99 of file DQMEDAnalyzer.h.

References analyze(), edmPickEvents::event, and GeneralSetup::setup().

99 { analyze(event, setup); }
virtual void analyze(edm::Event const &, edm::EventSetup const &)
virtual void DQMEDAnalyzer::analyze ( edm::Event const &  ,
edm::EventSetup const &   
)
inlinevirtual

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

Definition at line 123 of file DQMEDAnalyzer.h.

Referenced by accumulate().

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

Definition at line 95 of file DQMEDAnalyzer.h.

References dqmdumpme::lumi, and meId().

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

Referenced by beginRun().

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

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

Definition at line 121 of file DQMEDAnalyzer.h.

Referenced by beginRun().

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

Definition at line 101 of file DQMEDAnalyzer.h.

References dqmdumpme::lumi, and meId().

101  {
102  edm::Service<DQMStore>()->leaveLumi(lumi.run(), lumi.luminosityBlock(), meId());
103  }
uint64_t meId() const
list lumi
Definition: dqmdumpme.py:53
void DQMEDAnalyzer::endRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
inlinefinal

Definition at line 111 of file DQMEDAnalyzer.h.

References meId(), and submitPVValidationJobs::run.

111  {
112  edm::Service<DQMStore>()->leaveLumi(run.run(), /* lumi */ 0, meId());
113  }
uint64_t meId() const
virtual bool DQMEDAnalyzer::getCanSaveByLumi ( )
inlinevirtual

Definition at line 47 of file DQMEDAnalyzer.h.

Referenced by beginRun().

47 { return true; }
static void DQMEDAnalyzer::globalEndJob ( DQMEDAnalyzerGlobalCache const *  )
inlinestatic

Definition at line 118 of file DQMEDAnalyzer.h.

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

Definition at line 105 of file DQMEDAnalyzer.h.

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

107  {
108  lumi.emplace(context->global()->lumiToken_);
109  }
void emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
static void DQMEDAnalyzer::globalEndRunProduce ( edm::Run run,
edm::EventSetup const &  setup,
RunContext const *  context 
)
inlinestatic

Definition at line 114 of file DQMEDAnalyzer.h.

References edm::Run::emplace(), and edm::stream::RunContextT< R, G >::global().

114  {
115  run.emplace<DQMToken>(context->global()->runToken_);
116  }
void emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
Definition: Run.h:248
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  }
uint64_t DQMEDAnalyzer::meId ( ) const
inlineprotected

Definition at line 129 of file DQMEDAnalyzer.h.

References streamId_.

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

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

Member Data Documentation

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

Definition at line 127 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

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

Definition at line 126 of file DQMEDAnalyzer.h.

Referenced by beginStream(), and DQMEDAnalyzer().

unsigned int DQMEDAnalyzer::streamId_
protected

Definition at line 128 of file DQMEDAnalyzer.h.

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