#include <BeamConditionsMonitor.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
void | endJob () override |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 Attributes | |
edm::ESGetToken < BeamSpotObjects, BeamSpotObjectsRcd > | beamSpotToken_ |
edm::InputTag | bsSrc_ |
BeamSpotObjects | condBeamSpot |
int | countEvt_ |
int | countLumi_ |
DQMStore * | dbe_ |
bool | debug_ |
MonitorElement * | h_x0_lumi |
MonitorElement * | h_y0_lumi |
std::string | monitorName_ |
edm::ParameterSet | parameters_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Definition at line 26 of file BeamConditionsMonitor.h.
Definition at line 32 of file BeamConditionsMonitor.h.
Definition at line 31 of file BeamConditionsMonitor.h.
BeamConditionsMonitor::BeamConditionsMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 27 of file BeamConditionsMonitor.cc.
References beamSpotToken_, bsSrc_, dbe_, debug_, edm::EDConsumerBase::esConsumes(), edm::ParameterSet::getUntrackedParameter(), monitorName_, Utilities::operator, and parameters_.
|
override |
Definition at line 39 of file BeamConditionsMonitor.cc.
|
overrideprotectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 67 of file BeamConditionsMonitor.cc.
References beamSpotToken_, condBeamSpot, countEvt_, and edm::EventSetup::getData().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 42 of file BeamConditionsMonitor.cc.
References dqm::implementation::IBooker::book1D(), dbe_, dqm::legacy::MonitorElement::getTH1(), h_x0_lumi, h_y0_lumi, monitorName_, dqm::impl::MonitorElement::setAxisTitle(), and dqm::implementation::DQMStore::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file BeamConditionsMonitor.cc.
References countLumi_.
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 73 of file BeamConditionsMonitor.cc.
References condBeamSpot, BeamSpotObjects::GetX(), BeamSpotObjects::GetXError(), BeamSpotObjects::GetY(), BeamSpotObjects::GetYError(), h_x0_lumi, h_y0_lumi, and dqm::impl::MonitorElement::ShiftFillLast().
|
overrideprotectedvirtual |
|
private |
Definition at line 59 of file BeamConditionsMonitor.h.
Referenced by analyze(), and BeamConditionsMonitor().
|
private |
Definition at line 58 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor().
|
private |
Definition at line 68 of file BeamConditionsMonitor.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 64 of file BeamConditionsMonitor.h.
Referenced by analyze().
|
private |
Definition at line 65 of file BeamConditionsMonitor.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 62 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), and beginJob().
|
private |
Definition at line 60 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor().
|
private |
Definition at line 71 of file BeamConditionsMonitor.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 72 of file BeamConditionsMonitor.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 57 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), and beginJob().
|
private |
Definition at line 56 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), and Mixins._TypedParameterizable::copy().