#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::NoCache > | 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::NoCache > > | |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
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 () 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 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 | |
BeamSpotContainer | beamSpotsMap_ |
const edm::ESGetToken < BeamSpotObjects, BeamSpotObjectsRcd > | beamSpotToken_ |
MonitorElement * | hD0Phi0_ |
MonitorElement * | hDxyBS_ |
std::multimap< std::string, std::string > | histoByCategoryNames_ |
HistosContainer | histosMap_ |
std::string | monitorName_ |
int | numberOfProcessedLumis_ |
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_ |
std::vector < reco::VertexCollection > | vertices_ |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::NoCache > > | |
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 | |
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::NoCache > > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 34 of file AlcaBeamMonitor.h.
|
private |
Definition at line 50 of file AlcaBeamMonitor.h.
|
private |
Definition at line 52 of file AlcaBeamMonitor.h.
|
private |
Definition at line 54 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::NoCache > >.
Definition at line 279 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, cppFunctionSkipper::exception, reco::BeamSpot::Fake, dqm::impl::MonitorElement::Fill(), edm::Event::getByToken(), hD0Phi0_, hDxyBS_, primaryVertexLabel_, edm::Handle< T >::product(), scalerLabel_, theBeamFitter_, thePVFitter_, HLT_FULL_cff::track, reco::BeamSpot::Tracker, trackLabel_, tracks, vertices_, and cms::Exception::what().
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::NoCache > >.
Definition at line 103 of file AlcaBeamMonitor.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), hD0Phi0_, hDxyBS_, histosMap_, BeamSpotPI::lastLumi, monitorName_, mergeVDriftHistosByStation::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::NoCache > >.
Definition at line 495 of file AlcaBeamMonitor.cc.
References newFWLiteAna::bin, histosMap_, BeamSpotPI::lastLumi, SiStripPI::max, min(), processedLumis_, and edm::second().
|
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, beamSpotsMap_, beamSpotToken_, cppFunctionSkipper::exception, reco::BeamSpot::Fake, BeamSpotObjects::GetBeamType(), BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthY(), BeamSpotObjects::GetBetaStar(), BeamSpotObjects::GetCovariance(), BeamSpotObjects::Getdxdz(), BeamSpotObjects::Getdydz(), BeamSpotObjects::GetEmittanceX(), BeamSpotObjects::GetEmittanceY(), edm::EventSetup::getHandle(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), mps_fire::i, edm::LuminosityBlockBase::id(), edm::ESHandleBase::isValid(), dqmiolumiharvest::j, edm::LuminosityBlockID::luminosityBlock(), makeMuonMisalignmentScenario::matrix, processedLumis_, edm::ESHandle< class >::product(), reco::BeamSpot::setBeamWidthY(), reco::BeamSpot::Tracker, vertices_, and cms::Exception::what().
|
overrideprotected |
Definition at line 321 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, dqm::impl::MonitorElement::Fill(), first, timingPdfMaker::histo, histoByCategoryNames_, histosMap_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), funct::pow(), MetAnalyzer::pv(), edm::second(), dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), mathSSE::sqrt(), theBeamFitter_, thePVFitter_, align::Tracker, varNamesV_, trackerHitRTTI::vector, and vertices_.
|
mutableprivate |
Definition at line 77 of file AlcaBeamMonitor.h.
Referenced by analyze(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
private |
Definition at line 61 of file AlcaBeamMonitor.h.
Referenced by globalBeginLuminosityBlock().
|
private |
Definition at line 72 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 73 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 81 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().
|
private |
Definition at line 78 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), bookHistograms(), dqmEndRun(), and globalEndLuminosityBlock().
|
private |
Definition at line 57 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and bookHistograms().
|
mutableprivate |
Definition at line 68 of file AlcaBeamMonitor.h.
|
private |
Definition at line 65 of file AlcaBeamMonitor.h.
|
private |
Definition at line 62 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor().
|
private |
Definition at line 79 of file AlcaBeamMonitor.h.
|
private |
Definition at line 58 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
mutableprivate |
Definition at line 69 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), dqmEndRun(), and globalBeginLuminosityBlock().
|
private |
Definition at line 60 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 66 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), and globalEndLuminosityBlock().
|
private |
Definition at line 67 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), and globalEndLuminosityBlock().
|
private |
Definition at line 59 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 80 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().
|
mutableprivate |
Definition at line 82 of file AlcaBeamMonitor.h.
Referenced by analyze(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().