CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
DQMEDAnalyzer Class Referenceabstract

#include <DQMEDAnalyzer.h>

Inheritance diagram for DQMEDAnalyzer:
edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase B2GDQM B2GHadronicHLTValidation B2GSingleLeptonHLTValidation BasicGenParticleValidation BasicHepMCHeavyIonValidation BasicHepMCValidation BeamHaloAnalyzer BenchmarkAnalyzer CaloTowerAnalyzer CaloTowersAnalyzer CaloTowersValidation CentralityDQM CSCDigiValidation CSCMonitorModule CSCOfflineMonitor CSCRecHitValidation dEdxAnalyzer Digi2Raw2Digi DiMuonHistograms DQMDcsInfo DQMEventInfo DQMExample_Step1 DQMHcalDiJetsAlCaReco DQMHcalPhiSymAlCaReco DQMHOAlCaRecoStream DQMSourceEleCalib DQMSourcePi0 DrellYanValidation DTSegmentsTask DuplicationChecker EcalDQMonitorTask EcalFEDMonitorTemp< SUBDET > EcalPileUpDepMonitor ECALRecHitAnalyzer EcalZmassTask EmDQM EmDQMReco ESFEDIntegrityTask ESIntegrityTask ESOccupancyTask ESPedestalTask ESRawDataTask ESRecoSummary ESTimingTask ESTrendTask ExoticaDQM GeneralHLTOffline GlobalDigisAnalyzer GlobalHitsAnalyzer GlobalRecHitsAnalyzer HcalBaseDQMonitor HcalMonitorModule HcalNoiseRates HCALRecHitAnalyzer HcalSimHitStudy HcalSimHitsValidation HcalTimingMonitorModule HeavyFlavorValidation HiggsDQM HiggsValidation HigPhotonJetHLTOfflineSource HLTMuonOfflineAnalyzer HLTMuonValidator HLTTauDQMOfflineSource HTMHTAnalyzer L1TFED L1Validator LogMessageMonitor MBUEandQCDValidation METTester MixCollectionValidation MonitorLTC MultiTrackValidator MuonDTDigis MuonEnergyDepositAnalyzer MuonIsolationDQM MuonPFAnalyzer MuonSeedsAnalyzer MuonSimHitsValidAnalyzer NoiseRates PerformanceAnalyzer PFCandidateDQMAnalyzer PFJetDQMAnalyzer PFMETDQMAnalyzer PFMuonDQMAnalyzer PhotonAnalyzer PiZeroAnalyzer PrimaryVertexAnalyzer4PUSlimmed QcdPhotonsDQM RPCDcsInfo RPCDigiValid RPCEfficiency RPCFEDIntegrity RPCMonitorDigi RPCMonitorLinkSynchro RPCMonitorRaw RPCPointVsRecHit RPCRecHitProbability RPCRecHitValid RPCTTUMonitor SimHitsValidationHcal SingleTopTChannelLeptonDQM SiPixelClusterSource SiPixelDigiSource SiPixelDigiValid SiPixelHLTSource SiPixelRawDataErrorSource SiPixelRecHitsValid SiStripBaselineValidator SiStripCMMonitorPlugin SiStripDigiValid SiStripFEDCheckPlugin SiStripFEDDumpPlugin SiStripFEDMonitorPlugin SiStripMonitorFilter SiStripMonitorHLT SiStripMonitorPedestals SiStripMonitorRawData SiStripRecHitsValid SiStripSpyMonitorModule SUSY_HLT_alphaT SUSY_HLT_DiJet_MET SUSY_HLT_DoubleEle_Hadronic SUSY_HLT_DoubleMuon_Hadronic SUSY_HLT_Electron_BJet SUSY_HLT_InclusiveHT SUSY_HLT_MuEle_Hadronic SUSY_HLT_Muon_BJet SUSY_HLT_Muon_Hadronic SUSY_HLT_PhotonHT SUSY_HLT_Razor SUSY_HLT_SingleLepton SUSYDQMAnalyzer TauTagValidation TauValidation TopDiLeptonHLTValidation TopDiLeptonOfflineDQM TopSingleLeptonDQM TopSingleLeptonHLTValidation TrackEfficiencyMonitor TrackerHitAnalyzer TrackingMonitor TrackingTruthValid TrackSplittingMonitor TriggerRatesMonitor TTbar_GenJetAnalyzer TTbar_GenLepAnalyzer TTbar_Kinematics TTbarSpinCorrHepMCAnalyzer V0Validator WValidation ZDCDigiStudy ZdcSimHitStudy ZToMuMuGammaAnalyzer

Public Member Functions

virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void bookHistograms (DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Static Public Member Functions

static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Attributes

uint32_t stream_id_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Protected Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 20 of file DQMEDAnalyzer.h.

Constructor & Destructor Documentation

DQMEDAnalyzer::DQMEDAnalyzer ( void  )

Definition at line 10 of file DQMEDAnalyzer.cc.

10 {}

Member Function Documentation

void DQMEDAnalyzer::beginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
finalvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 17 of file DQMEDAnalyzer.cc.

References b, bookHistograms(), DQMStore::bookTransaction(), dqmBeginRun(), edm::ModuleDescription::id(), edm::Run::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), cppFunctionSkipper::operator, edm::RunBase::run(), and streamId().

18  {
19  dqmBeginRun(iRun, iSetup);
21  store->bookTransaction([this, &iRun, &iSetup](DQMStore::IBooker &b) {
22  this->bookHistograms(b, iRun, iSetup);
23  },
24  iRun.run(),
25  streamId(),
26  iRun.moduleCallingContext()->moduleDescription()->id());
27 }
virtual void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &)=0
uint32_t streamId() const
Definition: DQMEDAnalyzer.h:51
virtual void dqmBeginRun(edm::Run const &, edm::EventSetup const &)
Definition: DQMEDAnalyzer.h:52
double b
Definition: hdecay.h:120
void DQMEDAnalyzer::beginStream ( edm::StreamID  id)
finalvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 12 of file DQMEDAnalyzer.cc.

References stream_id_.

13 {
14  stream_id_ = id.value();
15 }
uint32_t stream_id_
Definition: DQMEDAnalyzer.h:56
virtual void DQMEDAnalyzer::bookHistograms ( DQMStore::IBooker i,
edm::Run const &  ,
edm::EventSetup const &   
)
pure virtual

Implemented in TopDiLeptonOfflineDQM, SingleTopTChannelLeptonDQM, TopSingleLeptonDQM, HcalDetDiagLaserMonitor, BeamHaloAnalyzer, HcalDetDiagPedestalMonitor, GlobalRecHitsAnalyzer, CSCMonitorModule, SiStripRecHitsValid, PrimaryVertexAnalyzer4PUSlimmed, GlobalDigisAnalyzer, ExoticaDQM, HcalDetDiagLEDMonitor, HcalDetDiagTimingMonitor, PhotonAnalyzer, ZToMuMuGammaAnalyzer, RPCEfficiency, B2GDQM, EmDQMReco, V0Validator, ECALRecHitAnalyzer, GlobalHitsAnalyzer, PiZeroAnalyzer, CSCOfflineMonitor, EmDQM, HcalTimingMonitorModule, TauTagValidation, SiStripCMMonitorPlugin, HcalDigiMonitor, MuonIsolationDQM, TriggerRatesMonitor, SiStripFEDMonitorPlugin, LogMessageMonitor, MuonSimHitsValidAnalyzer, SiPixelClusterSource, L1Validator, SiStripFEDCheckPlugin, SiStripMonitorPedestals, SiPixelRawDataErrorSource, SiStripSpyMonitorModule, TTbar_Kinematics, TopDiLeptonHLTValidation, ZdcSimHitStudy, RPCTTUMonitor, TauValidation, TTbar_GenJetAnalyzer, TTbarSpinCorrHepMCAnalyzer, MuonDTDigis, TrackingMonitor, HeavyFlavorValidation, HigPhotonJetHLTOfflineSource, DQMExample_Step1, B2GHadronicHLTValidation, B2GSingleLeptonHLTValidation, SUSY_HLT_SingleLepton, TopSingleLeptonHLTValidation, TTbar_GenLepAnalyzer, METTester, SiPixelDigiSource, GeneralHLTOffline, L1TFED, DQMSourcePi0, SiPixelHLTSource, ZDCDigiStudy, HLTMuonOfflineAnalyzer, HiggsDQM, TrackEfficiencyMonitor, TrackSplittingMonitor, HLTMuonValidator, SiStripMonitorRawData, dEdxAnalyzer, EcalZmassTask, HcalNoiseRates, DuplicationChecker, MuonPFAnalyzer, HcalSimHitsValidation, SUSY_HLT_DiJet_MET, SUSY_HLT_MuEle_Hadronic, SUSY_HLT_Muon_Hadronic, DQMEventInfo, SUSY_HLT_alphaT, HcalDetDiagNoiseMonitor, NoiseRates, MBUEandQCDValidation, DiMuonHistograms, MuonEnergyDepositAnalyzer, SUSY_HLT_DoubleEle_Hadronic, SUSY_HLT_Electron_BJet, BasicGenParticleValidation, MuonSeedsAnalyzer, SUSY_HLT_Razor, HiggsValidation, HcalDataIntegrityTask, SiStripBaselineValidator, CaloTowersAnalyzer, HcalMonitorModule, HcalRawDataMonitor, EcalPileUpDepMonitor, HTMHTAnalyzer, DQMDcsInfo, SUSY_HLT_DoubleMuon_Hadronic, SUSY_HLT_Muon_BJet, CaloTowersValidation, WValidation, SiPixelRecHitsValid, HcalBaseDQMonitor, DQMSourceEleCalib, BasicHepMCHeavyIonValidation, DrellYanValidation, SUSY_HLT_PhotonHT, BasicHepMCValidation, SimHitsValidationHcal, MixCollectionValidation, EcalFEDMonitorTemp< SUBDET >, HcalDeadCellMonitor, QcdPhotonsDQM, DQMHcalDiJetsAlCaReco, DTSegmentsTask, HcalHotCellMonitor, MonitorLTC, SUSY_HLT_InclusiveHT, TrackerHitAnalyzer, RPCFEDIntegrity, RPCMonitorDigi, DQMHcalPhiSymAlCaReco, HCALRecHitAnalyzer, HcalSimHitStudy, SiStripMonitorFilter, SiStripMonitorHLT, HLTTauDQMOfflineSource, RPCDcsInfo, CaloTowerAnalyzer, ESRawDataTask, ESTimingTask, HcalLSbyLSMonitor, RPCRecHitValid, CentralityDQM, SiStripFEDDumpPlugin, SUSYDQMAnalyzer, ESTrendTask, RPCMonitorRaw, RPCRecHitProbability, MultiTrackValidator, RPCMonitorLinkSynchro, HcalBeamMonitor, RPCDigiValid, SiPixelDigiValid, SiStripDigiValid, EcalDQMonitorTask, RPCPointVsRecHit, CSCRecHitValidation, CSCDigiValidation, TrackingTruthValid, ESFEDIntegrityTask, HcalNoiseMonitor, BenchmarkAnalyzer, ESOccupancyTask, ESPedestalTask, HcalRecHitMonitor, HcalTrigPrimMonitor, PFCandidateDQMAnalyzer, PFJetDQMAnalyzer, PFMETDQMAnalyzer, PFMuonDQMAnalyzer, ESIntegrityTask, HcalCoarsePedestalMonitor, ESRecoSummary, CandidateBenchmarkAnalyzer, Digi2Raw2Digi, DQMHOAlCaRecoStream, METBenchmarkAnalyzer, PFCandidateBenchmarkAnalyzer, PFCandidateManagerAnalyzer, HcalNZSMonitor, MatchMETBenchmarkAnalyzer, and PerformanceAnalyzer.

Referenced by beginRun().

virtual void DQMEDAnalyzer::dqmBeginRun ( edm::Run const &  ,
edm::EventSetup const &   
)
inlinevirtual
void DQMEDAnalyzer::endLuminosityBlockSummary ( edm::LuminosityBlock const &  iLumi,
edm::EventSetup const &  iSetup,
dqmDetails::NoCache  
) const
finalvirtual

Definition at line 38 of file DQMEDAnalyzer.cc.

References edm::LuminosityBlockBase::id(), edm::ModuleDescription::id(), LogDebug, edm::LuminosityBlockID::luminosityBlock(), DQMStore::mergeAndResetMEsLuminositySummaryCache(), edm::LuminosityBlock::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), cppFunctionSkipper::operator, edm::LuminosityBlockBase::run(), and stream_id_.

40  {
42  assert(store);
43  LogDebug("DQMEDAnalyzer") << "Merging Lumi local MEs ("
44  << iLumi.run() << ", "
45  << iLumi.id().luminosityBlock() << ", "
46  << stream_id_ << ", "
47  << iLumi.moduleCallingContext()->moduleDescription()->id()
48  << ") into the DQMStore@" << store << std::endl;
49  store->mergeAndResetMEsLuminositySummaryCache(iLumi.run(),
50  iLumi.id().luminosityBlock(),
51  stream_id_,
52  iLumi.moduleCallingContext()->moduleDescription()->id());
53 }
#define LogDebug(id)
uint32_t stream_id_
Definition: DQMEDAnalyzer.h:56
void DQMEDAnalyzer::endRunSummary ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup,
dqmDetails::NoCache  
) const
finalvirtual

Definition at line 55 of file DQMEDAnalyzer.cc.

References edm::ModuleDescription::id(), LogDebug, DQMStore::mergeAndResetMEsRunSummaryCache(), edm::Run::moduleCallingContext(), edm::ModuleCallingContext::moduleDescription(), cppFunctionSkipper::operator, edm::RunBase::run(), and stream_id_.

57  {
59  assert(store);
60  LogDebug("DQMEDAnalyzer") << "Merging Run local MEs ("
61  << iRun.run() << ", "
62  << stream_id_ << ", "
63  << iRun.moduleCallingContext()->moduleDescription()->id()
64  << ") into the DQMStore@" << store << std::endl;
65  store->mergeAndResetMEsRunSummaryCache(iRun.run(),
66  stream_id_,
67  iRun.moduleCallingContext()->moduleDescription()->id());
68 }
#define LogDebug(id)
uint32_t stream_id_
Definition: DQMEDAnalyzer.h:56
std::shared_ptr< dqmDetails::NoCache > DQMEDAnalyzer::globalBeginLuminosityBlockSummary ( edm::LuminosityBlock const &  ,
edm::EventSetup const &  ,
LuminosityBlockContext const *   
)
static

Definition at line 77 of file DQMEDAnalyzer.cc.

80 {
81  return nullptr;
82 }
std::shared_ptr< dqmDetails::NoCache > DQMEDAnalyzer::globalBeginRunSummary ( edm::Run const &  ,
edm::EventSetup const &  ,
RunContext const *   
)
static

Definition at line 31 of file DQMEDAnalyzer.cc.

34 {
35  return nullptr;
36 }
void DQMEDAnalyzer::globalEndLuminosityBlockSummary ( edm::LuminosityBlock const &  ,
edm::EventSetup const &  ,
LuminosityBlockContext const *  ,
dqmDetails::NoCache  
)
static

Definition at line 84 of file DQMEDAnalyzer.cc.

88 {}
void DQMEDAnalyzer::globalEndRunSummary ( edm::Run const &  ,
edm::EventSetup const &  ,
RunContext const *  ,
dqmDetails::NoCache  
)
static

Definition at line 70 of file DQMEDAnalyzer.cc.

74 {}
uint32_t DQMEDAnalyzer::streamId ( ) const
inline

Definition at line 51 of file DQMEDAnalyzer.h.

References stream_id_.

Referenced by beginRun().

51 {return stream_id_;}
uint32_t stream_id_
Definition: DQMEDAnalyzer.h:56

Member Data Documentation

uint32_t DQMEDAnalyzer::stream_id_
private

Definition at line 56 of file DQMEDAnalyzer.h.

Referenced by beginStream(), endLuminosityBlockSummary(), endRunSummary(), and streamId().