#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 | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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_ |
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_, processedLumis_, theBeamFitter_, thePVFitter_, and varNamesV_.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::NoCache > >.
Definition at line 275 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, cppFunctionSkipper::exception, reco::BeamSpot::Fake, dqm::impl::MonitorElement::Fill(), hD0Phi0_, hDxyBS_, iEvent, primaryVertexLabel_, L1TEGammaOffline_cfi::PVCollection, scalerLabel_, theBeamFitter_, thePVFitter_, HLT_FULL_cff::track, reco::BeamSpot::Tracker, trackLabel_, tracks, and vertices_.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< alcabeammonitor::NoCache > >.
Definition at line 99 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::NoCache > >.
Definition at line 491 of file AlcaBeamMonitor.cc.
References newFWLiteAna::bin, histosMap_, BeamSpotPI::lastLumi, genParticles_cff::map, SiStripPI::max, allConversions_cfi::maxDelta, min(), processedLumis_, edm::second(), and jetUpdater_cfi::sort.
|
static |
Definition at line 84 of file AlcaBeamMonitor.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), BeamFitter::fillDescription(), PVFitter::fillDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprotected |
Definition at line 223 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< T >::product(), reco::BeamSpot::setBeamWidthY(), reco::BeamSpot::Tracker, and vertices_.
|
overrideprotected |
Definition at line 317 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, first, timingPdfMaker::histo, histoByCategoryNames_, histosMap_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), funct::pow(), MetAnalyzer::pv(), edm::second(), mathSSE::sqrt(), theBeamFitter_, thePVFitter_, align::Tracker, varNamesV_, trackerHitRTTI::vector, and vertices_.
|
mutableprivate |
Definition at line 76 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 71 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file AlcaBeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 80 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().
|
private |
Definition at line 77 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 67 of file AlcaBeamMonitor.h.
|
private |
Definition at line 64 of file AlcaBeamMonitor.h.
|
private |
Definition at line 78 of file AlcaBeamMonitor.h.
|
private |
Definition at line 58 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
mutableprivate |
Definition at line 68 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 65 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), and globalEndLuminosityBlock().
|
private |
Definition at line 66 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 79 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and globalEndLuminosityBlock().
|
mutableprivate |
Definition at line 81 of file AlcaBeamMonitor.h.
Referenced by analyze(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().