#include <OnlineBeamMonitor.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 | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmEndRun (edm::Run const &, edm::EventSetup const &) override |
std::shared_ptr< onlinebeammonitor::BeamSpotInfo > | globalBeginLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) const override |
void | globalEndLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< onlinebeammonitor::BeamSpotInfo > > | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
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 Types | |
typedef std::map< std::string, reco::BeamSpot > | BeamSpotContainer |
typedef std::map< std::string, std::map< std::string, std::map< std::string, MonitorElement * > > > | HistosContainer |
typedef std::map< std::string, std::map< std::string, std::map< std::string, int > > > | PositionContainer |
Private Attributes | |
bool | appendRunTxt_ |
MonitorElement * | bsChoice_ |
edm::ESGetToken< BeamSpotOnlineObjects, BeamSpotOnlineHLTObjectsRcd > | bsHLTToken_ |
edm::ESGetToken< BeamSpotOnlineObjects, BeamSpotOnlineLegacyObjectsRcd > | bsLegacyToken_ |
edm::ESGetToken< BeamSpotObjects, BeamSpotTransientObjectsRcd > | bsTransientToken_ |
std::ofstream | fasciiDIP |
std::multimap< std::string, std::string > | histoByCategoryNames_ |
HistosContainer | histosMap_ |
std::string | monitorName_ |
int | numberOfValuesToSave_ |
std::string | outputDIPTxt_ |
PositionContainer | positionsMap_ |
std::vector< int > | processedLumis_ |
std::vector< std::string > | varNamesV_ |
bool | writeDIPTxt_ |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< onlinebeammonitor::BeamSpotInfo > > | |
typedef dqm::reco::DQMStore | DQMStore |
typedef dqm::reco::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< onlinebeammonitor::BeamSpotInfo > > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 35 of file OnlineBeamMonitor.h.
|
private |
Definition at line 50 of file OnlineBeamMonitor.h.
|
private |
Definition at line 52 of file OnlineBeamMonitor.h.
|
private |
Definition at line 54 of file OnlineBeamMonitor.h.
OnlineBeamMonitor::OnlineBeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 29 of file OnlineBeamMonitor.cc.
References edm::BeginLuminosityBlock, histoByCategoryNames_, histosMap_, monitorName_, processedLumis_, and varNamesV_.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< onlinebeammonitor::BeamSpotInfo > >.
Definition at line 80 of file OnlineBeamMonitor.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), bsChoice_, histosMap_, beamSpotPI::lastLumi, monitorName_, Skims_PA_cff::name, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::impl::MonitorElement::setEfficiencyFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< onlinebeammonitor::BeamSpotInfo > >.
Definition at line 453 of file OnlineBeamMonitor.cc.
References newFWLiteAna::bin, bsChoice_, dqm::impl::MonitorElement::getTH1(), histosMap_, beamSpotPI::lastLumi, SiStripPI::max, SiStripPI::min, processedLumis_, and jetUpdater_cfi::sort.
|
static |
Definition at line 69 of file OnlineBeamMonitor.cc.
References edm::ParameterSetDescription::addUntracked(), edm::ConfigurationDescriptions::addWithDefaultLabel(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprotected |
Definition at line 175 of file OnlineBeamMonitor.cc.
References appendRunTxt_, align::BeamSpot, bsHLTToken_, bsLegacyToken_, bsTransientToken_, endTime, reco::BeamSpot::Fake, edm::EventSetup::getHandle(), edm::LuminosityBlock::getRun(), mps_fire::i, edm::LuminosityBlockBase::id(), dqmiolumiharvest::j, edm::LuminosityBlockID::luminosityBlock(), lumiRange, makeMuonMisalignmentScenario::matrix, myStringFunctor, L1TdeCSCTF_cfi::outFile, outputDIPTxt_, print_error(), edm::RunBase::run(), reco::BeamSpot::setBeamWidthY(), startTime, AlCaHLTBitMon_QueryRunRegistry::string, reco::BeamSpot::Tracker, and writeDIPTxt_.
|
overrideprotected |
Definition at line 377 of file OnlineBeamMonitor.cc.
References bsChoice_, dqm::impl::MonitorElement::Fill(), timingPdfMaker::histo, histoByCategoryNames_, histosMap_, edm::LuminosityBlockBase::id(), edm::LuminosityBlock::index(), edm::LuminosityBlockID::luminosityBlock(), processedLumis_, dqm::impl::MonitorElement::setBinError(), align::Tracker, and varNamesV_.
|
private |
Definition at line 76 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 67 of file OnlineBeamMonitor.h.
Referenced by bookHistograms(), dqmEndRun(), and globalEndLuminosityBlock().
|
private |
Definition at line 59 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 60 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 58 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 61 of file OnlineBeamMonitor.h.
|
private |
Definition at line 73 of file OnlineBeamMonitor.h.
Referenced by globalEndLuminosityBlock(), and OnlineBeamMonitor().
|
private |
Definition at line 70 of file OnlineBeamMonitor.h.
Referenced by bookHistograms(), dqmEndRun(), globalEndLuminosityBlock(), and OnlineBeamMonitor().
|
private |
Definition at line 57 of file OnlineBeamMonitor.h.
Referenced by bookHistograms(), and OnlineBeamMonitor().
|
private |
Definition at line 64 of file OnlineBeamMonitor.h.
|
private |
Definition at line 78 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 71 of file OnlineBeamMonitor.h.
|
private |
Definition at line 65 of file OnlineBeamMonitor.h.
Referenced by dqmEndRun(), globalEndLuminosityBlock(), and OnlineBeamMonitor().
|
private |
Definition at line 72 of file OnlineBeamMonitor.h.
Referenced by globalEndLuminosityBlock(), and OnlineBeamMonitor().
|
private |
Definition at line 77 of file OnlineBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().