CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static 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>
MonitorElementbook1I (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>
MonitorElementbook1I (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>
MonitorElementbook1I (TString const &name, TH1I *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>
MonitorElementbook2I (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>
MonitorElementbook2I (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>
MonitorElementbook2I (TString const &name, TH2I *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_ = kInvalidModuleID
 
edm::LuminosityBlockID runlumi_ = edm::LuminosityBlockID()
 
MonitorElementData::Scope scope_ = MonitorElementData::Scope::JOB
 
DQMStorestore_ = nullptr
 

Static Private Attributes

static constexpr uint64_t kInvalidModuleID = std::numeric_limits<uint64_t>::max()
 

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

◆ UseJobScope

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

Definition at line 542 of file DQMStore.h.

◆ UseLumiScope

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

Definition at line 540 of file DQMStore.h.

◆ UseRunScope

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

Definition at line 541 of file DQMStore.h.

Constructor & Destructor Documentation

◆ ~IBooker()

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

Definition at line 48 of file DQMStore.cc.

48 {}

◆ IBooker()

dqm::implementation::IBooker::IBooker ( DQMStore store)
private

Definition at line 43 of file DQMStore.cc.

References scope_, and store_.

43  {
44  store_ = store;
45  scope_ = MonitorElementData::Scope::JOB;
46  }
MonitorElementData::Scope scope_
Definition: DQMStore.h:556

Member Function Documentation

◆ book1D() [1/3]

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(), Skims_PA_cff::name, MonitorElementData::TH1F, and runGCPTkAlMap::title.

Referenced by SiStripGainFromData::algoBeginJob(), TestSuite::analyze(), CTPPSCommonDQMSource::ArmPlots::ArmPlots(), DQMFEDIntegrityClient::beginJob(), BeamConditionsMonitor::beginJob(), StripValidationPlots::beginJob(), FourVectorHLT::beginJob(), DTnoiseDBValidation::beginRun(), ESPedestalClient::book(), L1TStage2CaloLayer2DEClient::book(), L1TStage2CaloLayer2DEClientSummary::book(), ecaldqm::MESetNonObject::book(), L1TStage2RatioClient::book(), L1TdeGEMTPGClient::book(), L1TdeCSCTPGClient::book(), L1ValidatorHists::Book(), ecaldqm::MESetEcal::book(), L1TGCTClient::book(), L1TDTTFClient::book(), SiPixelTrackResidualModule::book(), OffsetAnalyzerDQM::Plot1D::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(), siStripRawPrime::monitorApproxCluster::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(), HLTDQMFilterEffHists< ProbeType >::book1D(), HLTGenValHistCollFilter::book1D(), QcdUeDQM::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(), GEMDQMEfficiencySourceBase::bookChamber(), DTRunConditionVar::bookChamberHistos(), DTLocalTriggerEfficiencyTest::bookChambHistos(), DTLocalTriggerSynchTest::bookChambHistos(), L1TGMTClient::bookClone1D(), L1TGMTClient::bookClone1DVB(), HGVHistoProducerAlgo::bookClusterHistos_CellLevel(), HGVHistoProducerAlgo::bookClusterHistos_ClusterLevel(), HGVHistoProducerAlgo::bookClusterHistos_LCtoCP_association(), DTTriggerLutTest::bookCmsHistos1d(), DiMuonMassBiasMonitor::bookComponentHists(), L1TPhase2MuonOffline::bookControlHistos(), L1TMuonDQMOffline::bookControlHistos(), GEMEffByGEMCSCSegmentSource::bookCSCChamberType(), SiStripBaseCondObjDQM::bookCumulMEs(), DiMuonMassBiasMonitor::bookDecayHists(), HeavyFlavorDQMAnalyzer::bookDecayHists(), GEMEfficiencyHarvester::bookDetector1DEfficiency(), SiPixelActionExecutor::bookDeviations(), dqmoffline::l1t::L1TDiffHarvesting::L1TDiffPlotHandler::bookDiff(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram1D(), SiPixelActionExecutor::bookEfficiency(), GEMDQMEfficiencyClientBase::bookEfficiencyAuto(), L1TPhase2MuonOffline::bookEfficiencyHistos(), L1TMuonDQMOffline::bookEfficiencyHistos(), L1TEGammaOffline::bookElectronHistos(), RPCTnPEfficiencyTask::bookEndcapHistos(), 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(), HLTMuonPlotter::bookHist(), HLTHiggsSubAnalysis::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(), CSCStubEfficiencyValidation::bookHistograms(), CSCStripDigiValidation::bookHistograms(), GEMPadDigiClusterValidation::bookHistograms(), GEMSimHitValidation::bookHistograms(), GEMStripDigiValidation::bookHistograms(), CSCStubResolutionValidation::bookHistograms(), CSCComparatorDigiValidation::bookHistograms(), ESPedestalTask::bookHistograms(), L1TdeGEMTPG::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), RPCValidHistograms::bookHistograms(), ESFEDIntegrityTask::bookHistograms(), L1TScalersSCAL::bookHistograms(), ESRecoSummary::bookHistograms(), RPCMonitorRaw::bookHistograms(), L1TdeStage2CPPF::bookHistograms(), L1TdeCSCTPG::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), L1TStage2RegionalMuonShowerComp::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), L1TStage2MuonShowerComp::bookHistograms(), Tau3MuMonitor::bookHistograms(), L1Scalers::bookHistograms(), SiStripDigiValid::bookHistograms(), TrackingTruthValid::bookHistograms(), ESIntegrityTask::bookHistograms(), ESRawDataTask::bookHistograms(), RPCRecHitProbability::bookHistograms(), EcalTBValidation::bookHistograms(), MiniAODSVAnalyzer::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), L1TPhase2OuterTrackerTkMET::bookHistograms(), QcdHighPtDQM::bookHistograms(), CSCTnPEfficiencyTask::bookHistograms(), DTTnPEfficiencyTask::bookHistograms(), CastorRecHitMonitor::bookHistograms(), MonitorLTC::bookHistograms(), ShortenedTrackResolution::bookHistograms(), L1TStage2uGMTInputBxDistributions::bookHistograms(), L1TStage2uGMT::bookHistograms(), ESTimingTask::bookHistograms(), RPCTnPEfficiencyTask::bookHistograms(), SiStripMonitorFilter::bookHistograms(), SiStripMonitorHLT::bookHistograms(), RPCDigiValid::bookHistograms(), HiBasicGenTest::bookHistograms(), SiPixelDigiValid::bookHistograms(), RPCMonitorDigi::bookHistograms(), SiPixelMonitorRecHitsSoAAlpaka< T >::bookHistograms(), L1TMP7ZeroSupp::bookHistograms(), L1TStage2CaloLayer2::bookHistograms(), OuterTrackerMonitorTrackingParticles::bookHistograms(), GEMTnPEfficiencyTask::bookHistograms(), EventShapeDQM::bookHistograms(), SiPixelCompareRecHitsSoAAlpaka< T >::bookHistograms(), EgammaBasicClusters::bookHistograms(), CentralityDQM::bookHistograms(), CentralitypADQM::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), SiPixelCompareVertexSoAAlpaka::bookHistograms(), SiPixelCompareVertexSoA::bookHistograms(), SiStripBaselineValidator::bookHistograms(), L1THIonImp::bookHistograms(), ZCountingElectrons::bookHistograms(), GEMEffByGEMCSCSegmentSource::bookHistograms(), HcalFEDIntegrityTask::bookHistograms(), TagAndProbeBtagTriggerMonitor::bookHistograms(), CastorDigiMonitor::bookHistograms(), L1TPUM::bookHistograms(), SUSYDQMAnalyzer::bookHistograms(), RPCTTUMonitor::bookHistograms(), HeavyIonUCCDQM::bookHistograms(), L1TdeGCT::bookHistograms(), RPCRecHitValid::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), TotemDAQTriggerDQMSource::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), SiPixelMonitorVertexSoA::bookHistograms(), SiPixelMonitorVertexSoAAlpaka::bookHistograms(), EgammaSuperClusters::bookHistograms(), L1TDEMON::bookHistograms(), EcalPreshowerNoiseDistrib::bookHistograms(), HcalHitValidation::bookHistograms(), Phase2TrackerValidateDigi::bookHistograms(), TrackerHitAnalyzer::bookHistograms(), CosmicMuonRecoAnalyzer::bookHistograms(), BPhysicsOniaDQM::bookHistograms(), EwkElecDQM::bookHistograms(), EwkMuDQM::bookHistograms(), SiPixelMonitorTrackSoA< T >::bookHistograms(), SiPixelMonitorTrackSoAAlpaka< T >::bookHistograms(), CaloTowersValidation::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), RecoMuonValidator::bookHistograms(), CTPPSRandomDQMSource::bookHistograms(), BeamSpotProblemMonitor::bookHistograms(), MuonTiming::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), EcalFEDMonitorTemp< SUBDET >::bookHistograms(), QcdPhotonsDQM::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), DaqTestHistograms::bookHistograms(), dEdxAnalyzer::bookHistograms(), dEdxHitAnalyzer::bookHistograms(), DTOccupancyEfficiency::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), L1TObjectsTiming::bookHistograms(), PPSTimingCalibrationPCLWorker::bookHistograms(), EwkDQM::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), SiPixelRecHitsValid::bookHistograms(), BxTiming::bookHistograms(), EcalPreshowerDigisValidation::bookHistograms(), TICLPFValidation::bookHistograms(), HGCGeometryValidation::bookHistograms(), DiMuonVertexMonitor::bookHistograms(), DQMSourceEleCalib::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), SiPixelCompareRecHitsSoA< T >::bookHistograms(), PFCandidateAnalyzerDQM::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), EwkMuLumiMonitorDQM::bookHistograms(), DiMuonHistograms::bookHistograms(), EfficiencyAnalyzer::bookHistograms(), MuonEnergyDepositAnalyzer::bookHistograms(), MuonKinVsEtaAnalyzer::bookHistograms(), SiPixelMonitorRecHitsSoA< T >::bookHistograms(), DQMMessageLogger::bookHistograms(), DemoGlobalDQMEDAnalyzer::bookHistograms(), HLTVertexPerformanceAnalyzer::bookHistograms(), OnlineBeamMonitor::bookHistograms(), EcalPreshowerRecHitsValidation::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), ECALpedestalPCLworker::bookHistograms(), L1TdeStage2uGT::bookHistograms(), L1TDTTF::bookHistograms(), FakeBeamMonitor::bookHistograms(), HGCalShowerSeparation::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), L1TStage2OMTF::bookHistograms(), PFClusterValidation::bookHistograms(), AlcaBeamMonitor::bookHistograms(), DQMHcalDiJetsAlCaReco::bookHistograms(), BeamMonitor::bookHistograms(), TopDiLeptonDQM::bookHistograms(), LepHTMonitor::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), EcalEndcapRecHitsValidation::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), TriggerMatchMonitor::bookHistograms(), OuterTrackerMonitorTTTrack::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), HGCalHitCalibration::bookHistograms(), SiStripMonitorQuality::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), TrackSplittingMonitor::bookHistograms(), GlobalMuonMatchAnalyzer::bookHistograms(), HcalNoiseRates::bookHistograms(), EcalBarrelRecHitsValidation::bookHistograms(), HotlineDQM::bookHistograms(), PixelVTXMonitor::bookHistograms(), SiStripMonitorRawData::bookHistograms(), GlobalTest::bookHistograms(), EtlSimHitsValidation::bookHistograms(), JetTester::bookHistograms(), L1TRCT::bookHistograms(), ZEEDetails::bookHistograms(), DTDCSByLumiTask::bookHistograms(), DQMHcalIsoTrackAlCaReco::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), DQMHcalIterativePhiSymAlCaReco::bookHistograms(), BaseTnPEfficiencyTask::bookHistograms(), ElectronConversionRejectionValidator::bookHistograms(), DQMLumiMonitor::bookHistograms(), DQMHOAlCaRecoStream::bookHistograms(), EcalZmassTask::bookHistograms(), HiggsDQM::bookHistograms(), TrackTypeMonitor::bookHistograms(), PFCaloGPUComparisonTask::bookHistograms(), DQMSourcePi0::bookHistograms(), L1TStage2uGT::bookHistograms(), DQMHcalIsolatedBunchAlCaReco::bookHistograms(), BTagAndProbe::bookHistograms(), L1TCSCTPG::bookHistograms(), L1TDTTPG::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), DQMScalInfo::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), BtlSimHitsValidation::bookHistograms(), HGCalDigiValidation::bookHistograms(), MultiTrackValidator::bookHistograms(), MuonRecoOneHLT::bookHistograms(), HigPhotonJetHLTOfflineSource::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), HGCalRecHitValidation::bookHistograms(), PhotonValidatorMiniAOD::bookHistograms(), METTester::bookHistograms(), DTEfficiencyTask::bookHistograms(), HcalCollapseAnalyzer::bookHistograms(), L1TRate_Offline::bookHistograms(), SiPixelHitEfficiencySource::bookHistograms(), L1TFED::bookHistograms(), L1TRPCTF::bookHistograms(), BDHadronTrackMonitoringAnalyzer::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), SUSY_HLT_SingleLepton::bookHistograms(), CaloParticleValidation::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), DTCalibValidation::bookHistograms(), MuonTrackResidualAnalyzer::bookHistograms(), PPSDiamondSampicTimingCalibrationPCLWorker::bookHistograms(), L1TRate::bookHistograms(), MuonIdDQM::bookHistograms(), LumiMonitor::bookHistograms(), TauValidationMiniAOD::bookHistograms(), L1TGMT::bookHistograms(), MuonDTDigis::bookHistograms(), TICLTrackstersEdgesValidation::bookHistograms(), EcalDigisValidation::bookHistograms(), SiPixelCalSingleMuonAnalyzer::bookHistograms(), SusyDQM< Mu, Ele, Jet, Met >::bookHistograms(), ParticleNetJetTagMonitor::bookHistograms(), TkConvValidator::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), GlobalRecHitsHistogrammer::bookHistograms(), MuonSimHitsValidAnalyzer::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), B2GDoubleLeptonHLTValidation::bookHistograms(), B2GHadronicHLTValidation::bookHistograms(), B2GSingleLeptonHLTValidation::bookHistograms(), EcalRecHitsValidation::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), L1TGT::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), HLTJetMETValidation::bookHistograms(), HGCalHitValidation::bookHistograms(), L1TStage2BMTF::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), HGCalSimHitValidation::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), MuonIdVal::bookHistograms(), CorrPCCProducer::bookHistograms(), PixelLumiDQM::bookHistograms(), StandaloneTrackMonitor::bookHistograms(), L1TdeRCT::bookHistograms(), ECALMultifitAnalyzer_HI::bookHistograms(), MillePedeDQMModule::bookHistograms(), SiPixelCompareTrackSoAAlpaka< T >::bookHistograms(), L1TdeCSCTF::bookHistograms(), SiStripLorentzAnglePCLMonitor::bookHistograms(), L1TCSCTF::bookHistograms(), L1TRPCTPG::bookHistograms(), PhotonValidator::bookHistograms(), L1TStage2uGTCaloLayer2Comp::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), GEMEfficiencyAnalyzer::bookHistograms(), HLTHiggsSubAnalysis::bookHistograms(), SiStripHitEfficiencyWorker::bookHistograms(), MtdEleIsoValidation::bookHistograms(), HLTScalers::bookHistograms(), BTVHLTOfflineSource::bookHistograms(), MuonTrackAnalyzer::bookHistograms(), SiPixelTrackingRecHitsValid::bookHistograms(), MuIsoValidation::bookHistograms(), MuonIsolationDQM::bookHistograms(), SiPixelCompareTrackSoA< T >::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), TrackingMonitor::bookHistograms(), EwkElecTauHistManager::bookHistograms(), TriggerBxMonitor::bookHistograms(), TauTagValidation::bookHistograms(), RCTMonitor::bookHistograms(), CSCOfflineMonitor::bookHistograms(), PiZeroAnalyzer::bookHistograms(), GlobalHitsHistogrammer::bookHistograms(), GlobalHitsTester::bookHistograms(), JetAnalyzer_HeavyIons::bookHistograms(), JetAnalyzer_HeavyIons_matching::bookHistograms(), JetTester_HeavyIons::bookHistograms(), EmDQM::bookHistograms(), SiStripFEDMonitorPlugin::bookHistograms(), MtdTracksValidation::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), EcalMixingModuleValidation::bookHistograms(), SMPDQM::bookHistograms(), GlobalHitsAnalyzer::bookHistograms(), FSQDQM::bookHistograms(), L1TSync::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), JetAnalyzer::bookHistograms(), HLTObjectMonitor::bookHistograms(), HLTObjectMonitorProtonLead::bookHistograms(), B2GDQM::bookHistograms(), L1ExtraDQM::L1ExtraMonElement< CollectionType >::bookhistograms(), EmDQMReco::bookHistograms(), V0Validator::bookHistograms(), EgHLTOfflineSource::bookHistograms(), TriggerRatesMonitor::bookHistograms(), HLTObjectsMonitor::bookHistograms(), SiStripMonitorApproximateCluster::bookHistograms(), L1GtHwValidation::bookHistograms(), SiPixelLorentzAnglePCLWorker::bookHistograms(), L1TSync_Offline::bookHistograms(), L1TBPTX::bookHistograms(), GlobalDigisAnalyzer::bookHistograms(), ExoticaDQM::bookHistograms(), HGCalTriggerValidator::bookHistograms(), L1TGCT::bookHistograms(), GlobalRecHitsAnalyzer::bookHistograms(), BeamHaloAnalyzer::bookHistograms(), MuonTrackValidator::bookHistograms(), Primary4DVertexValidation::bookHistograms(), EwkMuTauHistManager::bookHistograms(), L1TStage2CaloLayer1::bookHistograms(), PackedCandidateTrackValidator::bookHistograms(), PhotonAnalyzer::bookHistogramsEfficiency(), DQMProvInfo::bookHistogramsLhcInfo(), SUSY_HLT_InclusiveHT::bookHistos(), SUSY_HLT_Muon_BJet::bookHistos(), SUSY_HLT_DoubleMuon_Hadronic::bookHistos(), DTResolutionAnalysisTest::bookHistos(), SUSY_HLT_PhotonHT::bookHistos(), SUSY_HLT_PhotonMET::bookHistos(), DTTriggerEfficiencyTest::bookHistos(), SUSY_HLT_Electron_BJet::bookHistos(), SUSY_HLT_DoubleEle_Hadronic::bookHistos(), DTNoiseAnalysisTest::bookHistos(), SUSY_HLT_VBF_Mu::bookHistos(), SUSY_HLT_MuonFakes::bookHistos(), SUSY_HLT_Muon_Hadronic::bookHistos(), SUSY_HLT_ElecFakes::bookHistos(), SUSY_HLT_DiJet_MET::bookHistos(), MuonPFAnalyzer::bookHistos(), SUSY_HLT_MuEle_Hadronic::bookHistos(), SUSY_HLT_alphaT::bookHistos(), DTSegmentAnalysisTest::bookHistos(), DTt0DBValidation::bookHistos(), DTResolutionTest::bookHistos(), SUSY_HLT_Razor::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTChamberEfficiencyClient::bookHistos(), DTDataIntegrityROSOffline::bookHistos(), DTEfficiencyTest::bookHistos(), DQMExample_Step1::bookHistos(), DTNoiseTask::bookHistos(), DTtTrigDBValidation::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTDataIntegrityTask::bookHistos(), DTLocalTriggerSynchTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTResolutionAnalysisTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), DTSegmentAnalysisTask::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(), PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(), 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(), SiPixelPhase1ResidualsExtra::bookMEs(), SiPixelRawDataErrorSource::bookMEs(), DiMuonMassBiasClient::bookMEs(), JetAnalyzer::bookMESetSelection(), SiStripMonitorTrack::bookModMEs(), METAnalyzer::bookMonitorElement(), CSCMonitorModule::bookMonitorObject(), MTVHistoProducerAlgoForTracker::bookMVAHistos(), SiPixelInformationExtractor::bookNoisyPixels(), GEMDQMEfficiencySourceBase::bookNumerator1D(), L1TPhase2CorrelatorOffline::bookPhase2CorrelatorHistos(), L1TEGammaOffline::bookPhotonHistos(), GEMBaseValidation::bookPIDHist(), SiStripBaseCondObjDQM::bookProfileMEs(), MTVHistoProducerAlgoForTracker::bookRecodEdxHistos(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), MTVHistoProducerAlgoForTracker::bookRecoPVAssociationHistos(), recoBSVTagInfoValidationAnalyzer::bookRecoToSim(), RPCMonitorDigi::bookRegionME(), L1TPhase2MuonOffline::bookResolutionHistos(), 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::bookTracksterHistos(), HGVHistoProducerAlgo::bookTracksterSTSHistos(), BeamMonitorBx::BookTrendHistos(), RPCMonitorDigi::bookWheelDiskME(), RPCTnPEfficiencyTask::bookWheelHistos(), DTTriggerEfficiencyTest::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), HLTBTagHarvestingAnalyzer::calculateEfficiency1D(), TotemT2DQMSource::ChannelPlots::ChannelPlots(), DiamondSampicCalibrationDQMSource::ChannelPlots::ChannelPlots(), DiamondSampicDQMSource::ChannelPlots::ChannelPlots(), TotemTimingDQMSource::ChannelPlots::ChannelPlots(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), ElectronDqmHarvesterBase::cloneH1(), HLTGenValClient::computeEfficiency(), DQMGenericClient::computeEfficiency(), HTrackVariables::computeEfficiency(), DQMGenericClient::computeResolution(), PFClient_JetRes::createEfficiencyPlots(), PFClient::createEfficiencyPlots(), GEMDQMHarvester::createInactiveChannelFracHist(), 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(), OuterTrackerMCHarvester::dqmEndJob(), DQMHcalIsoTrackPostProcessor::dqmEndJob(), MtdEleIsoHarvester::dqmEndJob(), MtdTracksHarvester::dqmEndJob(), Primary4DVertexHarvester::dqmEndJob(), RPCRecHitValidClient::dqmEndJob(), DQMExample_Step2::dqmEndJob(), L1TCSCTFClient::dqmEndJob(), TnPEfficiencyClient::dqmEndJob(), BDHadronTrackMonitoringHarvester::dqmEndJob(), OffsetDQMPostProcessor::dqmEndJob(), L1EmulatorErrorFlagClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), JetTesterPostProcessor::dqmEndJob(), PFJetDQMPostProcessor::dqmEndJob(), METTesterPostProcessor::dqmEndJob(), METTesterPostProcessorHarvesting::dqmEndJob(), BtlSimHitsHarvester::dqmEndJob(), EfficiencyPlotter::dqmEndJob(), TauDQMHistEffProducer::dqmEndJob(), BtlLocalRecoHarvester::dqmEndJob(), MuonTestSummary::dqmEndJob(), HLTMuonRefMethod::dqmEndJob(), TriggerMatchEfficiencyPlotter::dqmEndJob(), DQMScaleToClient::dqmEndJob(), MuonRecoTest::dqmEndJob(), EcalZmassClient::dqmEndJob(), SiStripHitEfficiencyHarvester::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), SiPixelLorentzAnglePCLHarvester::dqmEndJob(), SiPixelLorentzAnglePCLHarvesterMCS::dqmEndJob(), MuonRecoTest::dqmEndRun(), MuonTrackResidualsTest::dqmEndRun(), ECALpedestalPCLHarvester::dqmPlots(), HLTScalersClient::endLuminosityBlock(), AlcaBeamMonitorClient::endRun(), GlobalHitsProdHistStripper::endRun(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), SiStripQualityDQM::fillGrandSummaryMEs(), 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(), HeavyFlavorDQMAnalyzer::initComponentHists(), VertexMonitor::initHisto(), TrackBuildingAnalyzer::initHisto(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), LaserDQM::initMonitors(), L1ScalersClient::L1ScalersClient(), dqmservices::DQMProtobufReader::load(), EgHLTOfflineClient::makeEffMonElem2Leg(), EgHLTOfflineClient::makeEffMonElemFromPassAndAll(), EgHLTOfflineClient::makeEffMonElemFromPassAndFail(), EgHLTOfflineClient::makeEffMonElemFromPassAndFailAndTagTag(), TotemRPDQMHarvester::MakeHitNumberRatios(), TotemRPDQMHarvester::MakePlaneEfficiencyHistograms(), SiStripHitEfficiencyHarvester::makeSummary(), SiStripHitEfficiencyHarvester::makeSummaryVsVariable(), HLTBTagHarvestingAnalyzer::mistagrate(), HLTBTagHarvestingAnalyzer::modulesrate(), egHLT::MonElemManagerHist< T >::MonElemManagerHist(), MonitorElementsDb::MonitorElementsDb(), HeavyFlavorValidation::myBook1D(), RPCNoisyStripTest::myBooker(), RPCMultiplicityTest::myBooker(), RPCOccupancyTest::myBooker(), RPCClusterSizeTest::myBooker(), TotemT2DQMSource::PlanePlots::PlanePlots(), 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(), SiPixelTrackComparisonHarvester::project2DalongDiagonal(), SusyPostProcessor::QuantilePlots(), LegacyIOHelper::readdir(), recoBSVTagInfoValidationAnalyzer::recoBSVTagInfoValidationAnalyzer(), TotemT2DQMSource::SectorPlots::SectorPlots(), 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:67

◆ book1D() [2/3]

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(), Skims_PA_cff::name, MonitorElementData::TH1F, and runGCPTkAlMap::title.

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:67

◆ book1D() [3/3]

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(), Skims_PA_cff::name, 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:67

◆ book1DD() [1/2]

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

◆ book1DD() [2/2]

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(), Skims_PA_cff::name, 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:67

◆ book1I() [1/3]

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

Definition at line 177 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH1I, and runGCPTkAlMap::title.

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

182  {
184  auto th1 = new TH1I(name, title, nchX, lowX, highX);
185  onbooking(th1);
186  return th1;
187  });
188  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book1I() [2/3]

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

Definition at line 190 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH1I, and runGCPTkAlMap::title.

191  {
193  auto th1 = new TH1I(name, title, nchX, xbinsize);
194  onbooking(th1);
195  return th1;
196  });
197  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book1I() [3/3]

template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book1I ( TString const &  name,
TH1I *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 199 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH1I.

199  {
200  return bookME(
201  name,
203  [=]() {
204  auto th1 = static_cast<TH1I*>(object->Clone(name));
205  onbooking(th1);
206  return th1;
207  },
208  /* forceReplace */ true);
209  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book1S() [1/2]

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(), Skims_PA_cff::name, MonitorElementData::TH1S, and runGCPTkAlMap::title.

Referenced by 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:67

◆ book1S() [2/2]

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(), Skims_PA_cff::name, 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:67

◆ book2D() [1/3]

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 212 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH2F, and runGCPTkAlMap::title.

Referenced by SiStripGainFromData::algoBeginJob(), CTPPSCommonDQMSource::ArmPlots::ArmPlots(), DQMFEDIntegrityClient::beginJob(), StripValidationPlots::beginJob(), FourVectorHLT::beginJob(), RPCSummaryMapHisto::book(), ESSummaryClient::book(), ESIntegrityClient::book(), ecaldqm::MESetNonObject::book(), L1TdeCSCTPGClient::book(), L1TdeCSCTPGShowerClient::book(), L1TdeStage2RegionalShowerClient::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(), SiPixelRecHitModule::book(), TopSingleLepton::MonitorEnsemble::book(), SingleTopTChannelLepton::MonitorEnsemble::book(), TopDiLeptonOffline::MonitorEnsemble::book(), L1TEMTFEventInfoClient::book(), SiStripMonitorTrack::book(), L1TEventInfoClient::book(), TrigObjTnPHistColl::HistDefs::Data::book(), PrimaryVertexResolution::DiffPlots::book(), HistoProviderDQM::book2D(), HistoWrapper::book2D(), HLTDQMFilterEffHists< ProbeType >::book2D(), HLTGenValHistCollFilter::book2D(), GEMDQMBase::BookingHelper::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(), GEMDQMEfficiencySourceBase::bookChamberEtaPartition(), 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(), SiPixelErrorsDigisToCalibDigis::bookDQMHistogram2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistogram2D(), SiPixelErrorsDigisToCalibDigis::bookDQMHistoPlaquetteSummary2D(), SiPixelOfflineCalibAnalysisBase::bookDQMHistoPlaquetteSummary2D(), MuonGEMBaseHarvestor::bookEff2D(), SiPixelActionExecutor::bookEfficiency(), GEMDQMEfficiencyClientBase::bookEfficiencyAuto(), L1TEGammaOffline::bookElectronHistos(), RPCRollMapHisto::bookEndcap(), RPCTnPEfficiencyTask::bookEndcapHistos(), L1TStage2CaloLayer2Offline::bookEnergySumHistos(), TotemT2DQMSource::bookErrorFlagsHistogram(), DiLepPlotHelp::PlotsVsKinematics::bookFromPSet(), 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(), L1TdeCSCTPGShower::bookHistograms(), L1TdeStage2EMTF::bookHistograms(), L1TdeStage2RegionalShower::bookHistograms(), RPCMonitorRaw::bookHistograms(), L1TdeStage2CPPF::bookHistograms(), L1TScalersSCAL::bookHistograms(), L1TStage2MuonComp::bookHistograms(), L1TStage2MuonShowerComp::bookHistograms(), L1TStage2EMTF::bookHistograms(), L1TStage2RegionalMuonCandComp::bookHistograms(), L1TStage2RegionalMuonShowerComp::bookHistograms(), L1TStage2uGMTMuon::bookHistograms(), Tau3MuMonitor::bookHistograms(), L1TdeCSCTPG::bookHistograms(), ESIntegrityTask::bookHistograms(), RPCRecHitProbability::bookHistograms(), L1Scalers::bookHistograms(), L1TStage2RegionalShower::bookHistograms(), EcalTBValidation::bookHistograms(), RPCMonitorLinkSynchro::bookHistograms(), Phase2TrackerMonitorDigi::bookHistograms(), CSCTnPEfficiencyTask::bookHistograms(), QcdHighPtDQM::bookHistograms(), L1TStage2uGMT::bookHistograms(), L1TStage2uGMTInputBxDistributions::bookHistograms(), CastorRecHitMonitor::bookHistograms(), ESTimingTask::bookHistograms(), RPCDigiValid::bookHistograms(), SiPixelMonitorRecHitsSoAAlpaka< T >::bookHistograms(), L1TStage2CaloLayer2::bookHistograms(), GEMTnPEfficiencyTask::bookHistograms(), SiPixelCompareRecHitsSoAAlpaka< T >::bookHistograms(), CaloTowerAnalyzer::bookHistograms(), EgammaBasicClusters::bookHistograms(), L1THIonImp::bookHistograms(), ZCountingElectrons::bookHistograms(), TagAndProbeBtagTriggerMonitor::bookHistograms(), CastorDigiMonitor::bookHistograms(), SiStripBaselineValidator::bookHistograms(), L1TPUM::bookHistograms(), HeavyIonUCCDQM::bookHistograms(), L1TStage2CPPF::bookHistograms(), HCALRecHitAnalyzer::bookHistograms(), TotemDAQTriggerDQMSource::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), RPCRecHitValid::bookHistograms(), L1TdeGCT::bookHistograms(), CosmicMuonRecoAnalyzer::bookHistograms(), EwkElecDQM::bookHistograms(), EgammaSuperClusters::bookHistograms(), EcalPreshowerNoiseDistrib::bookHistograms(), HcalHitValidation::bookHistograms(), Phase2TrackerValidateDigi::bookHistograms(), TrackerHitAnalyzer::bookHistograms(), L1TDEMON::bookHistograms(), DTSegmentsTask::bookHistograms(), CastorLEDMonitor::bookHistograms(), ZCounting::bookHistograms(), MuonMiniAOD::bookHistograms(), CaloTowersValidation::bookHistograms(), RecoMuonValidator::bookHistograms(), L1TdeStage2CaloLayer1::bookHistograms(), TrackingRecoMaterialAnalyser::bookHistograms(), CTPPSRandomDQMSource::bookHistograms(), MuonTiming::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), SegmentTrackAnalyzer::bookHistograms(), MuonSeedsAnalyzer::bookHistograms(), L1TObjectsTiming::bookHistograms(), MuonRecoAnalyzer::bookHistograms(), PhysicsObjectsMonitor::bookHistograms(), PPSTimingCalibrationPCLWorker::bookHistograms(), HGCGeometryValidation::bookHistograms(), SiPixelCompareRecHitsSoA< T >::bookHistograms(), DQMSourceEleCalib::bookHistograms(), SiPixelMonitorRecHitsSoA< T >::bookHistograms(), TkAlCaRecoMonitor::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), EcalPreshowerRecHitsValidation::bookHistograms(), FakeBeamMonitor::bookHistograms(), GEMDAQStatusSource::bookHistograms(), L1TDTTF::bookHistograms(), BeamMonitor::bookHistograms(), L1TStage2OMTF::bookHistograms(), LepHTMonitor::bookHistograms(), L1TStage2uGTTiming::bookHistograms(), SiPixelClusterSource::bookHistograms(), TopDiLeptonDQM::bookHistograms(), HGCalShowerSeparation::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), LaserAlignmentT0ProducerDQM::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), EcalEndcapRecHitsValidation::bookHistograms(), OuterTrackerMonitorTTTrack::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), GlobalMuonMatchAnalyzer::bookHistograms(), EcalBarrelRecHitsValidation::bookHistograms(), L1TRCT::bookHistograms(), EtlSimHitsValidation::bookHistograms(), PSMonitor::bookHistograms(), DQMHcalIterativePhiSymAlCaReco::bookHistograms(), DQMHcalPhiSymAlCaReco::bookHistograms(), TriggerBxVsOrbitMonitor::bookHistograms(), L1TStage2uGT::bookHistograms(), PFCaloGPUComparisonTask::bookHistograms(), HLTBTagPerformanceAnalyzer::bookHistograms(), TrackEfficiencyMonitor::bookHistograms(), L1TDTTPG::bookHistograms(), HigPhotonJetHLTOfflineSource::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), BtlSimHitsValidation::bookHistograms(), HGCalDigiValidation::bookHistograms(), SiPixelTrackResidualSource::bookHistograms(), HGCalRecHitValidation::bookHistograms(), L1TRPCTF::bookHistograms(), Vx3DHLTAnalyzer::bookHistograms(), OuterTrackerMonitorTTCluster::bookHistograms(), MuonTrackResidualAnalyzer::bookHistograms(), DTCalibValidation::bookHistograms(), OuterTrackerMonitorTTStub::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), TauValidationMiniAOD::bookHistograms(), MuonDTDigis::bookHistograms(), TICLTrackstersEdgesValidation::bookHistograms(), DTSegmentAnalysisTask::bookHistograms(), SusyDQM< Mu, Ele, Jet, Met >::bookHistograms(), L1TGMT::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), QcdUeDQM::bookHistograms(), MuonSimHitsValidAnalyzer::bookHistograms(), TkConvValidator::bookHistograms(), DTCalibValidationFromMuons::bookHistograms(), EcalRecHitsValidation::bookHistograms(), L1TdeStage2CaloLayer2::bookHistograms(), L1TGT::bookHistograms(), LogMessageMonitor::bookHistograms(), L1TStage2BMTF::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), HGCalHitValidation::bookHistograms(), PixelLumiDQM::bookHistograms(), MuonIdVal::bookHistograms(), StandaloneTrackMonitor::bookHistograms(), HGCalSimHitValidation::bookHistograms(), ECALMultifitAnalyzer_HI::bookHistograms(), DTChamberEfficiency::bookHistograms(), L1TdeRCT::bookHistograms(), MillePedeDQMModule::bookHistograms(), L1TdeCSCTF::bookHistograms(), SiStripLorentzAnglePCLMonitor::bookHistograms(), L1TCSCTF::bookHistograms(), PhotonValidator::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), SiStripHitEfficiencyWorker::bookHistograms(), BTVHLTOfflineSource::bookHistograms(), MuonTrackAnalyzer::bookHistograms(), HLTScalers::bookHistograms(), JetMETHLTOfflineSource::bookHistograms(), L1TCompare::bookHistograms(), TriggerBxMonitor::bookHistograms(), TrackingMonitor::bookHistograms(), RCTMonitor::bookHistograms(), CSCOfflineMonitor::bookHistograms(), JetAnalyzer_HeavyIons::bookHistograms(), EmDQM::bookHistograms(), GlobalHitsTester::bookHistograms(), JetTester_HeavyIons::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), ECALRecHitAnalyzer::bookHistograms(), JetAnalyzer::bookHistograms(), L1TSync::bookHistograms(), HLTObjectsMonitor::bookHistograms(), SiPixelLorentzAnglePCLWorker::bookHistograms(), L1TSync_Offline::bookHistograms(), QcdLowPtDQM::bookHistograms(), L1TGCT::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(), DTResolutionTest::bookHistos(), SUSY_HLT_Razor::bookHistos(), DTChamberEfficiencyTest::bookHistos(), DTChamberEfficiencyClient::bookHistos(), DTDataIntegrityROSOffline::bookHistos(), DTOccupancyTest::bookHistos(), DTEfficiencyTest::bookHistos(), DTOccupancyTestML::bookHistos(), DTtTrigDBValidation::bookHistos(), DTDataIntegrityTask::bookHistos(), DTChamberEfficiencyTask::bookHistos(), DTLocalTriggerTask::bookHistos(), DTLocalTriggerLutTask::bookHistos(), RecoMuonValidator::MuonME::bookHistos(), DTLocalTriggerBaseTask::bookHistos(), tadqm::TrackAnalyzer::bookHistosForState(), DTDataIntegrityTask::bookHistosROS(), ME0BaseValidation::BookHistXY(), ME0BaseValidation::BookHistZR(), L1TStage2CaloLayer2Offline::bookJetHistos(), Phase2TrackerMonitorDigi::bookLayerHistos(), Phase2TrackerValidateDigi::bookLayerHistos(), SiStripMonitorTrack::bookLayerMEs(), TriggerDQMBase::bookME(), SiStripMonitorTrack::bookME2D(), SiStripMonitorCluster::bookME2D(), TrackFoldedOccupancyClient::bookMEs(), SiPixelDigiSource::bookMEs(), TrackEfficiencyClient::bookMEs(), METAnalyzer::bookMonitorElement(), CSCMonitorModule::bookMonitorObject(), GEMDQMEfficiencySourceBase::bookNumerator2D(), DTPreCalibrationTask::bookOccupancyPlot(), SiPixelActionExecutor::bookOccupancyPlots(), L1TPhase2CorrelatorOffline::bookPhase2CorrelatorHistos(), L1TEGammaOffline::bookPhotonHistos(), DiLepPlotHelp::PlotsVsKinematics::bookPlots(), 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::bookTracksterHistos(), HGVHistoProducerAlgo::bookTracksterSTSHistos(), DTTnPEfficiencyTask::bookWheelHistos(), RPCTnPEfficiencyTask::bookWheelHistos(), DTTriggerEfficiencyTest::bookWheelHistos(), DTTriggerEfficiencyTask::bookWheelHistos(), DTRunConditionVarClient::bookWheelHistos(), DTLocalTriggerBaseTest::bookWheelHistos(), GEMBaseValidation::bookXYOccupancy(), GEMBaseValidation::bookZROccupancy(), TotemTimingDQMSource::ChannelPlots::ChannelPlots(), CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots(), HLTGenValClient::computeEfficiency(), 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(), RPCDcsInfoClient::dqmEndJob(), TrackingDQMClientHeavyIons::dqmEndJob(), SiPixelTrackComparisonHarvester::dqmEndJob(), TnPEfficiencyClient::dqmEndJob(), L1TDTTPGClient::dqmEndJob(), TriggerRatesMonitorClient::dqmEndJob(), DataCertificationJetMET::dqmEndJob(), MuonTestSummary::dqmEndJob(), HLTMuonRefMethod::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), SiPixelPhase1EfficiencyExtras::dqmEndJob(), PhotonDataCertification::dqmEndJob(), DQMCorrelationClient::dqmEndJob(), SiStripLorentzAnglePCLHarvester::dqmEndJob(), HLTMuonCertSummary::dqmEndJob(), DTRunConditionVarClient::dqmEndJob(), JetMETHLTOfflineClient::dqmEndJob(), SiPixelLorentzAnglePCLHarvester::dqmEndJob(), BrilClient::dqmEndLuminosityBlock(), DTCertificationSummary::dqmEndLuminosityBlock(), DTDCSByLumiSummary::dqmEndLuminosityBlock(), DTDAQInfo::dqmEndLuminosityBlock(), DTBlockedROChannelsTest::dqmEndLuminosityBlock(), DTDataIntegrityTest::dqmEndLuminosityBlock(), DTSummaryClients::dqmEndLuminosityBlock(), DTOccupancyTest::dqmEndLuminosityBlock(), DTOccupancyTestML::dqmEndLuminosityBlock(), ECALpedestalPCLHarvester::dqmPlots(), HistogramManager::executeGroupBy(), SiPixelActionExecutor::fillFEDErrorSummary(), SiStripCablingDQM::getActiveDetIds(), 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(), 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().

220  {
222  auto th2 = new TH2F(name, title, nchX, lowX, highX, nchY, lowY, highY);
223  onbooking(th2);
224  return th2;
225  });
226  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2D() [2/3]

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 228 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH2F, and runGCPTkAlMap::title.

234  {
236  auto th2 = new TH2F(name, title, nchX, xbinsize, nchY, ybinsize);
237  onbooking(th2);
238  return th2;
239  });
240  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2D() [3/3]

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 242 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH2F.

242  {
243  return bookME(
244  name,
246  [=]() {
247  auto th2 = static_cast<TH2F*>(object->Clone(name));
248  onbooking(th2);
249  return th2;
250  },
251  /* forceReplace */ true);
252  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2DD() [1/2]

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

◆ book2DD() [2/2]

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 354 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH2D.

354  {
355  return bookME(
356  name,
358  [=]() {
359  auto th2 = static_cast<TH2D*>(object->Clone(name));
360  onbooking(th2);
361  return th2;
362  },
363  /* forceReplace */ true);
364  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2I() [1/3]

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

◆ book2I() [2/3]

template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2I ( TString const &  name,
TString const &  title,
int  nchX,
float const *  xbinsize,
int  nchY,
float const *  ybinsize,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 312 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH2I, and runGCPTkAlMap::title.

318  {
320  auto th2 = new TH2I(name, title, nchX, xbinsize, nchY, ybinsize);
321  onbooking(th2);
322  return th2;
323  });
324  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2I() [3/3]

template<typename FUNC = NOOP, std::enable_if_t< not std::is_arithmetic< FUNC >::value, int > = 0>
MonitorElement* dqm::implementation::IBooker::book2I ( TString const &  name,
TH2I *  object,
FUNC  onbooking = NOOP() 
)
inline

Definition at line 326 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH2I.

326  {
327  return bookME(
328  name,
330  [=]() {
331  auto th2 = static_cast<TH2I*>(object->Clone(name));
332  onbooking(th2);
333  return th2;
334  },
335  /* forceReplace */ true);
336  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2S() [1/3]

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 254 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH2S, and runGCPTkAlMap::title.

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

262  {
264  auto th2 = new TH2S(name, title, nchX, lowX, highX, nchY, lowY, highY);
265  onbooking(th2);
266  return th2;
267  });
268  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2S() [2/3]

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 270 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH2S, and runGCPTkAlMap::title.

276  {
278  auto th2 = new TH2S(name, title, nchX, xbinsize, nchY, ybinsize);
279  onbooking(th2);
280  return th2;
281  });
282  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book2S() [3/3]

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 284 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH2S.

284  {
285  return bookME(
286  name,
288  [=]() {
289  auto th2 = static_cast<TH2S*>(object->Clone(name));
290  onbooking(th2);
291  return th2;
292  },
293  /* forceReplace */ true);
294  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book3D() [1/2]

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 367 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, MonitorElementData::TH3F, and runGCPTkAlMap::title.

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

378  {
380  auto th3 = new TH3F(name, title, nchX, lowX, highX, nchY, lowY, highY, nchZ, lowZ, highZ);
381  onbooking(th3);
382  return th3;
383  });
384  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ book3D() [2/2]

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 386 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TH3F.

386  {
387  return bookME(
388  name,
390  [=]() {
391  auto th3 = static_cast<TH3F*>(object->Clone(name));
392  onbooking(th3);
393  return th3;
394  },
395  /* forceReplace */ true);
396  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookFloat()

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(), Skims_PA_cff::name, 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(), FakeBeamMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), BeamMonitor::bookHistograms(), DTScalerInfoTask::bookHistograms(), DTNoiseTask::bookHistograms(), HLTInclusiveVBFSource::bookHistograms(), Vx3DHLTAnalyzer::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(), MuonTestSummary::dqmEndJob(), DTOfflineSummaryClients::dqmEndJob(), CSCDcsInfo::dqmEndJob(), CSCDaqInfo::dqmEndJob(), CSCCertificationInfo::dqmEndJob(), PhotonDataCertification::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(), RPCDataCertification::myBooker(), RPCDCSSummary::myBooker(), RPCDaqInfo::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:67

◆ bookInt()

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

◆ bookME()

MonitorElement * dqm::implementation::IBooker::bookME ( TString const &  name,
MonitorElementData::Kind  kind,
std::function< TH1 *()>  makeobject,
bool  forceReplace = false 
)
privatevirtual

Definition at line 67 of file DQMStore.cc.

References cms::cuda::assert(), dqm::implementation::NavigatorBase::cwd_, dqm::implementation::DQMStore::debugTrackME(), MonitorElementData::Path::DIR_AND_NAME, Exception, dqm::implementation::DQMStore::findME(), reco_skim_cfg_mod::fullpath, dqm::implementation::DQMStore::getMEsToSave(), dqm::implementation::DQMStore::getMode(), MonitorElementData::Key::id_, MonitorElementData::key_, CalibrationSummaryClient_cfi::kind, MonitorElementData::Key::kind_, edm::LuminosityBlockID::luminosityBlock(), hlt_dqm_clientPB-live_cfg::me, EcalMEFormatter_cfi::MEs, moduleID_, eostools::move(), Skims_PA_cff::name, MonitorElementData::Value::object_, castor_dqm_sourceclient_file_cfg::path, MonitorElementData::Key::path_, dqm::implementation::DQMStore::printTrace(), dqm::implementation::DQMStore::putME(), edm::LuminosityBlockID::run(), runlumi_, dqm::implementation::s_safe, MonitorElementData::Key::scope_, scope_, store_, AlCaHLTBitMon_QueryRunRegistry::string, fetchall_from_DQM::thepath, and MonitorElementData::value_.

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

70  {
73 
74  auto pathToCheck{fullpath};
75  std::string limiter{".root:/"}; // this indicates that all the substring before is a file name
76  size_t pos = pathToCheck.find(limiter); //find location of limiter
77  //delete everything prior to location found as it might contain illegal chars
78  pathToCheck.erase(0, pos + limiter.size());
79 
80  if (pathToCheck.find_first_not_of(s_safe) != std::string::npos) {
81  throw cms::Exception("BadMonitorElementPathName")
82  << " Monitor element path name: '" << pathToCheck.c_str() << "' uses unacceptable characters."
83  << "\n Acceptable characters are: " << s_safe.c_str();
84  }
85 
87 
88  // We should check if there is a local ME for this module and name already.
89  // However, it is easier to do that in putME().
90 
92  store_->printTrace("Booking " + std::string(name) + (me ? " (existing)" : " (new)"));
93 
94  if (me == nullptr) {
95  // no existing global ME found. We need to instantiate one, and put it
96  // into the DQMStore. This will typically be a prototype, unless run and
97  // lumi are set and we proces a legacy booking call.
98  TH1* th1 = makeobject();
99  MonitorElementData medata;
100  medata.key_.path_ = path;
101  medata.key_.kind_ = kind;
102 
103  const auto& MEs = store_->getMEsToSave();
104 
105  if (not MEs.empty() && not store_->getMode()) {
106  bool pathInList = false;
107  for (const auto& thepath : MEs) {
108  if (fullpath == thepath) {
109  medata.key_.scope_ = MonitorElementData::Scope::LUMI;
110  pathInList = true;
111  break;
112  }
113  }
114  if (not pathInList)
115  medata.key_.scope_ = this->scope_;
116  } else
117  medata.key_.scope_ = this->scope_;
118 
119  // will be (0,0) ( = prototype) in the common case.
120  // This branching is for harvesting, where we have run/lumi in the booker.
121  if (medata.key_.scope_ == MonitorElementData::Scope::JOB) {
122  medata.key_.id_ = edm::LuminosityBlockID();
123  } else if (medata.key_.scope_ == MonitorElementData::Scope::RUN) {
124  medata.key_.id_ = edm::LuminosityBlockID(this->runlumi_.run(), 0);
125  } else if (medata.key_.scope_ == MonitorElementData::Scope::LUMI) {
126  // In the messy case of legacy-booking a LUMI ME in beginRun (or
127  // similar), where we don't have a valid lumi number yet, make sure to
128  // book a prototype instead.
129  if (this->runlumi_.run() != 0 && this->runlumi_.luminosityBlock() != 0) {
130  medata.key_.id_ = this->runlumi_;
131  } else {
132  medata.key_.id_ = edm::LuminosityBlockID();
133  }
134  } else {
135  assert(!"Illegal scope");
136  }
137 
138  medata.value_.object_ = std::unique_ptr<TH1>(th1);
139  MonitorElement* me_ptr = new MonitorElement(std::move(medata));
140  me = store_->putME(me_ptr);
141  } else {
142  if (forceReplace) {
143  TH1* th1 = makeobject();
144  assert(th1);
145  store_->debugTrackME("bookME (forceReplace)", nullptr, me);
146  // surgically replace Histogram
147  me->switchObject(std::unique_ptr<TH1>(th1));
148  }
149  }
150 
151  // me now points to a global ME owned by the DQMStore.
152  assert(me);
153 
154  // each booking call returns a unique "local" ME, which the DQMStore keeps
155  // in a container associated with the module (and potentially run, for
156  // DQMGlobalEDAnalyzer). This will later be update to point to different
157  // MEData (kept in a global ME) as needed.
158  // putME creates the local ME object as needed.
159  auto localme = store_->putME(me, this->moduleID_);
160  // me now points to a local ME owned by the DQMStore.
161  assert(localme);
162 
163  if (this->moduleID_ == 0) {
164  // this is a legacy/global/harvesting booking. In this case, we return
165  // the global directly. It is not advisable to hold this pointer, as we
166  // may delete the global ME later, but we promise to keep it valid for
167  // the entire job if there are no concurrent runs/lumis. (see
168  // assertLegacySafe option).
169  // We still created a local ME, so we can drive the lumi-changing for
170  // legacy modules in watchPreGlobalBeginLumi.
171  store_->debugTrackME("bookME (legacy)", localme, me);
172  return me;
173  } else {
174  // the normal case.
175  store_->debugTrackME("bookME (normal)", localme, me);
176  return localme;
177  }
178  }
LuminosityBlockNumber_t luminosityBlock() const
const auto & getMEsToSave() const
Definition: DQMStore.h:756
edm::propagate_const< std::unique_ptr< TH1 > > object_
void printTrace(std::string const &message)
Definition: DQMStore.cc:242
edm::LuminosityBlockID runlumi_
Definition: DQMStore.h:559
MonitorElementData::Scope scope_
Definition: DQMStore.h:556
assert(be >=bs)
RunNumber_t run() const
dqm::legacy::MonitorElement MonitorElement
Definition: DQMStore.h:20
MonitorElement * findME(MELIKE const &path)
Definition: DQMStore.cc:228
MonitorElement * putME(MonitorElement *me)
Definition: DQMStore.cc:180
const bool & getMode() const
Definition: DQMStore.h:758
static const std::string s_safe
Definition: DQMStore.cc:18
void debugTrackME(const char *message, MonitorElement *me_local, MonitorElement *me_global) const
Definition: DQMStore.cc:311
def move(src, dest)
Definition: eostools.py:511

◆ bookProfile() [1/5]

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 399 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE.

Referenced by StripValidationPlots::beginJob(), SiStripLAProfileBooker::beginRun(), ecaldqm::MESetNonObject::book(), ecaldqm::MESetEcal::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(), SiPixelDigiValid::bookHistograms(), HLTFiltersDQMonitor::bookHistograms(), CastorDigiMonitor::bookHistograms(), RPCRecHitValid::bookHistograms(), PrimaryVertexMonitor::bookHistograms(), SiPixelMonitorTrackSoAAlpaka< T >::bookHistograms(), SiPixelMonitorTrackSoA< T >::bookHistograms(), TrackingRecoMaterialAnalyser::bookHistograms(), CaloTowersValidation::bookHistograms(), DemoNormalDQMEDAnalyzer::bookHistograms(), DemoOneDQMEDAnalyzer::bookHistograms(), MixCollectionValidation::bookHistograms(), BxTiming::bookHistograms(), EcalPileUpDepMonitor::bookHistograms(), OnlineBeamMonitor::bookHistograms(), EtlDigiHitsValidation::bookHistograms(), FakeBeamMonitor::bookHistograms(), SiPixelClusterSource::bookHistograms(), PFClusterValidation::bookHistograms(), AlcaBeamMonitor::bookHistograms(), CTPPSPixelDQMSource::bookHistograms(), BeamMonitor::bookHistograms(), CaloTowersAnalyzer::bookHistograms(), EcalBarrelDigisValidation::bookHistograms(), BtlDigiHitsValidation::bookHistograms(), EcalEndcapDigisValidation::bookHistograms(), EtlSimHitsValidation::bookHistograms(), JetTester::bookHistograms(), DQMLumiMonitor::bookHistograms(), BtlSimHitsValidation::bookHistograms(), METTester::bookHistograms(), L1TRate_Offline::bookHistograms(), L1TFED::bookHistograms(), EtlLocalRecoValidation::bookHistograms(), L1TRate::bookHistograms(), LumiMonitor::bookHistograms(), L1TGMT::bookHistograms(), BtlLocalRecoValidation::bookHistograms(), TkConvValidator::bookHistograms(), GlobalDigisHistogrammer::bookHistograms(), L1TGT::bookHistograms(), EcalRecHitsValidation::bookHistograms(), LogMessageMonitor::bookHistograms(), HcalRecHitsAnalyzer::bookHistograms(), StandaloneTrackMonitor::bookHistograms(), SiStripFEDCheckPlugin::bookHistograms(), PhotonValidator::bookHistograms(), DQMPFCandidateAnalyzer::bookHistograms(), SiStripHitEfficiencyWorker::bookHistograms(), MuIsoValidation::bookHistograms(), SiPixelTrackingRecHitsValid::bookHistograms(), MuonIsolationDQM::bookHistograms(), TrackingMonitor::bookHistograms(), CastorMonitorModule::bookHistograms(), JetTester_HeavyIons::bookHistograms(), GlobalHitsTester::bookHistograms(), MtdTracksValidation::bookHistograms(), ZToMuMuGammaAnalyzer::bookHistograms(), EcalMixingModuleValidation::bookHistograms(), FSQDQM::bookHistograms(), JetAnalyzer::bookHistograms(), GlobalDigisAnalyzer::bookHistograms(), ExoticaDQM::bookHistograms(), Primary4DVertexValidation::bookHistograms(), tadqm::TrackAnalyzer::bookHistosForBeamSpot(), tadqm::TrackAnalyzer::bookHistosForHitProperties(), tadqm::TrackAnalyzer::bookHistosForState(), tadqm::TrackAnalyzer::bookHistosForTrackerSpecific(), PrimaryVertexMonitor::IPMonitoring::bookIPMonitor(), 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(), HistoProviderDQM::bookProfile(), V0Monitor::bookProfile(), QcdUeDQM::bookProfile(), EcalSelectiveReadoutValidation::bookProfile(), phase2tkharvestutil::bookProfile1DFromPSet(), phase2tkutil::bookProfile1DFromPSet(), MTVHistoProducerAlgoForTracker::bookRecoHistos(), HGVHistoProducerAlgo::bookSimClusterAssociationHistos(), SiStripBaseCondObjDQM::bookSummaryMEs(), SiStripBaseCondObjDQM::bookSummaryProfileMEs(), HGVHistoProducerAlgo::bookTracksterHistos(), HGVHistoProducerAlgo::bookTracksterSTSHistos(), 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(), EmDQMPostProcessor::dqmEndJob(), HltSusyExoPostProcessor::dqmEndJob(), PPSTimingCalibrationPCLHarvester::dqmEndJob(), SiStripLorentzAnglePCLHarvester::dqmEndJob(), HistogramManager::executeGroupBy(), FastTimerServiceClient::fillPlotsVsLumi(), DiMuonMassBiasClient::fitAndFillProfile(), CommissioningHistograms::histogram(), PPSAlignmentWorker::SectorData::init(), VertexMonitor::initHisto(), TrackBuildingAnalyzer::initHisto(), SiStripBadAPVandHotStripAlgorithmFromClusterOccupancy::initializeDQMHistograms(), dqmservices::DQMProtobufReader::load(), SiStripHitEfficiencyHarvester::makeSummary(), SiStripHitEfficiencyHarvester::makeSummaryVsVariable(), MonitorElementsDb::MonitorElementsDb(), HLTTauPostProcessor::plotFilterEfficiencies(), CTPPSDiamondDQMSource::PotPlots::PotPlots(), MuonME0SegHarvestor::ProcessBooking(), MuonME0DigisHarvestor::ProcessBooking(), ScoutingAnalyzerBase::profileX(), ElectronDqmHarvesterBase::profileX(), ScoutingAnalyzerBase::profileY(), ElectronDqmHarvesterBase::profileY(), LegacyIOHelper::readdir(), HLXMonitor::SetupHists(), PPSAlignmentWorker::SectorData::SlicePlots::SlicePlots(), and PPSAlignmentHarvester::xAlignmentRelative().

408  {
410  auto tprofile = new TProfile(name, title, nchX, lowX, highX, lowY, highY, option);
411  onbooking(tprofile);
412  return tprofile;
413  });
414  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile() [2/5]

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 416 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE.

424  {
426  auto tprofile = new TProfile(name, title, nchX, lowX, highX, lowY, highY, option);
427  onbooking(tprofile);
428  return tprofile;
429  });
430  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile() [3/5]

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 432 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE.

440  {
442  auto tprofile = new TProfile(name, title, nchX, xbinsize, lowY, highY, option);
443  onbooking(tprofile);
444  return tprofile;
445  });
446  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile() [4/5]

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 448 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE.

455  {
457  auto tprofile = new TProfile(name, title, nchX, xbinsize, lowY, highY, option);
458  onbooking(tprofile);
459  return tprofile;
460  });
461  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile() [5/5]

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 463 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TPROFILE.

463  {
464  return bookME(
465  name,
467  [=]() {
468  auto tprofile = static_cast<TProfile*>(object->Clone(name));
469  onbooking(tprofile);
470  return tprofile;
471  },
472  /* forceReplace */ true);
473  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile2D() [1/3]

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 476 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE2D.

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

487  {
489  auto tprofile = new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option);
490  onbooking(tprofile);
491  return tprofile;
492  });
493  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile2D() [2/3]

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 495 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, fileinputsource_cfi::option, runGCPTkAlMap::title, and MonitorElementData::TPROFILE2D.

507  {
509  auto tprofile = new TProfile2D(name, title, nchX, lowX, highX, nchY, lowY, highY, lowZ, highZ, option);
510  onbooking(tprofile);
511  return tprofile;
512  });
513  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookProfile2D() [3/3]

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 515 of file DQMStore.h.

References bookME(), Skims_PA_cff::name, and MonitorElementData::TPROFILE2D.

515  {
516  return bookME(
517  name,
519  [=]() {
520  auto tprofile = static_cast<TProfile2D*>(object->Clone(name));
521  onbooking(tprofile);
522  return tprofile;
523  },
524  /* forceReplace */ true);
525  }
virtual MonitorElement * bookME(TString const &name, MonitorElementData::Kind kind, std::function< TH1 *()> makeobject, bool forceReplace=false)
Definition: DQMStore.cc:67

◆ bookString()

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, Skims_PA_cff::name, MonitorElementData::STRING, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by HLTFiltersDQMonitor::bookHistograms(), DQMEventInfo::bookHistograms(), MillePedeDQMModule::bookHistograms(), HLTGenValSource::bookHistograms(), GlobalHitsTester::bookHistograms(), DQMProvInfo::bookHistogramsProvInfo(), HLTGenValHistCollPath::bookHists(), 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:67
Definition: value.py:1

◆ setModuleID()

uint64_t dqm::implementation::IBooker::setModuleID ( uint64_t  moduleID)
privatevirtual

Definition at line 55 of file DQMStore.cc.

References moduleID_.

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

55  {
56  auto oldid = moduleID_;
57  moduleID_ = moduleID;
58  return oldid;
59  }

◆ setRunLumi()

edm::LuminosityBlockID dqm::implementation::IBooker::setRunLumi ( edm::LuminosityBlockID  runlumi)
privatevirtual

Definition at line 61 of file DQMStore.cc.

References runlumi_.

Referenced by dqm::implementation::DQMStore::bookTransaction(), and dqm::implementation::DQMStore::DQMStore().

61  {
62  auto oldrunlumi = runlumi_;
63  runlumi_ = runlumi;
64  return oldrunlumi;
65  }
edm::LuminosityBlockID runlumi_
Definition: DQMStore.h:559

◆ setScope()

MonitorElementData::Scope dqm::implementation::IBooker::setScope ( MonitorElementData::Scope  newscope)
virtual

Friends And Related Function Documentation

◆ DQMStore

friend class DQMStore
friend

Definition at line 46 of file DQMStore.h.

Member Data Documentation

◆ kInvalidModuleID

constexpr uint64_t dqm::implementation::IBooker::kInvalidModuleID = std::numeric_limits<uint64_t>::max()
staticprivate

Definition at line 557 of file DQMStore.h.

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

◆ moduleID_

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

Definition at line 558 of file DQMStore.h.

Referenced by bookME(), and setModuleID().

◆ runlumi_

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

Definition at line 559 of file DQMStore.h.

Referenced by bookME(), and setRunLumi().

◆ scope_

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

Definition at line 556 of file DQMStore.h.

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

◆ store_

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

Definition at line 555 of file DQMStore.h.

Referenced by bookME(), and IBooker().