#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<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 | |
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 | |
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::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(), hD0Phi0_, hDxyBS_, iEvent, primaryVertexLabel_, L1TEGammaOffline_cfi::PVCollection, scalerLabel_, theBeamFitter_, thePVFitter_, HLT_2022v15_cff::track, reco::BeamSpot::Tracker, trackLabel_, tracks, and vertices_.
|
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, 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 495 of file AlcaBeamMonitor.cc.
References newFWLiteAna::bin, histosMap_, BeamSpotPI::lastLumi, genParticles_cff::map, SiStripPI::max, allConversions_cfi::maxDelta, SiStripPI::min, processedLumis_, edm::second(), and jetsAK4_CHS_cff::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, beamSpotsMap_, beamSpotToken_, BeamSpotObjects::beamType(), BeamSpotObjects::beamWidthX(), BeamSpotObjects::beamWidthY(), BeamSpotObjects::betaStar(), BeamSpotObjects::covariance(), BeamSpotObjects::dxdz(), BeamSpotObjects::dydz(), BeamSpotObjects::emittanceX(), BeamSpotObjects::emittanceY(), cppFunctionSkipper::exception, reco::BeamSpot::Fake, edm::EventSetup::getHandle(), mps_fire::i, edm::LuminosityBlockBase::id(), edm::ESHandleBase::isValid(), dqmiolumiharvest::j, edm::LuminosityBlockID::luminosityBlock(), makeMuonMisalignmentScenario::matrix, processedLumis_, edm::ESHandle< T >::product(), reco::BeamSpot::setBeamWidthY(), BeamSpotObjects::sigmaZ(), reco::BeamSpot::Tracker, vertices_, BeamSpotObjects::x(), BeamSpotObjects::y(), and BeamSpotObjects::z().
|
overrideprotected |
Definition at line 321 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, first, timingPdfMaker::histo, histoByCategoryNames_, histosMap_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), funct::pow(), edm::second(), 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().