#include <AlcaBeamMonitor.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 &iEvent, const edm::EventSetup &iSetup) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmEndRun (edm::Run const &, edm::EventSetup const &) override |
std::shared_ptr< alcabeammonitor::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< alcabeammonitor::BeamSpotInfo > > | |
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 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 | |
const edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > | beamSpotToken_ |
MonitorElement * | hD0Phi0_ |
MonitorElement * | hDxyBS_ |
std::multimap< std::string, std::string > | histoByCategoryNames_ |
HistosContainer | histosMap_ |
std::string | monitorName_ |
int | numberOfValuesToSave_ |
bool | perLSsaving_ |
PositionContainer | positionsMap_ |
const edm::EDGetTokenT< reco::VertexCollection > | primaryVertexLabel_ |
std::vector< int > | processedLumis_ |
const edm::EDGetTokenT< reco::BeamSpot > | scalerLabel_ |
std::unique_ptr< BeamFitter > | theBeamFitter_ |
std::unique_ptr< PVFitter > | thePVFitter_ |
const edm::EDGetTokenT< reco::TrackCollection > | trackLabel_ |
std::vector< std::string > | varNamesV_ |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::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< alcabeammonitor::BeamSpotInfo > > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 56 of file AlcaBeamMonitor.h.
|
private |
Definition at line 72 of file AlcaBeamMonitor.h.
|
private |
Definition at line 74 of file AlcaBeamMonitor.h.
|
private |
Definition at line 76 of file AlcaBeamMonitor.h.
AlcaBeamMonitor::AlcaBeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 31 of file AlcaBeamMonitor.cc.
References edm::BeginLuminosityBlock, edm::EDConsumerBase::consumesCollector(), histoByCategoryNames_, histosMap_, monitorName_, perLSsaving_, processedLumis_, theBeamFitter_, thePVFitter_, and varNamesV_.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::BeamSpotInfo > >.
Definition at line 278 of file AlcaBeamMonitor.cc.
References reco::BeamSpot::Fake, dqm::impl::MonitorElement::Fill(), hD0Phi0_, hDxyBS_, iEvent, eostools::move(), primaryVertexLabel_, L1TEGammaOffline_cfi::PVCollection, scalerLabel_, theBeamFitter_, thePVFitter_, HLT_2024v14_cff::track, reco::BeamSpot::Tracker, trackLabel_, DiMuonV_cfg::tracks, and AlignmentTracksFromVertexSelector_cfi::vertices.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::BeamSpotInfo > >.
Definition at line 103 of file AlcaBeamMonitor.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), hD0Phi0_, hDxyBS_, histosMap_, beamSpotPI::lastLumi, genParticles_cff::map, 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< alcabeammonitor::BeamSpotInfo > >.
Definition at line 503 of file AlcaBeamMonitor.cc.
References newFWLiteAna::bin, histosMap_, beamSpotPI::lastLumi, genParticles_cff::map, SiStripPI::max, allConversions_cfi::maxDelta, SiStripPI::min, processedLumis_, edm::second(), and jetUpdater_cfi::sort.
|
static |
Definition at line 87 of file AlcaBeamMonitor.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), BeamFitter::fillDescription(), PVFitter::fillDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprotected |
Definition at line 227 of file AlcaBeamMonitor.cc.
References align::BeamSpot, beamSpotToken_, BeamSpotObjects::beamType(), BeamSpotObjects::beamWidthX(), BeamSpotObjects::beamWidthY(), BeamSpotObjects::betaStar(), BeamSpotObjects::covariance(), reco::BeamSpot::dimension, BeamSpotObjects::dxdz(), BeamSpotObjects::dydz(), BeamSpotObjects::emittanceX(), BeamSpotObjects::emittanceY(), cppFunctionSkipper::exception, reco::BeamSpot::Fake, edm::EventSetup::getHandle(), mps_fire::i, edm::LuminosityBlockBase::id(), dqmiolumiharvest::j, edm::LuminosityBlockID::luminosityBlock(), makeMuonMisalignmentScenario::matrix, reco::BeamSpot::setBeamWidthY(), BeamSpotObjects::sigmaZ(), reco::BeamSpot::Tracker, BeamSpotObjects::x(), BeamSpotObjects::y(), and BeamSpotObjects::z().
|
overrideprotected |
Definition at line 327 of file AlcaBeamMonitor.cc.
References dqmdumpme::first, timingPdfMaker::histo, histoByCategoryNames_, histosMap_, edm::LuminosityBlockBase::id(), edm::LuminosityBlock::index(), edm::LuminosityBlockID::luminosityBlock(), funct::pow(), processedLumis_, edm::second(), mathSSE::sqrt(), theBeamFitter_, thePVFitter_, align::Tracker, varNamesV_, and trackerHitRTTI::vector.
|
private |
Definition at line 83 of file AlcaBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 93 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 101 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().
|
private |
Definition at line 98 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), bookHistograms(), dqmEndRun(), and globalEndLuminosityBlock().
|
private |
Definition at line 79 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and bookHistograms().
|
private |
Definition at line 87 of file AlcaBeamMonitor.h.
|
private |
Definition at line 84 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor().
|
private |
Definition at line 99 of file AlcaBeamMonitor.h.
|
private |
Definition at line 80 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 90 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), dqmEndRun(), and globalEndLuminosityBlock().
|
private |
Definition at line 82 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 88 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), and globalEndLuminosityBlock().
|
private |
Definition at line 89 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), and globalEndLuminosityBlock().
|
private |
Definition at line 81 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 100 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().