#include <BeamSpotProblemMonitor.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | bookHistograms (DQMStore::IBooker &i, const edm::Run &r, const edm::EventSetup &c) override |
void | dqmBeginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | dqmEndLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | dqmEndRun (const edm::Run &r, const edm::EventSetup &c) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... > | |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Private Member Functions | |
void | fillPlots (int &, int &, int) |
Private Attributes | |
const int | alarmOFFThreshold_ |
bool | alarmOn_ |
const int | alarmONThreshold_ |
MonitorElement * | beamSpotError_ = nullptr |
int | beamSpotFromDB_ |
double | beamSpotStatus_ |
MonitorElement * | beamSpotStatusLumi_ = nullptr |
MonitorElement * | beamSpotStatusLumiAll_ = nullptr |
const edm::EDGetTokenT< DcsStatusCollection > | dcsStatus_ |
const bool | debug_ |
const bool | doTest_ |
const int | fitNLumi_ |
int | lastlumi_ |
std::string | monitorName_ |
const int | nCosmicTrk_ |
int | nextlumi_ |
int | nTracks_ |
const bool | onlineMode_ |
bool | processed_ |
const edm::EDGetTokenT< BeamSpotOnlineCollection > | scalertag_ |
const edm::EDGetTokenT< reco::TrackCollection > | trkSrc_ |
Definition at line 26 of file BeamSpotProblemMonitor.h.
|
explicit |
Definition at line 29 of file BeamSpotProblemMonitor.cc.
References edm::ParameterSet::getUntrackedParameter().
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 123 of file BeamSpotProblemMonitor.cc.
References alarmOn_, beamSpotStatus_, DcsStatus::BPIX, dcsStatus_, doTest_, MillePedeFileConverter_cfg::e, DcsStatus::FPIX, iEvent, nCosmicTrk_, nextlumi_, nTracks_, onlineMode_, processed_, scalertag_, mps_update::status, DcsStatus::TECm, DcsStatus::TECp, DcsStatus::TIBTID, DcsStatus::TOB, HLT_2023v12_cff::track, JetHT_cfg::trackCollection, trkSrc_, BeamSpotOnline::width_x(), BeamSpotOnline::width_y(), BeamSpotOnline::x(), BeamSpotOnline::y(), and BeamSpotOnline::z().
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 70 of file BeamSpotProblemMonitor.cc.
References beamSpotError_, beamSpotStatusLumi_, beamSpotStatusLumiAll_, dqm::implementation::IBooker::book1D(), dqm::impl::MonitorElement::getTH1(), B2GTnPMonitor_cfi::histTitle, monitorName_, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), compareTotals::xtitle, and compareTotals::ytitle.
|
overrideprotectedvirtual |
Reimplemented from DQMOneLumiEDAnalyzer<>.
Definition at line 101 of file BeamSpotProblemMonitor.cc.
References fillPlots(), lastlumi_, edm::LuminosityBlockBase::luminosityBlock(), nextlumi_, onlineMode_, and processed_.
|
overrideprotectedvirtual |
Reimplemented from DQMOneLumiEDAnalyzer<>.
Definition at line 280 of file BeamSpotProblemMonitor.cc.
References edm::LuminosityBlockBase::id(), and edm::LuminosityBlockID::luminosityBlock().
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, Args... >.
Definition at line 287 of file BeamSpotProblemMonitor.cc.
References beamSpotError_, debug_, and dqm::impl::MonitorElement::Reset().
|
static |
Definition at line 53 of file BeamSpotProblemMonitor.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
private |
Definition at line 217 of file BeamSpotProblemMonitor.cc.
References alarmOFFThreshold_, alarmOn_, alarmONThreshold_, beamSpotError_, beamSpotFromDB_, beamSpotStatus_, beamSpotStatusLumi_, beamSpotStatusLumiAll_, dqm::impl::MonitorElement::Fill(), fitNLumi_, dqm::impl::MonitorElement::getQReport(), dqm::impl::MonitorElement::getTH1(), nTracks_, onlineMode_, dqm::impl::MonitorElement::Reset(), dqm::impl::MonitorElement::setBinContent(), and dqm::impl::MonitorElement::ShiftFillLast().
Referenced by dqmBeginLuminosityBlock().
|
private |
Definition at line 56 of file BeamSpotProblemMonitor.h.
Referenced by fillPlots().
|
private |
Definition at line 63 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and fillPlots().
|
private |
Definition at line 55 of file BeamSpotProblemMonitor.h.
Referenced by fillPlots().
|
private |
Definition at line 70 of file BeamSpotProblemMonitor.h.
Referenced by bookHistograms(), dqmEndRun(), and fillPlots().
|
private |
Definition at line 65 of file BeamSpotProblemMonitor.h.
Referenced by fillPlots().
|
private |
Definition at line 64 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and fillPlots().
|
private |
Definition at line 68 of file BeamSpotProblemMonitor.h.
Referenced by bookHistograms(), and fillPlots().
|
private |
Definition at line 69 of file BeamSpotProblemMonitor.h.
Referenced by bookHistograms(), and fillPlots().
|
private |
Definition at line 45 of file BeamSpotProblemMonitor.h.
Referenced by analyze().
|
private |
Definition at line 52 of file BeamSpotProblemMonitor.h.
Referenced by dqmEndRun().
|
private |
Definition at line 54 of file BeamSpotProblemMonitor.h.
Referenced by analyze().
|
private |
Definition at line 51 of file BeamSpotProblemMonitor.h.
Referenced by fillPlots().
|
private |
Definition at line 58 of file BeamSpotProblemMonitor.h.
Referenced by dqmBeginLuminosityBlock().
|
private |
Definition at line 44 of file BeamSpotProblemMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 50 of file BeamSpotProblemMonitor.h.
Referenced by analyze().
|
private |
Definition at line 59 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and dqmBeginLuminosityBlock().
|
private |
Definition at line 49 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and fillPlots().
|
private |
Definition at line 53 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), dqmBeginLuminosityBlock(), and fillPlots().
|
private |
Definition at line 60 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and dqmBeginLuminosityBlock().
|
private |
Definition at line 46 of file BeamSpotProblemMonitor.h.
Referenced by analyze().
|
private |
Definition at line 47 of file BeamSpotProblemMonitor.h.
Referenced by analyze().