CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
dqm::implementation::IBooker Class Reference

#include <DQMStore.h>

Inheritance diagram for dqm::implementation::IBooker:
dqm::implementation::NavigatorBase dqm::implementation::DQMStore dqm::legacy::DQMStore

Classes

struct  NOOP
 
struct  UseScope
 

Public Types

using UseJobScope = UseScope< MonitorElementData::Scope::JOB >
 
using UseLumiScope = UseScope< MonitorElementData::Scope::LUMI >
 
using UseRunScope = UseScope< MonitorElementData::Scope::RUN >
 

Public Member Functions

template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1D (TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1D (TString const &name, TString const &title, int nchX, float const *xbinsize, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1D (TString const &name, TH1F *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1DD (TString const &name, TString const &title, int nchX, double lowX, double highX, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1DD (TString const &name, TH1D *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1S (TString const &name, TString const &title, int nchX, double lowX, double highX, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook1S (TString const &name, TH1S *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2D (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2D (TString const &name, TString const &title, int nchX, float const *xbinsize, int nchY, float const *ybinsize, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2D (TString const &name, TH2F *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2DD (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2DD (TString const &name, TH2D *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2S (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2S (TString const &name, TString const &title, int nchX, float const *xbinsize, int nchY, float const *ybinsize, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook2S (TString const &name, TH2S *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook3D (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbook3D (TString const &name, TH3F *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookFloat (TString const &name, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookInt (TString const &name, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile (TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile (TString const &name, TString const &title, int nchX, double lowX, double highX, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile (TString const &name, TString const &title, int nchX, double const *xbinsize, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile (TString const &name, TString const &title, int nchX, double const *xbinsize, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile (TString const &name, TProfile *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile2D (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile2D (TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int, double lowZ, double highZ, char const *option="s", FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookProfile2D (TString const &name, TProfile2D *object, FUNC onbooking=NOOP())
 
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElementbookString (TString const &name, TString const &value, FUNC onbooking=NOOP())
 
virtual MonitorElementData::Scope setScope (MonitorElementData::Scope newscope)
 
 ~IBooker () override
 
- Public Member Functions inherited from dqm::implementation::NavigatorBase
virtual void cd ()
 
virtual DQM_DEPRECATED void cd (std::string const &dir)
 
virtual void goUp ()
 
virtual std::string pwd ()
 
virtual void setCurrentFolder (std::string const &fullpath)
 
virtual ~NavigatorBase ()
 

Private Member Functions

virtual MonitorElementbookME (TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
 
 IBooker (DQMStore *store)
 
virtual uint64_t setModuleID (uint64_t moduleID)
 
virtual edm::LuminosityBlockID setRunLumi (edm::LuminosityBlockID runlumi)
 

Private Attributes

uint64_t moduleID_ = 0
 
edm::LuminosityBlockID runlumi_ = edm::LuminosityBlockID()
 
MonitorElementData::Scope scope_ = MonitorElementData::Scope::JOB
 
DQMStorestore_ = nullptr
 

Friends

class DQMStore
 

Additional Inherited Members

- Protected Member Functions inherited from dqm::implementation::NavigatorBase
 NavigatorBase ()
 
- Protected Attributes inherited from dqm::implementation::NavigatorBase
std::string cwd_ = ""
 

Detailed Description

Definition at line 43 of file DQMStore.h.

Member Typedef Documentation

using dqm::implementation::IBooker::UseJobScope = UseScope<MonitorElementData::Scope::JOB>

Definition at line 465 of file DQMStore.h.

using dqm::implementation::IBooker::UseLumiScope = UseScope<MonitorElementData::Scope::LUMI>

Definition at line 463 of file DQMStore.h.

using dqm::implementation::IBooker::UseRunScope = UseScope<MonitorElementData::Scope::RUN>

Definition at line 464 of file DQMStore.h.

Constructor & Destructor Documentation

dqm::implementation::IBooker::~IBooker ( )
override

Definition at line 44 of file DQMStore.cc.

44 {}
dqm::implementation::IBooker::IBooker ( DQMStore store)
private

Definition at line 39 of file DQMStore.cc.

References scope_, and store_.

39  {
40  store_ = store;
41  scope_ = MonitorElementData::Scope::JOB;
42  }
MonitorElementData::Scope scope_
Definition: DQMStore.h:479

Member Function Documentation

template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1D ( TString const &  name,
TString const &  title,
int const  nchX,
double const  lowX,
double const  highX,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 98 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1F.

Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), CTPPSCommonDQMSource::ArmPlots::ArmPlots(), DQMFEDIntegrityClient::beginJob(), BeamConditionsMonitor::beginJob(), StripValidationPlots::beginJob(), SimplePhotonAnalyzer::beginJob(), FourVectorHLT::beginJob(), DTnoiseDBValidation::beginRun(), ESPedestalClient::book(), L1TStage2CaloLayer2DEClient::book(), L1TStage2CaloLayer2DEClientSummary::book(), ecaldqm::MESetNonObject::book(), L1TStage2RatioClient::book(), L1TdeCSCTPGClient::book(), L1TdeGEMTPGClient::book(), L1ValidatorHists::Book(), ecaldqm::MESetEcal::book(), L1TGCTClient::book(), L1TDTTFClient::book(), OffsetAnalyzerDQM::Plot1D::book(), SiPixelTrackResidualModule::book(), SiPixelHitEfficiencyModule::book(), L1TOccupancyClient::book(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::book(), TopSingleLepton_miniAOD::MonitorEnsemble::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), HistogramManager::book(), SiPixelRecHitModule::book(), PFJetAnalyzerDQM::Plot1DInBin::book(), TopSingleLepton::MonitorEnsemble::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), SiStripMonitorTrack::book(), PFJetAnalyzerDQM::Plot1DInBinVariable::book(), FSQ::HandlerTemplate< TInputCandidateType, TOutputCandidateType, filter >::book(), PrimaryVertexResolution::Plots::book(), FastTimerService::PlotsPerElement::book(), HistoProviderDQM::book1D(), HistoWrapper::book1D(), GEMDQMBase::BookingHelper::book1D(), HcalDigisClient::book1D(), HLTDQMFilterEffHists< ObjType >::book1D(), Benchmark::book1D(), QcdUeDQM::book1D(), HcalDigisValidation::book1D(), HLTMuonMatchAndPlot::book1D(), QcdLowPtDQM::book1D(), EcalSelectiveReadoutValidation::book1D(), phase2tkharvestutil::book1DFromPSet(), phase2tkutil::book1DFromPSet(), DQMHelper::book1dHisto(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), TrackToTrackComparisonHists::book_generic_tracks_histos(), TrackToTrackComparisonHists::book_matching_tracks_histos(), DTLocalTriggerTask::bookBarrelHistos(), SiPixelBarycenter::bookBarycenterHistograms(), HGVHistoProducerAlgo::bookCaloParticleHistos(), L1TMP7ZeroSupp::bookCapIdHistograms(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), HGVHistoProducerAlgo::bookClusterHistos_CellLevel(), HGVHistoProducerAlgo::bookClusterHistos_ClusterLevel(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), DTTriggerLutTest::bookCmsHistos1d(), L1TMuonDQMOffline::bookControlHistos(), SiStripBaseCondObjDQM::bookCumulMEs(), SiPixelActionExecutor::bookDeviations(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), SiPixelActionExecutor::bookEfficiency(), GEMEfficiencyAnalyzer::bookEfficiencyChamber(), GEMEfficiencyAnalyzer::bookEfficiencyEtaPartition(), L1TMuonDQMOffline::bookEfficiencyHistos(), GEMEfficiencyAnalyzer::bookEfficiencyMomentum(), L1TEGammaOffline::bookElectronHistos(), L1TStage2CaloLayer2Offline::bookEnergySumHistos(), RPCFEDIntegrity::bookFEDMe(), SiPixelDataQuality::bookGlobalQualityFlag(), ElectronDqmAnalyzerBase::bookH1(), ElectronDqmHarvesterBase::bookH1(), ElectronDqmHarvesterBase::bookH1andDivide(), ScoutingAnalyzerBase::bookH1BinArray(), ElectronDqmAnalyzerBase::bookH1withSumw2(), ElectronDqmHarvesterBase::bookH1withSumw2(), ScoutingAnalyzerBase::bookH1withSumw2BinArray(), TrackerOfflineValidationSummary::bookHarvestingHists(), HLTExoticaPlotter::bookHist(), HLTHiggsPlotter::bookHist(), HLTHiggsSubAnalysis::bookHist(), HLTMuonPlotter::bookHist(), HLTExoticaSubAnalysis::bookHist(), GEMBaseValidation::bookHist1D(), PhotonOfflineClient::bookHisto(), PhotonAnalyzer::bookHisto(), V0Monitor::bookHisto1D(), ME0HitsValidation::bookHistograms(), ME0RecHitsValidation::bookHistograms(), CSCRecHit2DValidation::bookHistograms(), CSCSegmentValidation::bookHistograms(), ME0DigisValidation::bookHistograms(), ME0SegmentsValidation::bookHistograms(), CSCALCTDigiValidation::bookHistograms(), CSCCLCTDigiValidation::bookHistograms(), CSCCLCTPreTriggerDigiValidation::bookHistograms(), CSCCorrelatedLCTDigiValidation::bookHistograms(), CSCWireDigiValidation::bookHistograms(), GEMRecHitValidation::bookHistograms(), CSCStripDigiValidation::bookHistograms(), CSCStubResolutionValidation::bookHistograms(), GEMPadDigiClusterValidation::bookHistograms(), GEMStripDigiValidation::bookHistograms(), GEMSimHitValidation::bookHistograms(), CSCStubEfficiencyValidation::bookHistograms(), CSCComparatorDigiValidation::bookHistograms(), RPCValidHistograms::bookHistograms(), ESPedestalTask::bookHistograms(), L1TdeGEMTPG::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), ESFEDIntegrityTask::bookHistograms(), L1TScalersSCAL::bookHistograms(), ESRecoSummary::bookHistograms(), RPCMonitorRaw::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), Tau3MuMonitor::bookHistograms(), L1TdeCSCTPG::bookHistograms(), ESIntegrityTask::bookHistograms(), RPCRecHitProbability::bookHistograms(), L1Scalers::bookHistograms(), SiStripDigiValid::bookHistograms(), TrackingTruthValid::bookHistograms(), ESRawDataTask::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), QcdHighPtDQM::bookHistograms(), EcalTBValidation::bookHistograms(), L1TStage2uGMT::bookHistograms(), CastorRecHitMonitor::bookHistograms(), RPCDigiValid::bookHistograms(), HiBasicGenTest::bookHistograms(), L1TPhase2OuterTrackerTkMET::bookHistograms(), ESTimingTask::bookHistograms(), RPCMonitorDigi::bookHistograms(), L1TStage2CaloLayer2::bookHistograms(), EventShapeDQM::bookHistograms(), SiPixelDigiValid::bookHistograms(), SiStripMonitorFilter::bookHistograms(), SiStripMonitorHLT::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), OuterTrackerMonitorTrackingParticles::bookHistograms(), CentralitypADQM::bookHistograms(), CentralityDQM::bookHistograms(), TagAndProbeBtagTriggerMonitor::bookHistograms(), DQMMessageLogger::bookHistograms(), MonitorLTC::bookHistograms(), EgammaBasicClusters::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), CastorDigiMonitor::bookHistograms(), L1THIonImp::bookHistograms(), TrackTypeMonitor::bookHistograms(), RPCTTUMonitor::bookHistograms(), HeavyIonUCCDQM::bookHistograms(), L1TPUM::bookHistograms(), HcalSimHitStudy::bookHistograms(), RPCRecHitValid::bookHistograms(), SUSYDQMAnalyzer::bookHistograms(), TotemDAQTriggerDQMSource::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), dqm::RamdiskMonitor::bookHistograms(), SiPixelPhase1MonitorTrackSoA::bookHistograms(), SiPixelPhase1MonitorVertexSoA::bookHistograms(), HcalHitValidation::bookHistograms(), CosmicMuonRecoAnalyzer::bookHistograms(), BPhysicsOniaDQM::bookHistograms(), EwkElecDQM::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), Phase2TrackerValidateDigi::bookHistograms(), L1TdeGCT::bookHistograms(), EgammaSuperClusters::bookHistograms(), TrackerHitAnalyzer::bookHistograms(), L1TDEMON::bookHistograms(), SiStripBaselineValidator::bookHistograms(), EcalPreshowerNoiseDistrib::bookHistograms(), RecoMuonValidator::bookHistograms(), BeamSpotProblemMonitor::bookHistograms(), EwkMuDQM::bookHistograms(), MuonTiming::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), CaloTowersValidation::bookHistograms(), SimHitsValidationHcal::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), EcalFEDMonitorTemp< SUBDET >::bookHistograms(), QcdPhotonsDQM::bookHistograms(), OnlineBeamMonitor::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), DaqTestHistograms::bookHistograms(), DTOccupancyEfficiency::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), PPSTimingCalibrationPCLWorker::bookHistograms(), EwkDQM::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), L1TObjectsTiming::bookHistograms(), TICLPFValidation::bookHistograms(), DQMSourceEleCalib::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), BxTiming::bookHistograms(), SiPixelRecHitsValid::bookHistograms(), AlcaBeamMonitor::bookHistograms(), PFCandidateAnalyzerDQM::bookHistograms(), EwkMuLumiMonitorDQM::bookHistograms(), DiMuonHistograms::bookHistograms(), EfficiencyAnalyzer::bookHistograms(), MuonEnergyDepositAnalyzer::bookHistograms(), MuonKinVsEtaAnalyzer::bookHistograms(), DemoGlobalDQMEDAnalyzer::bookHistograms(), HLTVertexPerformanceAnalyzer::bookHistograms(), EcalPreshowerDigisValidation::bookHistograms(), EcalBarrelSimHitsValidation::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), BeamMonitor::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), EcalEndcapSimHitsValidation::bookHistograms(), EcalPreshowerSimHitsValidation::bookHistograms(), dEdxHitAnalyzer::bookHistograms(), FakeBeamMonitor::bookHistograms(), DQMScalInfo::bookHistograms(), L1TdeStage2uGT::bookHistograms(), EcalPreshowerRecHitsValidation::bookHistograms(), dEdxAnalyzer::bookHistograms(), DQMHcalDiJetsAlCaReco::bookHistograms(), L1TStage2OMTF::bookHistograms(), EcalSimHitsValidation::bookHistograms(), TopDiLeptonDQM::bookHistograms(), LepHTMonitor::bookHistograms(), L1TDTTF::bookHistograms(), PixelVTXMonitor::bookHistograms(), TriggerMatchMonitor::bookHistograms(), OuterTrackerMonitorTTTrack::bookHistograms(), DQMLumiMonitor::bookHistograms(), NoiseRates::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), HotlineDQM::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), EcalEndcapRecHitsValidation::bookHistograms(), HGCGeometryValidation::bookHistograms(), TrackSplittingMonitor::bookHistograms(), GlobalTest::bookHistograms(), DQMHcalIsoTrackAlCaReco::bookHistograms(), DQMHcalIterativePhiSymAlCaReco::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), GlobalMuonMatchAnalyzer::bookHistograms(), PFClusterValidation::bookHistograms(), HcalSimHitsValidation::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), EcalBarrelRecHitsValidation::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), L1TRCT::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), JetTester::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), MtdTracksValidation::bookHistograms(), DTDCSByLumiTask::bookHistograms(), EcalZmassTask::bookHistograms(), DQMHOAlCaRecoStream::bookHistograms(), HcalNoiseRates::bookHistograms(), HiggsDQM::bookHistograms(), ZDCDigiStudy::bookHistograms(), HGCalShowerSeparation::bookHistograms(), L1TStage2uGT::bookHistograms(), DQMSourcePi0::bookHistograms(), DQMHcalIsolatedBunchAlCaReco::bookHistograms(), HGCalHitCalibration::bookHistograms(), ZCounting::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), SiStripMonitorQuality::bookHistograms(), MultiTrackValidator::bookHistograms(), MuonRecoOneHLT::bookHistograms(), LumiMonitor::bookHistograms(), HigPhotonJetHLTOfflineSource::bookHistograms(), L1TCSCTPG::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), L1TDTTPG::bookHistograms(), EtlSimHitsValidation::bookHistograms(), StandaloneTrackMonitor::bookHistograms(), SiStripMonitorRawData::bookHistograms(), L1TRate_Offline::bookHistograms(), HGCalRecHitValidation::bookHistograms(), DTEfficiencyTask::bookHistograms(), BDHadronTrackMonitoringAnalyzer::bookHistograms(), PhotonValidatorMiniAOD::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), L1TFED::bookHistograms(), CaloParticleValidation::bookHistograms(), L1TRPCTF::bookHistograms(), METTester::bookHistograms(), MuonTrackResidualAnalyzer::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), SUSY_HLT_SingleLepton::bookHistograms(), HGCalDigiValidation::bookHistograms(), DTCalibValidation::bookHistograms(), HcalCollapseAnalyzer::bookHistograms(), PPSDiamondSampicTimingCalibrationPCLWorker::bookHistograms(), MuonIdDQM::bookHistograms(), L1TRate::bookHistograms(), TICLTrackstersEdgesValidation::bookHistograms(), SusyDQM< Mu, Ele, Jet, Met >::bookHistograms(), MuonDTDigis::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), MuonSimHitsValidAnalyzer::bookHistograms(), BtlSimHitsValidation::bookHistograms(), TauValidationMiniAOD::bookHistograms(), EcalDigisValidation::bookHistograms(), B2GSingleLeptonHLTValidation::bookHistograms(), B2GDoubleLeptonHLTValidation::bookHistograms(), B2GHadronicHLTValidation::bookHistograms(), L1TGMT::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), GlobalRecHitsHistogrammer::bookHistograms(), ZdcSimHitStudy::bookHistograms(), TkConvValidator::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), MillePedeDQMModule::bookHistograms(), L1TGT::bookHistograms(), EcalRecHitsValidation::bookHistograms(), CorrPCCProducer::bookHistograms(), HLTJetMETValidation::bookHistograms(), HGCalHitValidation::bookHistograms(), PixelLumiDQM::bookHistograms(), MuonIdVal::bookHistograms(), L1TStage2BMTF::bookHistograms(), HcalRecHitsValidation::bookHistograms(), ECALMultifitAnalyzer_HI::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), L1TdeRCT::bookHistograms(), L1TdeCSCTF::bookHistograms(), L1TRPCTPG::bookHistograms(), L1TCSCTF::bookHistograms(), L1TStage2uGTCaloLayer2Comp::bookHistograms(), PhotonValidator::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), HLTScalers::bookHistograms(), BTVHLTOfflineSource::bookHistograms(), HLTHiggsSubAnalysis::bookHistograms(), SiPixelTrackingRecHitsValid::bookHistograms(), MuonIsolationDQM::bookHistograms(), MuonTrackAnalyzer::bookHistograms(), EwkElecTauHistManager::bookHistograms(), TriggerBxMonitor::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), TrackingMonitor::bookHistograms(), MuIsoValidation::bookHistograms(), HGCalSimHitValidation::bookHistograms(), TauTagValidation::bookHistograms(), RCTMonitor::bookHistograms(), PiZeroAnalyzer::bookHistograms(), GlobalHitsHistogrammer::bookHistograms(), GlobalHitsTester::bookHistograms(), CSCOfflineMonitor::bookHistograms(), EmDQM::bookHistograms(), SiStripFEDMonitorPlugin::bookHistograms(), JetTester_HeavyIons::bookHistograms(), JetAnalyzer_HeavyIons::bookHistograms(), JetAnalyzer_HeavyIons_matching::bookHistograms(), GlobalHitsAnalyzer::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), EcalMixingModuleValidation::bookHistograms(), SMPDQM::bookHistograms(), FSQDQM::bookHistograms(), L1TSync::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), JetAnalyzer::bookHistograms(), B2GDQM::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookhistograms(), HLTObjectMonitorProtonLead::bookHistograms(), EmDQMReco::bookHistograms(), HLTObjectMonitor::bookHistograms(), V0Validator::bookHistograms(), HGCalTriggerValidator::bookHistograms(), EgHLTOfflineSource::bookHistograms(), HLTObjectsMonitor::bookHistograms(), SiPixelLorentzAnglePCLWorker::bookHistograms(), TriggerRatesMonitor::bookHistograms(), L1GtHwValidation::bookHistograms(), L1TSync_Offline::bookHistograms(), L1TBPTX::bookHistograms(), GlobalDigisAnalyzer::bookHistograms(), ExoticaDQM::bookHistograms(), L1TGCT::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), GlobalRecHitsAnalyzer::bookHistograms(), BeamHaloAnalyzer::bookHistograms(), MuonTrackValidator::bookHistograms(), Primary4DVertexValidation::bookHistograms(), L1TStage2CaloLayer1::bookHistograms(), EwkMuTauHistManager::bookHistograms(), PackedCandidateTrackValidator::bookHistograms(), PhotonAnalyzer::bookHistogramsEfficiency(), DQMProvInfo::bookHistogramsLhcInfo(), SUSY_HLT_InclusiveHT::bookHistos(), SUSY_HLT_DoubleMuon_Hadronic::bookHistos(), SUSY_HLT_Muon_BJet::bookHistos(), SUSY_HLT_PhotonHT::bookHistos(), SUSY_HLT_PhotonMET::bookHistos(), DTTriggerEfficiencyTest::bookHistos(), DTResolutionAnalysisTest::bookHistos(), SUSY_HLT_DoubleEle_Hadronic::bookHistos(), SUSY_HLT_Electron_BJet::bookHistos(), DTNoiseAnalysisTest::bookHistos(), SUSY_HLT_MuonFakes::bookHistos(), SUSY_HLT_ElecFakes::bookHistos(), SUSY_HLT_Muon_Hadronic::bookHistos(), SUSY_HLT_DiJet_MET::bookHistos(), SUSY_HLT_VBF_Mu::bookHistos(), MuonPFAnalyzer::bookHistos(), SUSY_HLT_MuEle_Hadronic::bookHistos(), SUSY_HLT_alphaT::bookHistos(), DTt0DBValidation::bookHistos(), DTSegmentAnalysisTest::bookHistos(), DTResolutionTest::bookHistos(), SUSY_HLT_Razor::bookHistos(), DTDataIntegrityROSOffline::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTChamberEfficiencyClient::bookHistos(), DTEfficiencyTest::bookHistos(), DQMExample_Step1::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTNoiseTask::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTSegmentAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), RecoMuonValidator::MuonME::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), tadqm::TrackAnalyzer::bookHistosForBeamSpot(), tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter(), tadqm::TrackAnalyzer::bookHistosForHitProperties(), tadqm::TrackAnalyzer::bookHistosForLScertification(), tadqm::TrackAnalyzer::bookHistosForState(), tadqm::TrackAnalyzer::bookHistosForTrackerSpecific(), DTDataIntegrityTask::bookHistosuROS(), L1TStage2CaloLayer2Offline::bookJetHistos(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), SiStripMonitorTrack::bookLayerMEs(), TriggerDQMBase::bookME(), SiStripMonitorTrack::bookME1D(), SiStripMonitorDigi::bookME1D(), SiStripMonitorCluster::bookME1D(), SiStripRecHitsValid::bookME1D(), SiStripTrackingRecHitsValid::bookME1D(), SiPixelHLTSource::bookMEs(), SiPixelClusterSource::bookMEs(), SiPixelDigiSource::bookMEs(), TrackEfficiencyClient::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), SiPixelPhase1ResidualsExtra::bookMEs(), JetAnalyzer::bookMESetSelection(), GEMEfficiencyAnalyzer::bookMisc(), SiStripMonitorTrack::bookModMEs(), METAnalyzer::bookMonitorElement(), CSCMonitorModule::bookMonitorObject(), MTVHistoProducerAlgoForTracker::bookMVAHistos(), SiPixelInformationExtractor::bookNoisyPixels(), GEMEfficiencyAnalyzer::bookNumerator1D(), L1TPhase2CorrelatorOffline::bookPhase2CorrelatorHistos(), L1TEGammaOffline::bookPhotonHistos(), GEMBaseValidation::bookPIDHist(), SiStripBaseCondObjDQM::bookProfileMEs(), MTVHistoProducerAlgoForTracker::bookRecodEdxHistos(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), MTVHistoProducerAlgoForTracker::bookRecoPVAssociationHistos(), recoBSVTagInfoValidationAnalyzer::bookRecoToSim(), RPCMonitorDigi::bookRegionME(), GEMEfficiencyAnalyzer::bookResolution(), L1TMuonDQMOffline::bookResolutionHistos(), SiStripMonitorTrack::bookRingMEs(), RPCMonitorDigi::bookRollME(), DTLocalTriggerBaseTest::bookSectorHistos(), MTVHistoProducerAlgoForTracker::bookSeedHistos(), HGVHistoProducerAlgo::bookSimClusterAssociationHistos(), HGVHistoProducerAlgo::bookSimClusterHistos(), MTVHistoProducerAlgoForTracker::bookSimHistos(), recoBSVTagInfoValidationAnalyzer::bookSimToReco(), MTVHistoProducerAlgoForTracker::bookSimTrackHistos(), MTVHistoProducerAlgoForTracker::bookSimTrackPVAssociationHistos(), SiStripBaseCondObjDQM::bookSummaryCumulMEs(), L1TTauOffline::bookTauHistos(), DTPreCalibrationTask::bookTimeBoxes(), HGVHistoProducerAlgo::bookTracksterCPLinkingHistos(), HGVHistoProducerAlgo::bookTracksterHistos(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), DTTriggerEfficiencyTest::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), HLTBTagHarvestingAnalyzer::calculateEfficiency1D(), DiamondSampicCalibrationDQMSource::ChannelPlots::ChannelPlots(), DiamondSampicDQMSource::ChannelPlots::ChannelPlots(), TotemTimingDQMSource::ChannelPlots::ChannelPlots(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), ElectronDqmHarvesterBase::cloneH1(), DQMGenericClient::computeEfficiency(), HTrackVariables::computeEfficiency(), DQMGenericClient::computeResolution(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), SiStripMonitorCluster::createLayerMEs(), MonitorTrackResidualsBase< pixel_or_strip >::createMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorDigi::createModuleMEs(), SiStripMonitorCluster::createModuleMEs(), PFClient::createProjectionPlots(), PFClient_JetRes::createResolutionPlots(), PFClient::createResolutionPlots(), SiStripMonitorDigi::createSubDetMEs(), ElasticPlotDQMSource::DiagonalPlots::DiagonalPlots(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), DemoRunHarvester::dqmEndJob(), DemoHarvester::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), OuterTrackerMCHarvester::dqmEndJob(), Primary4DVertexHarvester::dqmEndJob(), MtdTracksHarvester::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), L1TCSCTFClient::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), PFJetDQMPostProcessor::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), BtlSimHitsHarvester::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), HLTMuonRefMethod::dqmEndJob(), TriggerMatchEfficiencyPlotter::dqmEndJob(), MuonTestSummary::dqmEndJob(), DQMScaleToClient::dqmEndJob(), MuonRecoTest::dqmEndJob(), EcalZmassClient::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), SiPixelLorentzAnglePCLHarvester::dqmEndJob(), DemoHarvester::dqmEndLuminosityBlock(), MuonTrackResidualsTest::dqmEndRun(), MuonRecoTest::dqmEndRun(), ECALpedestalPCLHarvester::dqmPlots(), dqmRegisterHistogram(), APVValidationPlots::endJob(), HLTScalersClient::endLuminosityBlock(), AlcaBeamMonitorClient::endRun(), GlobalHitsProdHistStripper::endRun(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), EgHLTOfflineClient::FillHLTvsOfflineHist(), FastTimerServiceClient::fillPathSummaryPlots(), SiPixelActionExecutor::fillSummary(), ThroughputServiceClient::fillSummaryPlots(), EmDQMReco::FourVectorMonitorElements::FourVectorMonitorElements(), SiPixelActionExecutor::getFEDSummaryME(), SiPixelActionExecutor::getGrandSummaryME(), SiStripSummaryCreator::getSummaryME(), SiPixelActionExecutor::getSummaryME(), HEff1DHit::HEff1DHit(), HEff1DHitHarvest::HEff1DHitHarvest(), HEff2DHit::HEff2DHit(), HEff2DHitHarvest::HEff2DHitHarvest(), HEff4DHit::HEff4DHit(), HEff4DHitHarvest::HEff4DHitHarvest(), CommissioningHistograms::histogram(), HLTScalersClient::HLTScalersClient(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), HTrackVariables::HTrackVariables(), CTPPSCommonDQMSource::GlobalPlots::Init(), TrackBuildingAnalyzer::initHisto(), VertexMonitor::initHisto(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), LaserDQM::initMonitors(), L1ScalersClient::L1ScalersClient(), dqmservices::DQMProtobufReader::load(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), HLTBTagHarvestingAnalyzer::mistagrate(), HLTBTagHarvestingAnalyzer::modulesrate(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBook1D(), RPCNoisyStripTest::myBooker(), RPCMultiplicityTest::myBooker(), RPCOccupancyTest::myBooker(), RPCClusterSizeTest::myBooker(), RPCChamberQuality::myBooker(), RivetAnalyzer::normalizeTree(), TotemRPDQMSource::PlanePlots::PlanePlots(), DiamondSampicDQMSource::PlanePlots::PlanePlots(), TotemTimingDQMSource::PlanePlots::PlanePlots(), CTPPSDiamondDQMSource::PlanePlots::PlanePlots(), TotemRPDQMSource::PotPlots::PotPlots(), ElasticPlotDQMSource::PotPlots::PotPlots(), DiamondSampicCalibrationDQMSource::PotPlots::PotPlots(), DiamondSampicDQMSource::PotPlots::PotPlots(), TotemTimingDQMSource::PotPlots::PotPlots(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), ThroughputService::preGlobalBeginRun(), MuonME0DigisHarvestor::ProcessBookingBKG(), SusyPostProcessor::QuantilePlots(), LegacyIOHelper::readdir(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), and HLXMonitor::SetupHists().

103  {
105  auto th1 = new TH1F(name, title, nchX, lowX, highX);
106  onbooking(th1);
107  return th1;
108  });
109  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1D ( TString const &  name,
TString const &  title,
int  nchX,
float const *  xbinsize,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 111 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1F.

112  {
114  auto th1 = new TH1F(name, title, nchX, xbinsize);
115  onbooking(th1);
116  return th1;
117  });
118  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1D ( TString const &  name,
TH1F *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 120 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1F.

120  {
121  return bookME(
122  name,
124  [=]() {
125  auto th1 = static_cast<TH1F*>(object->Clone(name));
126  onbooking(th1);
127  return th1;
128  },
129  /* forceReplace */ true);
130  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1DD ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 155 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1D.

Referenced by HcalOnlineHarvesting::_dqmEndLuminosityBlock(), hcaldqm::ContainerSingle1D::book(), hcaldqm::Container1D::book(), FastTimerService::PlotsPerPath::book(), SiStripGainFromCalibTree::bookDQMHistos(), ScoutingAnalyzerBase::bookH1(), ScoutingAnalyzerBase::bookH1andDivide(), ScoutingAnalyzerBase::bookH1withSumw2(), ESOccupancyTask::bookHistograms(), ZDCQIE10Task::bookHistograms(), FCDTask::bookHistograms(), TPTask::bookHistograms(), ZDCTask::bookHistograms(), CastorDigiMonitor::bookHistograms(), RecHitTask::bookHistograms(), DigiTask::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), CastorMonitorModule::bookHistograms(), SiStripGainsPCLWorker::bookHistograms(), PPSAlignmentHarvester::buildModeGraph(), PPSAlignmentHarvester::doMatch(), hcaldqm::DigiRunSummary::endLuminosityBlock(), SiStripGainsPCLHarvester::gainQualityMonitor(), PPSAlignmentWorker::SectorData::init(), dqmservices::DQMProtobufReader::load(), LegacyIOHelper::readdir(), PPSAlignmentWorker::SectorData::SlicePlots::SlicePlots(), and PPSAlignmentHarvester::xAlignment().

156  {
158  auto th1 = new TH1D(name, title, nchX, lowX, highX);
159  onbooking(th1);
160  return th1;
161  });
162  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1DD ( TString const &  name,
TH1D *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 164 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1D.

164  {
165  return bookME(
166  name,
168  [=]() {
169  auto th1 = static_cast<TH1D*>(object->Clone(name));
170  onbooking(th1);
171  return th1;
172  },
173  /* forceReplace */ true);
174  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1S ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 133 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1S.

Referenced by dqmRegisterHistogram(), dqmservices::DQMProtobufReader::load(), and LegacyIOHelper::readdir().

134  {
136  auto th1 = new TH1S(name, title, nchX, lowX, highX);
137  onbooking(th1);
138  return th1;
139  });
140  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1S ( TString const &  name,
TH1S *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 142 of file DQMStore.h.

References bookME(), and MonitorElementData::TH1S.

142  {
143  return bookME(
144  name,
146  [=]() {
147  auto th1 = static_cast<TH1S*>(object->Clone(name));
148  onbooking(th1);
149  return th1;
150  },
151  /* forceReplace */ true);
152  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2D ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 177 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2F.

Referenced by HcalOfflineHarvesting::_dqmEndJob(), HcalOnlineHarvesting::_dqmEndLuminosityBlock(), SiStripGainFromData::algoBeginJob(), CTPPSCommonDQMSource::ArmPlots::ArmPlots(), DQMFEDIntegrityClient::beginJob(), StripValidationPlots::beginJob(), FourVectorHLT::beginJob(), RPCSummaryMapHisto::book(), ESSummaryClient::book(), ESIntegrityClient::book(), ecaldqm::MESetNonObject::book(), L1TdeCSCTPGClient::book(), L1ValidatorHists::Book(), ecaldqm::MESetEcal::book(), L1TDTTFClient::book(), L1TRPCTFClient::book(), L1TOccupancyClient::book(), L1TTestsSummary::book(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::book(), TopSingleLepton_miniAOD::MonitorEnsemble::book(), dqmoffline::l1t::L1TEfficiencyPlotHandler::book(), SiPixelDigiModule::book(), SiPixelClusterModule::book(), HistogramManager::book(), hcaldqm::ContainerSingle2D::book(), SiPixelRecHitModule::book(), TopSingleLepton::MonitorEnsemble::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), L1TEMTFEventInfoClient::book(), SiStripMonitorTrack::book(), L1TEventInfoClient::book(), hcaldqm::Container2D::book(), TrigObjTnPHistColl::HistDefs::Data::book(), PrimaryVertexResolution::DiffPlots::book(), HistoProviderDQM::book2D(), HistoWrapper::book2D(), HLTDQMFilterEffHists< ObjType >::book2D(), GEMDQMBase::BookingHelper::book2D(), HcalDigisClient::book2D(), Benchmark::book2D(), HcalDigisValidation::book2D(), HLTMuonMatchAndPlot::book2D(), QcdLowPtDQM::book2D(), EcalSelectiveReadoutValidation::book2D(), phase2tkharvestutil::book2DFromPSet(), phase2tkutil::book2DFromPSet(), DQMHelper::book2dHisto(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), TrackToTrackComparisonHists::book_generic_tracks_histos(), TrackToTrackComparisonHists::book_matching_tracks_histos(), SiStripBadComponentInfo::bookBadComponentHistos(), RPCRollMapHisto::bookBarrel(), HGVHistoProducerAlgo::bookCaloParticleHistos(), DTTriggerEfficiencyTask::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTTriggerEfficiencyTest::bookChambHistos(), L1TGMTClient::bookClone2D(), HGVHistoProducerAlgo::bookClusterHistos_CellLevel(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), DTLocalTriggerBaseTest::bookCmsHistos(), L1TMuonDQMOffline::bookControlHistos(), GEMBaseValidation::bookDetectorOccupancy(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), GEMOfflineMonitor::bookDigiOccupancy(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), MuonGEMBaseHarvestor::bookEff2D(), SiPixelActionExecutor::bookEfficiency(), GEMEfficiencyAnalyzer::bookEfficiencyDetector(), L1TEGammaOffline::bookElectronHistos(), RPCRollMapHisto::bookEndcap(), L1TStage2CaloLayer2Offline::bookEnergySumHistos(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), ElectronDqmAnalyzerBase::bookH2(), ElectronDqmHarvesterBase::bookH2(), ElectronDqmHarvesterBase::bookH2andDivide(), ElectronDqmAnalyzerBase::bookH2withSumw2(), ElectronDqmHarvesterBase::bookH2withSumw2(), GEMBaseValidation::bookHist2D(), DTnoiseDBValidation::bookHisto(), V0Monitor::bookHisto2D(), CSCRecHit2DValidation::bookHistograms(), ME0DigisValidation::bookHistograms(), ESOccupancyTask::bookHistograms(), GEMCheckGeometry::bookHistograms(), RPCValidHistograms::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), RPCMonitorRaw::bookHistograms(), L1TScalersSCAL::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), Tau3MuMonitor::bookHistograms(), L1TdeCSCTPG::bookHistograms(), ESIntegrityTask::bookHistograms(), RPCRecHitProbability::bookHistograms(), L1Scalers::bookHistograms(), L1TStage2Shower::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), Phase2TrackerMonitorDigi::bookHistograms(), QcdHighPtDQM::bookHistograms(), EcalTBValidation::bookHistograms(), L1TStage2uGMT::bookHistograms(), CastorRecHitMonitor::bookHistograms(), FCDTask::bookHistograms(), ESTimingTask::bookHistograms(), ZDCTask::bookHistograms(), RPCDigiValid::bookHistograms(), L1TStage2CaloLayer2::bookHistograms(), TagAndProbeBtagTriggerMonitor::bookHistograms(), EgammaBasicClusters::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), CastorDigiMonitor::bookHistograms(), L1THIonImp::bookHistograms(), HeavyIonUCCDQM::bookHistograms(), TotemDAQTriggerDQMSource::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), HcalSimHitStudy::bookHistograms(), RPCRecHitValid::bookHistograms(), L1TPUM::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), HcalHitValidation::bookHistograms(), CosmicMuonRecoAnalyzer::bookHistograms(), EwkElecDQM::bookHistograms(), EgammaSuperClusters::bookHistograms(), Phase2TrackerValidateDigi::bookHistograms(), L1TdeGCT::bookHistograms(), CastorLEDMonitor::bookHistograms(), EcalPreshowerNoiseDistrib::bookHistograms(), SiStripBaselineValidator::bookHistograms(), TrackerHitAnalyzer::bookHistograms(), L1TDEMON::bookHistograms(), DTSegmentsTask::bookHistograms(), MuonMiniAOD::bookHistograms(), RecoMuonValidator::bookHistograms(), TrackingRecoMaterialAnalyser::bookHistograms(), MuonTiming::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), CaloTowersValidation::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), SimHitsValidationHcal::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), PPSTimingCalibrationPCLWorker::bookHistograms(), DQMSourceEleCalib::bookHistograms(), L1TObjectsTiming::bookHistograms(), EcalBarrelSimHitsValidation::bookHistograms(), EcalEndcapSimHitsValidation::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), BeamMonitor::bookHistograms(), EcalPreshowerRecHitsValidation::bookHistograms(), FakeBeamMonitor::bookHistograms(), L1TStage2OMTF::bookHistograms(), L1TStage2uGTTiming::bookHistograms(), LepHTMonitor::bookHistograms(), TopDiLeptonDQM::bookHistograms(), GEMDAQStatusSource::bookHistograms(), SiPixelClusterSource::bookHistograms(), LaserAlignmentT0ProducerDQM::bookHistograms(), L1TDTTF::bookHistograms(), OuterTrackerMonitorTTTrack::bookHistograms(), EcalEndcapRecHitsValidation::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), EcalBarrelRecHitsValidation::bookHistograms(), HGCGeometryValidation::bookHistograms(), GlobalMuonMatchAnalyzer::bookHistograms(), PSMonitor::bookHistograms(), DQMHcalIterativePhiSymAlCaReco::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), TriggerBxVsOrbitMonitor::bookHistograms(), L1TRCT::bookHistograms(), ZDCDigiStudy::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), L1TStage2uGT::bookHistograms(), HGCalShowerSeparation::bookHistograms(), ZCounting::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), HigPhotonJetHLTOfflineSource::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), L1TDTTPG::bookHistograms(), EtlSimHitsValidation::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), HGCalRecHitValidation::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), MuonTrackResidualAnalyzer::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), L1TRPCTF::bookHistograms(), DTCalibValidation::bookHistograms(), HGCalDigiValidation::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), TICLTrackstersEdgesValidation::bookHistograms(), MuonDTDigis::bookHistograms(), SusyDQM< Mu, Ele, Jet, Met >::bookHistograms(), DTSegmentAnalysisTask::bookHistograms(), QcdUeDQM::bookHistograms(), BtlSimHitsValidation::bookHistograms(), MuonSimHitsValidAnalyzer::bookHistograms(), L1TGMT::bookHistograms(), ZdcSimHitStudy::bookHistograms(), TkConvValidator::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), MillePedeDQMModule::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), EcalRecHitsValidation::bookHistograms(), LogMessageMonitor::bookHistograms(), L1TGT::bookHistograms(), PixelLumiDQM::bookHistograms(), HGCalHitValidation::bookHistograms(), L1TStage2BMTF::bookHistograms(), DTChamberEfficiency::bookHistograms(), MuonIdVal::bookHistograms(), HcalRecHitsValidation::bookHistograms(), ECALMultifitAnalyzer_HI::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), L1TdeRCT::bookHistograms(), L1TdeCSCTF::bookHistograms(), L1TCSCTF::bookHistograms(), PhotonValidator::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), BTVHLTOfflineSource::bookHistograms(), HLTScalers::bookHistograms(), MuonTrackAnalyzer::bookHistograms(), TriggerBxMonitor::bookHistograms(), L1TCompare::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), TrackingMonitor::bookHistograms(), RCTMonitor::bookHistograms(), HGCalSimHitValidation::bookHistograms(), CSCOfflineMonitor::bookHistograms(), GlobalHitsTester::bookHistograms(), EmDQM::bookHistograms(), JetTester_HeavyIons::bookHistograms(), JetAnalyzer_HeavyIons::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), L1TSync::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), JetAnalyzer::bookHistograms(), HLTObjectsMonitor::bookHistograms(), SiPixelLorentzAnglePCLWorker::bookHistograms(), L1TSync_Offline::bookHistograms(), QcdLowPtDQM::bookHistograms(), L1TGCT::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), BeamHaloAnalyzer::bookHistograms(), MuonTrackValidator::bookHistograms(), L1TStage2CaloLayer1::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), DTResolutionAnalysisTest::bookHistos(), DTNoiseAnalysisTest::bookHistos(), SUSY_HLT_DiJet_MET::bookHistos(), MuonPFAnalyzer::bookHistos(), SUSY_HLT_alphaT::bookHistos(), DTSegmentAnalysisTest::bookHistos(), DTt0DBValidation::bookHistos(), SUSY_HLT_Razor::bookHistos(), DTResolutionTest::bookHistos(), DTDataIntegrityROSOffline::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTChamberEfficiencyClient::bookHistos(), DTOccupancyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTNoiseTask::bookHistos(), DTDataIntegrityTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTOccupancyTestML::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), RecoMuonValidator::MuonME::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), tadqm::TrackAnalyzer::bookHistosForState(), DTDataIntegrityTask::bookHistosROS(), ME0BaseValidation::BookHistXY(), ME0BaseValidation::BookHistZR(), GEMOfflineMonitor::bookHitOccupancy(), L1TStage2CaloLayer2Offline::bookJetHistos(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), SiStripMonitorTrack::bookLayerMEs(), TriggerDQMBase::bookME(), SiStripMonitorTrack::bookME2D(), SiStripMonitorCluster::bookME2D(), TrackFoldedOccupancyClient::bookMEs(), SiPixelDigiSource::bookMEs(), TrackEfficiencyClient::bookMEs(), METAnalyzer::bookMonitorElement(), CSCMonitorModule::bookMonitorObject(), GEMEfficiencyAnalyzer::bookNumerator2D(), DTPreCalibrationTask::bookOccupancyPlot(), SiPixelActionExecutor::bookOccupancyPlots(), L1TPhase2CorrelatorOffline::bookPhase2CorrelatorHistos(), L1TEGammaOffline::bookPhotonHistos(), GEMBaseValidation::bookPolarOccupancy(), RPCMonitorDigi::bookRegionME(), DTLocalTriggerBaseTest::bookSectorHistos(), RPCMonitorDigi::bookSectorRingME(), HGVHistoProducerAlgo::bookSimClusterAssociationHistos(), MTVHistoProducerAlgoForTracker::bookSimTrackHistos(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiPixelPhase1Summary::bookSummaries(), BeamMonitorBx::BookTables(), L1TTauOffline::bookTauHistos(), TrackingCertificationInfo::bookTrackingCertificationMEs(), HGVHistoProducerAlgo::bookTracksterCPLinkingHistos(), HGVHistoProducerAlgo::bookTracksterHistos(), DTTriggerEfficiencyTest::bookWheelHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), DTLocalTriggerBaseTest::bookWheelHistos(), GEMBaseValidation::bookXYOccupancy(), GEMBaseValidation::bookZROccupancy(), TotemTimingDQMSource::ChannelPlots::ChannelPlots(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), DQMGenericClient::computeEfficiency(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorCluster::createModuleMEs(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), GEMDQMHarvester::createSummaryHist(), GEMDQMBase::CreateSummaryHist(), GEMDQMHarvester::createSummaryVFAT(), TkHistoMap::createTkHistoMap(), ElasticPlotDQMSource::DiagonalPlots::DiagonalPlots(), EmDQMPostProcessor::dividehistos2D(), GEMEfficiencyHarvester::doEfficiency(), GEMEfficiencyHarvester::doResolution(), RPCDcsInfoClient::dqmEndJob(), TrackingDQMClientHeavyIons::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), L1TDTTPGClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), HLTMuonRefMethod::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), MuonTestSummary::dqmEndJob(), SiPixelPhase1EfficiencyExtras::dqmEndJob(), PhotonDataCertification::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), SiPixelLorentzAnglePCLHarvester::dqmEndJob(), BrilClient::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), ECALpedestalPCLHarvester::dqmPlots(), dqmRegisterHistogram(), APVValidationPlots::endJob(), HistogramManager::executeGroupBy(), SiPixelActionExecutor::fillFEDErrorSummary(), EgHLTOfflineSummaryClient::getEgHLTSumHist_(), DiamondSampicDQMSource::GlobalPlots::GlobalPlots(), TotemTimingDQMSource::GlobalPlots::GlobalPlots(), CommissioningHistograms::histogram(), HRes1DHit::HRes1DHit(), HRes2DHit::HRes2DHit(), HRes4DHit::HRes4DHit(), HResolution::HResolution(), HResolution1DRecHit::HResolution1DRecHit(), CTPPSCommonDQMSource::GlobalPlots::Init(), TrackBuildingAnalyzer::initHisto(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), L1ScalersClient::L1ScalersClient(), dqmservices::DQMProtobufReader::load(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), PlotCombiner::makePlot(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBook2D(), RPCChamberQuality::myBooker(), CTPPSDiamondDQMSource::PlanePlots::PlanePlots(), TotemRPDQMSource::PotPlots::PotPlots(), DiamondSampicCalibrationDQMSource::PotPlots::PotPlots(), DiamondSampicDQMSource::PotPlots::PotPlots(), TotemTimingDQMSource::PotPlots::PotPlots(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), LegacyIOHelper::readdir(), DiamondSampicDQMSource::SectorPlots::SectorPlots(), CTPPSDiamondDQMSource::SectorPlots::SectorPlots(), HLXMonitor::SetupEventInfo(), and HLXMonitor::SetupHists().

185  {
187  auto th2 = new TH2F(name, title, nchX, lowX, highX, nchY, lowY, highY);
188  onbooking(th2);
189  return th2;
190  });
191  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2D ( TString const &  name,
TString const &  title,
int  nchX,
float const *  xbinsize,
int  nchY,
float const *  ybinsize,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 193 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2F.

199  {
201  auto th2 = new TH2F(name, title, nchX, xbinsize, nchY, ybinsize);
202  onbooking(th2);
203  return th2;
204  });
205  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2D ( TString const &  name,
TH2F *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 207 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2F.

207  {
208  return bookME(
209  name,
211  [=]() {
212  auto th2 = static_cast<TH2F*>(object->Clone(name));
213  onbooking(th2);
214  return th2;
215  },
216  /* forceReplace */ true);
217  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2DD ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 261 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2D.

Referenced by SiStripGainFromCalibTree::bookDQMHistos(), ScoutingAnalyzerBase::bookH2(), ScoutingAnalyzerBase::bookH2andDivide(), ScoutingAnalyzerBase::bookH2withSumw2(), CTPPSPixelDQMSource::bookHistograms(), SiStripGainsPCLHarvester::gainQualityMonitor(), PPSAlignmentWorker::SectorData::init(), dqmservices::DQMProtobufReader::load(), LegacyIOHelper::readdir(), and PPSAlignmentWorker::SectorData::SlicePlots::SlicePlots().

269  {
271  auto th2 = new TH2D(name, title, nchX, lowX, highX, nchY, lowY, highY);
272  onbooking(th2);
273  return th2;
274  });
275  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2DD ( TString const &  name,
TH2D *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 277 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2D.

277  {
278  return bookME(
279  name,
281  [=]() {
282  auto th2 = static_cast<TH2D*>(object->Clone(name));
283  onbooking(th2);
284  return th2;
285  },
286  /* forceReplace */ true);
287  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2S ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 219 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2S.

Referenced by SiStripGainFromCalibTree::bookDQMHistos(), SiStripGainsPCLWorker::bookHistograms(), GEMDQMHarvester::createLumiFuncHist(), dqmRegisterHistogram(), dqmservices::DQMProtobufReader::load(), and LegacyIOHelper::readdir().

227  {
229  auto th2 = new TH2S(name, title, nchX, lowX, highX, nchY, lowY, highY);
230  onbooking(th2);
231  return th2;
232  });
233  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2S ( TString const &  name,
TString const &  title,
int  nchX,
float const *  xbinsize,
int  nchY,
float const *  ybinsize,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 235 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2S.

241  {
243  auto th2 = new TH2S(name, title, nchX, xbinsize, nchY, ybinsize);
244  onbooking(th2);
245  return th2;
246  });
247  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2S ( TString const &  name,
TH2S *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 249 of file DQMStore.h.

References bookME(), and MonitorElementData::TH2S.

249  {
250  return bookME(
251  name,
253  [=]() {
254  auto th2 = static_cast<TH2S*>(object->Clone(name));
255  onbooking(th2);
256  return th2;
257  },
258  /* forceReplace */ true);
259  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book3D ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  nchZ,
double  lowZ,
double  highZ,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 290 of file DQMStore.h.

References bookME(), and MonitorElementData::TH3F.

Referenced by EcalPreshowerNoiseDistrib::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), GlobalHitsTester::bookHistograms(), SiStripMonitorTrack::bookME3D(), CSCMonitorModule::bookMonitorObject(), DQMGenericClient::computeEfficiency(), dqmRegisterHistogram(), dqmservices::DQMProtobufReader::load(), and LegacyIOHelper::readdir().

301  {
303  auto th3 = new TH3F(name, title, nchX, lowX, highX, nchY, lowY, highY, nchZ, lowZ, highZ);
304  onbooking(th3);
305  return th3;
306  });
307  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book3D ( TString const &  name,
TH3F *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 309 of file DQMStore.h.

References bookME(), and MonitorElementData::TH3F.

309  {
310  return bookME(
311  name,
313  [=]() {
314  auto th3 = static_cast<TH3F*>(object->Clone(name));
315  onbooking(th3);
316  return th3;
317  },
318  /* forceReplace */ true);
319  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookFloat ( TString const &  name,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 80 of file DQMStore.h.

References bookME(), and MonitorElementData::REAL.

Referenced by DQMFEDIntegrityClient::beginJob(), DQMDaqInfo::beginJob(), HLTMuonPlotter::beginRun(), ESSummaryClient::book(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), L1TEMTFEventInfoClient::book(), L1TEventInfoClient::book(), EcalSelectiveReadoutValidation::bookFloat(), SiPixelDataQuality::bookGlobalQualityFlag(), TrackingQualityChecker::bookGlobalStatus(), CastorDigiMonitor::bookHistograms(), BeamMonitor::bookHistograms(), FakeBeamMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), DTNoiseTask::bookHistograms(), DTScalerInfoTask::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), DTSegmentAnalysisTask::bookHistograms(), DTLocalTriggerSynchTask::bookHistograms(), DTDigiTask::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), GlobalHitsTester::bookHistograms(), DTLocalTriggerBaseTask::bookHistograms(), QcdLowPtDQM::bookHistograms(), DQMProvInfo::bookHistogramsEventInfo(), DTDataIntegrityROSOffline::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), TrackingQualityChecker::bookLSStatus(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), SiStripCertificationInfo::bookSiStripCertificationMEs(), SiStripQualityChecker::bookStatus(), SiStripDaqInfo::bookStatus(), SiStripDcsInfo::bookStatus(), SiPixelPhase1Summary::bookSummaries(), TrackingCertificationInfo::bookTrackingCertificationMEs(), TrackingCertificationInfo::bookTrackingCertificationMEsAtLumi(), HLTTauCertifier::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), MuonTestSummary::dqmEndJob(), PhotonDataCertification::dqmEndJob(), CSCCertificationInfo::dqmEndJob(), CSCDaqInfo::dqmEndJob(), CSCDcsInfo::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), SiPixelCertification::dqmEndLuminosityBlock(), SiPixelDcsInfo::dqmEndLuminosityBlock(), SiPixelDaqInfo::dqmEndLuminosityBlock(), RPCEventSummary::dqmEndLuminosityBlock(), DTDCSSummary::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DQMHarvestingMetadata::dqmEndRun(), GEMDQMHarvester::drawSummaryHistogram(), dqmservices::DQMProtobufReader::load(), RPCDaqInfo::myBooker(), RPCDataCertification::myBooker(), RPCDCSSummary::myBooker(), EgHLTOfflineSummaryClient::runClient_(), DQMFileSaver::saveForOffline(), and HLXMonitor::SetupEventInfo().

80  {
82  onbooking();
83  return nullptr;
84  });
85  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookInt ( TString const &  name,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 73 of file DQMStore.h.

References bookME(), and MonitorElementData::INT.

Referenced by SiStripDcsInfo::addBadModules(), FineDelayTask::book(), hcaldqm::ContainerI::book(), SiPixelDataQuality::bookGlobalQualityFlag(), L1Scalers::bookHistograms(), DQMEventInfo::bookHistograms(), L1TRCT::bookHistograms(), PPSDiamondSampicTimingCalibrationPCLWorker::bookHistograms(), MillePedeDQMModule::bookHistograms(), HLTScalers::bookHistograms(), GlobalHitsTester::bookHistograms(), EgHLTOfflineSource::bookHistograms(), PhotonAnalyzer::bookHistogramsForHistogramCounts(), DQMProvInfo::bookHistogramsProvInfo(), HGVHistoProducerAlgo::bookInfo(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), CommissioningHistograms::copyCustomInformation(), RPCDcsInfoClient::dqmEndJob(), DQMHarvestingMetadata::dqmEndLuminosityBlock(), DQMHarvestingMetadata::dqmEndRun(), SiStripQualityChecker::fillFaultyModuleStatus(), SiStripDaqInfo::findExcludedModule(), dqmservices::DQMProtobufReader::load(), and HLXMonitor::SetupEventInfo().

73  {
75  onbooking();
76  return nullptr;
77  });
78  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
MonitorElement * dqm::implementation::IBooker::bookME ( TString const &  name,
MonitorElementData::Kind  kind,
std::function< TH1 *()>  makeobject,
bool  forceReplace = false 
)
privatevirtual

Definition at line 63 of file DQMStore.cc.

References cms::cuda::assert(), dqm::implementation::NavigatorBase::cwd_, dqm::implementation::DQMStore::debugTrackME(), MonitorElementData::Path::DIR_AND_NAME, dqm::implementation::DQMStore::findME(), das_client::fullpath(), MonitorElementData::Key::id_, MonitorElementData::key_, class-composition::kind, MonitorElementData::Key::kind_, edm::LuminosityBlockID::luminosityBlock(), hlt_dqm_clientPB-live_cfg::me, moduleID_, eostools::move(), MonitorElementData::Value::object_, fed_dqm_sourceclient-live_cfg::path, MonitorElementData::Key::path_, dqm::implementation::DQMStore::printTrace(), dqm::implementation::DQMStore::putME(), edm::LuminosityBlockID::run(), runlumi_, MonitorElementData::Key::scope_, scope_, MonitorElementData::Path::set(), store_, AlCaHLTBitMon_QueryRunRegistry::string, and MonitorElementData::value_.

Referenced by book1D(), book1DD(), book1S(), book2D(), book2DD(), book2S(), book3D(), bookFloat(), bookInt(), bookProfile(), bookProfile2D(), and bookString().

66  {
70 
71  // We should check if there is a local ME for this module and name already.
72  // However, it is easier to do that in putME().
73 
74  MonitorElement* me = store_->findME(path);
75  store_->printTrace("Booking " + std::string(name) + (me ? " (existing)" : " (new)"));
76 
77  if (me == nullptr) {
78  // no existing global ME found. We need to instantiate one, and put it
79  // into the DQMStore. This will typically be a prototype, unless run and
80  // lumi are set and we proces a legacy booking call.
81  TH1* th1 = makeobject();
82  MonitorElementData medata;
83  medata.key_.path_ = path;
84  medata.key_.kind_ = kind;
85  medata.key_.scope_ = this->scope_;
86 
87  // will be (0,0) ( = prototype) in the common case.
88  // This branching is for harvesting, where we have run/lumi in the booker.
89  if (this->scope_ == MonitorElementData::Scope::JOB) {
90  medata.key_.id_ = edm::LuminosityBlockID();
91  } else if (this->scope_ == MonitorElementData::Scope::RUN) {
92  medata.key_.id_ = edm::LuminosityBlockID(this->runlumi_.run(), 0);
93  } else if (this->scope_ == MonitorElementData::Scope::LUMI) {
94  // In the messy case of legacy-booking a LUMI ME in beginRun (or
95  // similar), where we don't have a valid lumi number yet, make sure to
96  // book a prototype instead.
97  if (this->runlumi_.run() != 0 && this->runlumi_.luminosityBlock() != 0) {
98  medata.key_.id_ = this->runlumi_;
99  } else {
100  medata.key_.id_ = edm::LuminosityBlockID();
101  }
102  } else {
103  assert(!"Illegal scope");
104  }
105 
106  medata.value_.object_ = std::unique_ptr<TH1>(th1);
107  MonitorElement* me_ptr = new MonitorElement(std::move(medata));
108  me = store_->putME(me_ptr);
109  } else {
110  if (forceReplace) {
111  TH1* th1 = makeobject();
112  assert(th1);
113  store_->debugTrackME("bookME (forceReplace)", nullptr, me);
114  // surgically replace Histogram
115  me->switchObject(std::unique_ptr<TH1>(th1));
116  }
117  }
118 
119  // me now points to a global ME owned by the DQMStore.
120  assert(me);
121 
122  // each booking call returns a unique "local" ME, which the DQMStore keeps
123  // in a container associated with the module (and potentially run, for
124  // DQMGlobalEDAnalyzer). This will later be update to point to different
125  // MEData (kept in a global ME) as needed.
126  // putME creates the local ME object as needed.
127  auto localme = store_->putME(me, this->moduleID_);
128  // me now points to a local ME owned by the DQMStore.
129  assert(localme);
130 
131  if (this->moduleID_ == 0) {
132  // this is a legacy/global/harvesting booking. In this case, we return
133  // the global directly. It is not advisable to hold this pointer, as we
134  // may delete the global ME later, but we promise to keep it valid for
135  // the entire job if there are no concurrent runs/lumis. (see
136  // assertLegacySafe option).
137  // We still created a local ME, so we can drive the lumi-changing for
138  // legacy modules in watchPreGlobalBeginLumi.
139  store_->debugTrackME("bookME (legacy)", localme, me);
140  return me;
141  } else {
142  // the normal case.
143  store_->debugTrackME("bookME (normal)", localme, me);
144  return localme;
145  }
146  }
void debugTrackME(const char *message, MonitorElement *me_local, MonitorElement *me_global) const
Definition: DQMStore.cc:279
edm::propagate_const< std::unique_ptr< TH1 > > object_
void printTrace(std::string const &message)
Definition: DQMStore.cc:210
edm::LuminosityBlockID runlumi_
Definition: DQMStore.h:481
MonitorElementData::Scope scope_
Definition: DQMStore.h:479
assert(be >=bs)
def fullpath
Definition: das_client.py:267
void set(std::string path, Path::Type type)
def move
Definition: eostools.py:511
RunNumber_t run() const
dqm::legacy::MonitorElement MonitorElement
Definition: DQMStore.h:20
MonitorElement * findME(MELIKE const &path)
Definition: DQMStore.cc:196
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * putME(MonitorElement *me)
Definition: DQMStore.cc:148
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  ,
double  lowY,
double  highY,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 322 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE.

Referenced by StripValidationPlots::beginJob(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), hcaldqm::ContainerSingleProf1D::book(), hcaldqm::ContainerProf1D::book(), HistogramManager::book(), OffsetAnalyzerDQM::PlotProfile::book(), FastTimerService::PlotsPerElement::book(), PhotonOfflineClient::book2DHistoVector(), PhotonAnalyzer::book2DHistoVector(), PhotonOfflineClient::book3DHistoVector(), PhotonAnalyzer::book3DHistoVector(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), MuonGEMBaseHarvestor::bookEff1D(), HltSusyExoPostProcessor::bookEffMEProfileFromTH1(), ESTrendTask::bookHistograms(), ZDCTask::bookHistograms(), SiPixelDigiValid::bookHistograms(), CastorDigiMonitor::bookHistograms(), HLTFiltersDQMonitor::bookHistograms(), HcalSimHitStudy::bookHistograms(), SiPixelPhase1MonitorTrackSoA::bookHistograms(), RPCRecHitValid::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), TrackingRecoMaterialAnalyser::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), CaloTowersValidation::bookHistograms(), MixCollectionValidation::bookHistograms(), OnlineBeamMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), AlcaBeamMonitor::bookHistograms(), BxTiming::bookHistograms(), EcalBarrelSimHitsValidation::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), BeamMonitor::bookHistograms(), EcalEndcapSimHitsValidation::bookHistograms(), EcalPreshowerSimHitsValidation::bookHistograms(), FakeBeamMonitor::bookHistograms(), MBUEandQCDValidation::bookHistograms(), SiPixelClusterSource::bookHistograms(), DQMLumiMonitor::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), HcalSimHitsValidation::bookHistograms(), PFClusterValidation::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), JetTester::bookHistograms(), MtdTracksValidation::bookHistograms(), LumiMonitor::bookHistograms(), StandaloneTrackMonitor::bookHistograms(), EtlSimHitsValidation::bookHistograms(), L1TRate_Offline::bookHistograms(), L1TFED::bookHistograms(), METTester::bookHistograms(), L1TRate::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), BtlSimHitsValidation::bookHistograms(), L1TGMT::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), ZdcSimHitStudy::bookHistograms(), TkConvValidator::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), LogMessageMonitor::bookHistograms(), EcalRecHitsValidation::bookHistograms(), L1TGT::bookHistograms(), HcalRecHitsValidation::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), PhotonValidator::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), SiPixelTrackingRecHitsValid::bookHistograms(), MuonIsolationDQM::bookHistograms(), TrackingMonitor::bookHistograms(), MuIsoValidation::bookHistograms(), CastorMonitorModule::bookHistograms(), GlobalHitsTester::bookHistograms(), JetTester_HeavyIons::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), EcalMixingModuleValidation::bookHistograms(), FSQDQM::bookHistograms(), JetAnalyzer::bookHistograms(), GlobalDigisAnalyzer::bookHistograms(), ExoticaDQM::bookHistograms(), PrimaryVertexAnalyzer4PUSlimmed::bookHistograms(), Primary4DVertexValidation::bookHistograms(), tadqm::TrackAnalyzer::bookHistosForBeamSpot(), tadqm::TrackAnalyzer::bookHistosForHitProperties(), tadqm::TrackAnalyzer::bookHistosForState(), tadqm::TrackAnalyzer::bookHistosForTrackerSpecific(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), TriggerDQMBase::bookME(), SiStripMonitorTrack::bookMEProfile(), SiStripTrackingRecHitsValid::bookMEProfile(), SiPixelDigiSource::bookMEs(), JetAnalyzer::bookMESetSelection(), SiStripMonitorTrack::bookMETrend(), SiStripMonitorDigi::bookMETrend(), SiStripMonitorCluster::bookMETrend(), METAnalyzer::bookMonitorElement(), CSCMonitorModule::bookMonitorObject(), MTVHistoProducerAlgoForTracker::bookMVAHistos(), ElectronDqmAnalyzerBase::bookP1(), ElectronDqmHarvesterBase::bookP1(), ScoutingAnalyzerBase::bookP1(), HcalDigisClient::bookPf(), HcalDigisValidation::bookPf(), HistoProviderDQM::bookProfile(), V0Monitor::bookProfile(), QcdUeDQM::bookProfile(), Benchmark::bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), phase2tkharvestutil::bookProfile1DFromPSet(), phase2tkutil::bookProfile1DFromPSet(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), HGVHistoProducerAlgo::bookSimClusterAssociationHistos(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HGVHistoProducerAlgo::bookTracksterCPLinkingHistos(), HGVHistoProducerAlgo::bookTracksterHistos(), SiPixelPhase1Summary::bookTrendPlots(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency1D(), DQMGenericClient::computeEfficiency(), DQMGenericClient::computeProfile(), SiStripMonitorDigi::createLayerMEs(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorPedestals::createMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorCluster::createModuleMEs(), PFClient::createProfilePlots(), SiStripMonitorDigi::createSubDetMEs(), SiStripMonitorCluster::createSubDetMEs(), EmDQMPostProcessor::dividehistos(), JetMETDQMPostProcessor::dividehistos(), GEMEfficiencyHarvester::doEfficiency(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), dqmRegisterHistogram(), HistogramManager::executeGroupBy(), FastTimerServiceClient::fillPlotsVsLumi(), for(), CommissioningHistograms::histogram(), PPSAlignmentWorker::SectorData::init(), TrackBuildingAnalyzer::initHisto(), VertexMonitor::initHisto(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), dqmservices::DQMProtobufReader::load(), MonitorElementsDb::MonitorElementsDb(), HLTTauPostProcessor::plotFilterEfficiencies(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), MuonME0DigisHarvestor::ProcessBooking(), MuonME0SegHarvestor::ProcessBooking(), ScoutingAnalyzerBase::profileX(), ElectronDqmHarvesterBase::profileX(), ScoutingAnalyzerBase::profileY(), ElectronDqmHarvesterBase::profileY(), LegacyIOHelper::readdir(), HLXMonitor::SetupHists(), PPSAlignmentWorker::SectorData::SlicePlots::SlicePlots(), and PPSAlignmentHarvester::xAlignmentRelative().

331  {
333  auto tprofile = new TProfile(name, title, nchX, lowX, highX, lowY, highY, option);
334  onbooking(tprofile);
335  return tprofile;
336  });
337  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
double  lowY,
double  highY,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 339 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE.

347  {
349  auto tprofile = new TProfile(name, title, nchX, lowX, highX, lowY, highY, option);
350  onbooking(tprofile);
351  return tprofile;
352  });
353  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile ( TString const &  name,
TString const &  title,
int  nchX,
double const *  xbinsize,
int  ,
double  lowY,
double  highY,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 355 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE.

363  {
365  auto tprofile = new TProfile(name, title, nchX, xbinsize, lowY, highY, option);
366  onbooking(tprofile);
367  return tprofile;
368  });
369  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile ( TString const &  name,
TString const &  title,
int  nchX,
double const *  xbinsize,
double  lowY,
double  highY,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 371 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE.

378  {
380  auto tprofile = new TProfile(name, title, nchX, xbinsize, lowY, highY, option);
381  onbooking(tprofile);
382  return tprofile;
383  });
384  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile ( TString const &  name,
TProfile *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 386 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE.

386  {
387  return bookME(
388  name,
390  [=]() {
391  auto tprofile = static_cast<TProfile*>(object->Clone(name));
392  onbooking(tprofile);
393  return tprofile;
394  },
395  /* forceReplace */ true);
396  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile2D ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
double  lowZ,
double  highZ,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 399 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE2D.

Referenced by ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::book(), hcaldqm::ContainerSingleProf2D::book(), hcaldqm::ContainerProf2D::book(), HistogramManager::book(), Phase2TrackerMonitorDigi::bookHistograms(), CastorRecHitMonitor::bookHistograms(), CastorDigiMonitor::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), TrackingRecoMaterialAnalyser::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), DQMLumiMonitor::bookHistograms(), EcalEndcapRecHitsValidation::bookHistograms(), EcalBarrelRecHitsValidation::bookHistograms(), TkConvValidator::bookHistograms(), GlobalHitsTester::bookHistograms(), HLTObjectsMonitor::bookHistograms(), tadqm::TrackAnalyzer::bookHistosForHitProperties(), CSCMonitorModule::bookMonitorObject(), GEMDQMBase::BookingHelper::bookProfile2D(), EcalSelectiveReadoutValidation::bookProfile2D(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), DQMGenericTnPClient::calculateEfficiency(), HeavyFlavorHarvesting::calculateEfficiency2D(), SiStripMonitorCluster::createLayerMEs(), SiStripMonitorCluster::createMEs(), SiStripMonitorCluster::createSubDetMEs(), TkHistoMap::createTkHistoMap(), dqmRegisterHistogram(), HistogramManager::executeGroupBy(), dqmservices::DQMProtobufReader::load(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBookProfile2D(), and LegacyIOHelper::readdir().

410  {
412  auto tprofile = new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option);
413  onbooking(tprofile);
414  return tprofile;
415  });
416  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile2D ( TString const &  name,
TString const &  title,
int  nchX,
double  lowX,
double  highX,
int  nchY,
double  lowY,
double  highY,
int  ,
double  lowZ,
double  highZ,
char const *  option = "s",
FUNC  onbooking = NOOP() 
)
inline

Definition at line 418 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE2D.

430  {
432  auto tprofile = new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option);
433  onbooking(tprofile);
434  return tprofile;
435  });
436  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookProfile2D ( TString const &  name,
TProfile2D *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 438 of file DQMStore.h.

References bookME(), and MonitorElementData::TPROFILE2D.

438  {
439  return bookME(
440  name,
442  [=]() {
443  auto tprofile = static_cast<TProfile2D*>(object->Clone(name));
444  onbooking(tprofile);
445  return tprofile;
446  },
447  /* forceReplace */ true);
448  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::bookString ( TString const &  name,
TString const &  value,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 87 of file DQMStore.h.

References bookME(), hlt_dqm_clientPB-live_cfg::me, MonitorElementData::STRING, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by hcaldqm::ContainerS::book(), HLTFiltersDQMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), MillePedeDQMModule::bookHistograms(), GlobalHitsTester::bookHistograms(), DQMProvInfo::bookHistogramsProvInfo(), CSCOfflineClient::bookMonitorObject(), CSCMonitorModule::bookMonitorObject(), SiStripCommissioningSource::createRunNumber(), SiStripCommissioningSource::createTask(), DQMHarvestingMetadata::dqmEndRun(), dqmservices::DQMProtobufReader::load(), CommissioningHistograms::runNumber(), CommissioningHistograms::runType(), DQMFileSaver::saveForOffline(), and HLXMonitor::SetupEventInfo().

87  {
88  std::string initial_value(value);
90  onbooking();
91  return nullptr;
92  });
93  me->Fill(initial_value);
94  return me;
95  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:63
uint64_t dqm::implementation::IBooker::setModuleID ( uint64_t  moduleID)
privatevirtual

Definition at line 51 of file DQMStore.cc.

References moduleID_.

51  {
52  auto oldid = moduleID_;
53  moduleID_ = moduleID;
54  return oldid;
55  }
edm::LuminosityBlockID dqm::implementation::IBooker::setRunLumi ( edm::LuminosityBlockID  runlumi)
privatevirtual

Definition at line 57 of file DQMStore.cc.

References runlumi_.

Referenced by dqm::implementation::DQMStore::DQMStore().

57  {
58  auto oldrunlumi = runlumi_;
59  runlumi_ = runlumi;
60  return oldrunlumi;
61  }
edm::LuminosityBlockID runlumi_
Definition: DQMStore.h:481
MonitorElementData::Scope dqm::implementation::IBooker::setScope ( MonitorElementData::Scope  newscope)
virtual

Friends And Related Function Documentation

friend class DQMStore
friend

Definition at line 46 of file DQMStore.h.

Member Data Documentation

uint64_t dqm::implementation::IBooker::moduleID_ = 0
private

Definition at line 480 of file DQMStore.h.

Referenced by bookME(), and setModuleID().

edm::LuminosityBlockID dqm::implementation::IBooker::runlumi_ = edm::LuminosityBlockID()
private

Definition at line 481 of file DQMStore.h.

Referenced by bookME(), and setRunLumi().

MonitorElementData::Scope dqm::implementation::IBooker::scope_ = MonitorElementData::Scope::JOB
private

Definition at line 479 of file DQMStore.h.

Referenced by bookME(), IBooker(), and setScope().

DQMStore* dqm::implementation::IBooker::store_ = nullptr
private

Definition at line 478 of file DQMStore.h.

Referenced by bookME(), and IBooker().