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 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 L1TdeGCT 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 > MtdGlobalRecoValidation 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 Phase2TrackerMonitorDigi Phase2TrackerValidateDigi PhotonAnalyzer PhotonMonitor PhotonValidatorMiniAOD PhysicsObjectsMonitor PiZeroAnalyzer PrimaryVertexAnalyzer4PUSlimmed PrimaryVertexMonitor PrimaryVertexResolution QcdHighPtDQM QcdPhotonsDQM QcdUeDQM RazorMonitor RCTMonitor RPCDigiValid RPCFEDIntegrity RPCMonitorDigi RPCMonitorRaw RPCPointVsRecHit RPCRecHitProbability RPCRecHitValid RPCTTUMonitor ScoutingAnalyzerBase SegmentTrackAnalyzer SimHitsValidationHcal SiPixelClusterSource SiPixelDigiValid SiPixelHitEfficiencySource SiPixelHLTSource SiPixelPhase1Base 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 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 hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () 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, HTMonitor, RazorMonitor, TopMonitor, PhotonMonitor, DiJetMonitor, ObjMonitor, METMonitor, StandaloneTrackMonitor, 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, 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, EcalDigisValidation, PFClusterValidation, EcalEndcapDigisValidation, EcalBarrelDigisValidation, CaloTowersValidation, SiPixelPhase1Base, HcalCollapseAnalyzer, CaloTowersAnalyzer, HiggsValidation, BasicHepMCValidation, BPhysicsSpectrum, BPhysicsValidation, DrellYanValidation, BasicHepMCHeavyIonValidation, TauValidation, EcalFEDMonitorTemp< SUBDET >, ZDCTask, FCDTask, ZDCQIE10Task, PFCandidateDQMAnalyzer, PFJetDQMAnalyzer, PFMETDQMAnalyzer, PFMuonDQMAnalyzer, TauTagValidation, QcdUeDQM, TauValidationMiniAOD, BDHadronTrackMonitoringAnalyzer, dEdxAnalyzer, dEdxHitAnalyzer, HLTHiggsValidator, BTagPerformanceAnalyzerMC, Phase2TrackerValidateDigi, BTagPerformanceAnalyzerOnData, Phase2TrackerMonitorDigi, RPCFEDIntegrity, SiPixelPhase1GeometryDebug, DTCalibValidationFromMuons, DTCalibValidation, DTSegmentAnalysisTask, DTOccupancyEfficiency, CSCOfflineMonitor, MuonTrackAnalyzer, MuonDTDigis, DTChamberEfficiency, DTRunConditionVar, EfficiencyAnalyzer, PhysicsObjectsMonitor, RPCRecHitValid, RPCPointVsRecHit, GEMEfficiencyAnalyzer, 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, HcalSimHitStudy, ElectronMcFakeValidator, EcalPreshowerNoiseDistrib, HLTTauDQMOfflineSource, DQMSourcePi0, SimHitsValidationHcal, SiPixelRecHitsValid, TrackerHitAnalyzer, L1TPUM, DQMSourceEleCalib, DQMHcalDiJetsAlCaReco, DQMHcalIsolatedBunchAlCaReco, ElectronMcSignalValidator, L1TMP7ZeroSupp, ElectronTagProbeAnalyzer, ESTrendTask, L1THIonImp, ElectronDqmAnalyzerBase, ElectronGeneralAnalyzer, L1TStage2CaloLayer2, SiPixelDigiValid, ScoutingAnalyzerBase, ESFEDIntegrityTask, RPCDigiValid, SiStripDigiValid, L1TScalersSCAL, ESRawDataTask, ME0BaseValidation, GEMBaseValidation, ME0SegmentsValidation, GEMCheckGeometry, ME0RecHitsValidation, ME0DigisValidation, ME0HitsValidation, PackedCandidateTrackValidator, BeamHaloAnalyzer, GlobalRecHitsAnalyzer, MuonTrackValidator, PrimaryVertexAnalyzer4PUSlimmed, GlobalDigisAnalyzer, HLTObjectsMonitor, EgHLTOfflineSource, L1GtHwValidation, ZToMuMuGammaAnalyzer, PhotonAnalyzer, V0Validator, JetAnalyzer, L1TStage2uGTCaloLayer2Comp, SMPDQM, ECALRecHitAnalyzer, JetAnalyzer_HeavyIons, JetAnalyzer_HeavyIons_matching, HGCalSimHitValidation, PiZeroAnalyzer, GlobalHitsAnalyzer, GlobalHitsHistogrammer, GlobalHitsTester, JetTester_HeavyIons, RCTMonitor, TrackingMonitor, JetMETHLTOfflineSource, L1TdeStage2CaloLayer2, SiStripCMMonitorPlugin, HGCalDigiValidation, L1Validator, MuIsoValidation, SiStripMonitorTrack, HcalDigisValidation, HGCalHitValidation, MuonIsolationDQM, SiPixelClusterSource, FSQDiJetAve, ECALMultifitAnalyzer_HI, MuonIdVal, HGCalRecHitValidation, L1TStage2BMTF, BtlLocalRecoValidation, SusyDQM< Mu, Ele, Jet, Met >, HLTJetMETValidation, BtlSimHitsValidation, MuonSimHitsValidAnalyzer, TTbar_Kinematics, TTbarSpinCorrHepMCAnalyzer, SiPixelRecHitSource, TTbar_GenJetAnalyzer, GlobalRecHitsHistogrammer, RPCTTUMonitor, B2GDoubleLeptonHLTValidation, B2GHadronicHLTValidation, B2GSingleLeptonHLTValidation, TTbar_GenLepAnalyzer, GlobalDigisHistogrammer, HLXMonitor, SiStripSpyMonitorModule, HLTInclusiveVBFSource, SiPixelTrackResidualSource, SiStripMonitorCluster, MuonIdDQM, PrimaryVertexResolution, METTester, HGCGeometryValidation, EtlSimHitsValidation, HGCalHitCalibration, HGCalShowerSeparation, PhotonValidatorMiniAOD, L1TStage2uGT, SiPixelHLTSource, MonitorTrackResidualsBase< pixel_or_strip >, DQMHcalIsoTrackAlCaReco, EcalZmassTask, MuonRecoOneHLT, SiPixelHitEfficiencySource, ClusterCount, HLTBTagPerformanceAnalyzer, NoiseRates, GlobalTest, HcalNoiseRates, BtlDigiHitsValidation, TopDiLeptonDQM, MtdGlobalRecoValidation, ElectronConversionRejectionValidator, JetTester, TrackEfficiencyMonitor, DuplicationChecker, L1TStage2uGTTiming, TrackSplittingMonitor, LaserAlignmentT0ProducerDQM, TriggerMatchMonitor, L1TStage2OMTF, EwkDQM, EtlLocalRecoValidation, MBUEandQCDValidation, EtlDigiHitsValidation, ECALpedestalPCLworker, L1TObjectsTiming, MuonPFAnalyzer, NanoAODDQM, BasicGenParticleValidation, HGCalTriggerValidator, DiMuonHistograms, MuonKinVsEtaAnalyzer, HLTVertexPerformanceAnalyzer, SiPixelPhase1TrackingParticleV, BxTiming, EwkMuLumiMonitorDQM, TrackingRecoMaterialAnalyser, MuonRecoAnalyzer, QcdPhotonsDQM, TkAlCaRecoMonitor, DemoNormalDQMEDAnalyzer, MixCollectionValidation, PFCandidateAnalyzerDQM, SiPixelPhase1HitsV, MuonEnergyDepositAnalyzer, MuonSeedsAnalyzer, WValidation, DTPreCalibrationTask, EcalPileUpDepMonitor, SegmentTrackAnalyzer, L1TdeGCT, L1TDEMON, BPhysicsOniaDQM, MuonTiming, HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >, DTSegmentsTask, MuonMiniAOD, SiStripBaselineValidator, DTtTrigDBValidation, SUSYDQMAnalyzer, PrimaryVertexMonitor, SiPixelPhase1DigisV, SiPixelPhase1RecHitsV, EwkMuDQM, HLTFiltersDQMonitor, EgammaSuperClusters, SiStripFEDDumpPlugin, HCALRecHitAnalyzer, ESTimingTask, MonitorLTC, CaloTowerAnalyzer, EgammaBasicClusters, OuterTrackerMonitorTrackingParticles, RPCMonitorRaw, RPCMonitorDigi, SiStripMonitorFilter, SiStripMonitorHLT, ElectronMcSignalValidatorMiniAOD, QcdHighPtDQM, DQMMessageLogger, EcalTBValidation, CSCDigiValidation, L1TStage2uGMT, RPCRecHitProbability, HiBasicGenTest, SiPixelPhase1TrackClustersV, PFJetAnalyzerDQM, L1TStage2MuonComp, L1TStage2RegionalMuonCandComp, L1TStage2uGMTMuon, OuterTrackerMonitorTTTrack, CSCRecHitValidation, OuterTrackerMonitorTTCluster, OuterTrackerMonitorTTStub, ESRecoSummary, TrackingTruthValid, ESPedestalTask, L1TdeStage2EMTF, DiJetVarAnalyzer, OffsetAnalyzerDQM, CandidateBenchmarkAnalyzer, MatchMETBenchmarkAnalyzer, METBenchmarkAnalyzer, PFCandidateBenchmarkAnalyzer, PFCandidateManagerAnalyzer, GEMSimHitValidation, RazorVarAnalyzer, DQMHOAlCaRecoStream, ScoutingTestAnalyzer, GEMRecHitValidation, AlphaTVarAnalyzer, GEMCoPadDigiValidation, GEMPadDigiClusterValidation, GEMPadDigiValidation, and GEMStripDigiValidation.

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, HLTBTagPerformanceAnalyzer, Phase2TrackerValidateDigi, Phase2TrackerMonitorDigi, 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, TrackingRecoMaterialAnalyser, WValidation, BasicHepMCHeavyIonValidation, DrellYanValidation, 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, JetTester_HeavyIons, HGCalSimHitValidation, CSCOfflineMonitor, GlobalHitsHistogrammer, GlobalHitsTester, PiZeroAnalyzer, RCTMonitor, TauTagValidation, TrackingMonitor, L1Validator, MuIsoValidation, SiStripCMMonitorPlugin, MuonIsolationDQM, HGCalDigiValidation, MuonTrackAnalyzer, HGCalHitValidation, SiPixelClusterSource, HcalRecHitsAnalyzer, ZdcSimHitStudy, DTChamberEfficiency, ECALMultifitAnalyzer_HI, MuonIdVal, HGCalRecHitValidation, DTLocalTriggerSynchTask, HcalDigisValidation, HcalRecHitsValidation, BtlLocalRecoValidation, DTCalibValidationFromMuons, GlobalRecHitsHistogrammer, MuonSimHitsValidAnalyzer, QcdUeDQM, RPCTTUMonitor, B2GDoubleLeptonHLTValidation, B2GHadronicHLTValidation, B2GSingleLeptonHLTValidation, GlobalDigisHistogrammer, BtlSimHitsValidation, TauValidationMiniAOD, SusyDQM< Mu, Ele, Jet, Met >, SiStripSpyMonitorModule, BPHMonitor, MuonDTDigis, DTTriggerEfficiencyTask, SiStripMonitorCluster, HcalCollapseAnalyzer, MuonIdDQM, HLXMonitor, HLTInclusiveVBFSource, METTester, PFClusterValidation, DTCalibValidation, DTSegmentAnalysisTask, L1TFED, SiPixelTrackResidualSource, BDHadronTrackMonitoringAnalyzer, PhotonValidatorMiniAOD, DTRunConditionVar, PrimaryVertexResolution, DQMExample_Step1, DTDataIntegrityROSOffline, SiPixelHLTSource, MonitorTrackResidualsBase< pixel_or_strip >, MuonRecoOneHLT, HGCGeometryValidation, ZCounting, HGCalHitCalibration, HGCalShowerSeparation, EtlSimHitsValidation, DQMHcalIsoTrackAlCaReco, EcalZmassTask, HiggsDQM, SiPixelHitEfficiencySource, ClusterCount, V0Monitor, HcalNoiseRates, SUSY_HLT_Razor, TrackEfficiencyMonitor, HTMonitor, GlobalTest, JetTester, CaloTowersAnalyzer, RazorMonitor, TopMonitor, TrackSplittingMonitor, StandaloneTrackMonitor, HotlineDQM, NoiseRates, BtlDigiHitsValidation, DTDataIntegrityUrosOffline, TriggerMatchMonitor, NanoAODDQM, MtdGlobalRecoValidation, TopDiLeptonDQM, dEdxAnalyzer, LaserAlignmentT0ProducerDQM, PhotonMonitor, HGCalTriggerValidator, dEdxHitAnalyzer, DQMScalInfo, BTagPerformanceAnalyzerMC, MuonPFAnalyzer, DiJetMonitor, SUSY_HLT_alphaT, EwkMuLumiMonitorDQM, ElectronAnalyzer, DiMuonHistograms, EfficiencyAnalyzer, MuonKinVsEtaAnalyzer, HLTVertexPerformanceAnalyzer, SUSY_HLT_MuEle_Hadronic, EtlLocalRecoValidation, PFCandidateAnalyzerDQM, ECALpedestalPCLworker, MuonRecoAnalyzer, ObjMonitor, SUSY_HLT_DiJet_MET, SUSY_HLT_ElecFakes, SUSY_HLT_Muon_Hadronic, SUSY_HLT_MuonFakes, SUSY_HLT_VBF_Mu, EtlDigiHitsValidation, EwkDQM, DTOccupancyEfficiency, MuonEnergyDepositAnalyzer, MuonSeedsAnalyzer, ElectronMcFakeValidator, EcalFEDMonitorTemp< SUBDET >, PhysicsObjectsMonitor, TkAlCaRecoMonitor, EcalPileUpDepMonitor, SegmentTrackAnalyzer, METMonitor, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, SimHitsValidationHcal, MixCollectionValidation, MuonTiming, DemoNormalDQMEDAnalyzer, CaloTowersValidation, EwkMuDQM, QcdPhotonsDQM, DQMSourcePi0, DTPreCalibrationTask, DTSegmentsTask, MuonMiniAOD, MuonMonitor, SUSY_HLT_PhotonHT, SUSY_HLT_PhotonMET, HcalSimHitStudy, SiStripBaselineValidator, BTagPerformanceAnalyzerOnData, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, BPhysicsOniaDQM, METplusTrackMonitor, DTtTrigDBValidation, HCALRecHitAnalyzer, SUSYDQMAnalyzer, PrimaryVertexMonitor, SUSY_HLT_InclusiveHT, TrackTypeMonitor, HeavyIonUCCDQM, EgammaSuperClusters, SiStripFEDDumpPlugin, DQMHcalDiJetsAlCaReco, DQMHcalIsolatedBunchAlCaReco, CaloTowerAnalyzer, JetMonitor, RPCRecHitValid, RPCFEDIntegrity, MonitorLTC, DQMSourceEleCalib, DQMMessageLogger, EgammaBasicClusters, ElectronMcSignalValidator, OuterTrackerMonitorTrackingParticles, RPCMonitorRaw, RPCMonitorDigi, SiStripMonitorFilter, SiStripMonitorHLT, ElectronTagProbeAnalyzer, EventShapeDQM, PFJetAnalyzerDQM, ESTimingTask, ZDCTask, ElectronGeneralAnalyzer, TagAndProbeBtagTriggerMonitor, HiBasicGenTest, FCDTask, RPCRecHitProbability, DiDispStaMuonMonitor, NoBPTXMonitor, ElectronMcSignalValidatorMiniAOD, ESTrendTask, QcdHighPtDQM, ElectronDqmAnalyzerBase, CSCDigiValidation, RPCPointVsRecHit, ESRawDataTask, OuterTrackerMonitorTTTrack, RPCDigiValid, OuterTrackerMonitorTTCluster, OuterTrackerMonitorTTStub, BenchmarkAnalyzer, OffsetAnalyzerDQM, PFCandidateDQMAnalyzer, PFJetDQMAnalyzer, PFMETDQMAnalyzer, PFMuonDQMAnalyzer, Tau3MuMonitor, CSCRecHitValidation, L1TScalersSCAL, ESRecoSummary, ESFEDIntegrityTask, ME0SegmentsValidation, ESPedestalTask, GEMEfficiencyAnalyzer, CandidateBenchmarkAnalyzer, METBenchmarkAnalyzer, PFCandidateBenchmarkAnalyzer, PFCandidateManagerAnalyzer, DiJetVarAnalyzer, ZDCQIE10Task, GEMOfflineMonitor, MatchMETBenchmarkAnalyzer, GEMCheckGeometry, DQMHOAlCaRecoStream, GEMSimHitValidation, ME0RecHitsValidation, RazorVarAnalyzer, ME0DigisValidation, ScoutingTestAnalyzer, GEMCoPadDigiValidation, GEMPadDigiClusterValidation, GEMPadDigiValidation, GEMStripDigiValidation, GEMRecHitValidation, AlphaTVarAnalyzer, ME0HitsValidation, SiStripMonitorTrack, SiPixelRecHitSource, L1TStage2uGTCaloLayer2Comp, L1TStage2BMTF, L1TdeStage2CaloLayer2, L1TStage2OMTF, L1TObjectsTiming, HLTHiggsValidator, L1TMP7ZeroSupp, L1TStage2CaloLayer2, L1TStage2uGMT, L1TStage2MuonComp, L1TStage2RegionalMuonCandComp, L1TStage2uGMTMuon, 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, HGCGeometryValidation, ZCounting, EcalBarrelDigisValidation, 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, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, EcalFEDMonitorTemp< SUBDET >, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, L1TTauOffline, L1TMuonDQMOffline, SUSY_HLT_SingleLepton, HcalDigisValidation, SiStripMonitorTrack, HcalRecHitsAnalyzer, SiPixelTrackResidualSource, SiPixelHitEfficiencySource, DTCalibValidationFromMuons, DTCalibValidation, MBUEandQCDValidation, HiggsValidation, BasicHepMCValidation, WValidation, DrellYanValidation, TauValidation, HLTTauDQMOfflineSource, ESTrendTask, HiBasicGenTest, HLTBTagPerformanceAnalyzer, HLTHiggsValidator, HLTVertexPerformanceAnalyzer, SiPixelClusterSource, SiPixelRecHitSource, SiPixelHLTSource, JetAnalyzer, EmDQMReco, HGCalSimHitValidation, TauTagValidation, HGCalDigiValidation, DTLocalTriggerSynchTask, HGCalRecHitValidation, DTChamberEfficiency, 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:42
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
dqm::legacy::DQMStore::IBooker
dqm::implementation::IBooker IBooker
Definition: DQMStore.h:729
DQMToken
Definition: DQMToken.h:21
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:44
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
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