#include <AlcaBeamMonitor.h>
Protected Member Functions | |
void | analyze (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | beginJob (void) |
void | beginLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) |
void | beginRun (const edm::Run &iRun, const edm::EventSetup &iSetup) |
void | endJob (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) |
void | endLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) |
void | endRun (const edm::Run &iRun, const edm::EventSetup &iSetup) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
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 | |
edm::InputTag | beamSpotLabel_ |
BeamSpotContainer | beamSpotsMap_ |
DQMStore * | dbe_ |
MonitorElement * | hD0Phi0_ |
MonitorElement * | hDxyBS_ |
std::multimap< std::string, std::string > | histoByCategoryNames_ |
HistosContainer | histosMap_ |
std::string | monitorName_ |
int | numberOfValuesToSave_ |
edm::ParameterSet | parameters_ |
PositionContainer | positionsMap_ |
edm::EDGetTokenT < reco::VertexCollection > | primaryVertexLabel_ |
edm::EDGetTokenT< reco::BeamSpot > | scalerLabel_ |
BeamFitter * | theBeamFitter_ |
PVFitter * | thePVFitter_ |
MonitorElement * | theValuesContainer_ |
edm::EDGetTokenT < reco::TrackCollection > | trackLabel_ |
std::vector< std::string > | varNamesV_ |
std::vector < reco::VertexCollection > | vertices_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 28 of file AlcaBeamMonitor.h.
|
private |
Definition at line 46 of file AlcaBeamMonitor.h.
|
private |
Definition at line 48 of file AlcaBeamMonitor.h.
|
private |
Definition at line 50 of file AlcaBeamMonitor.h.
AlcaBeamMonitor::AlcaBeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 33 of file AlcaBeamMonitor.cc.
References beam_dqm_sourceclient-live_cfg::BeamFitter, edm::EDConsumerBase::consumesCollector(), dbe_, histoByCategoryNames_, histosMap_, monitorName_, numberOfValuesToSave_, cppFunctionSkipper::operator, parameters_, positionsMap_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), theBeamFitter_, thePVFitter_, and varNamesV_.
AlcaBeamMonitor::~AlcaBeamMonitor | ( | ) |
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 272 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, cppFunctionSkipper::exception, reco::BeamSpot::Fake, MonitorElement::Fill(), edm::Event::getByToken(), hD0Phi0_, hDxyBS_, position, primaryVertexLabel_, edm::Handle< T >::product(), BeamFitter::readEvent(), PVFitter::readEvent(), scalerLabel_, theBeamFitter_, thePVFitter_, reco::BeamSpot::Tracker, trackLabel_, testEve_cfg::tracks, vertices_, and cms::Exception::what().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 119 of file AlcaBeamMonitor.cc.
References dbe_, histosMap_, monitorName_, mergeVDriftHistosByStation::name, numberOfValuesToSave_, MonitorElement::setLumiFlag(), AlCaHLTBitMon_QueryRunRegistry::string, theValuesContainer_, and indexGen::title.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 213 of file AlcaBeamMonitor.cc.
References align::BeamSpot, beamSpotsMap_, cppFunctionSkipper::exception, reco::BeamSpot::Fake, edm::EventSetup::get(), BeamSpotObjects::GetBeamType(), BeamSpotObjects::GetBeamWidthX(), BeamSpotObjects::GetBeamWidthY(), BeamSpotObjects::GetBetaStar(), BeamSpotObjects::GetCovariance(), BeamSpotObjects::Getdxdz(), BeamSpotObjects::Getdydz(), BeamSpotObjects::GetEmittanceX(), BeamSpotObjects::GetEmittanceY(), BeamSpotObjects::GetSigmaZ(), BeamSpotObjects::GetX(), BeamSpotObjects::GetY(), BeamSpotObjects::GetZ(), i, edm::LuminosityBlockBase::id(), edm::ESHandleBase::isValid(), j, edm::LuminosityBlockID::luminosityBlock(), makeMuonMisalignmentScenario::matrix, edm::ESHandle< class >::product(), MonitorElement::Reset(), reco::BeamSpot::setBeamWidthY(), theValuesContainer_, reco::BeamSpot::Tracker, vertices_, and cms::Exception::what().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 199 of file AlcaBeamMonitor.cc.
References dbe_, hD0Phi0_, hDxyBS_, monitorName_, and MonitorElement::setAxisTitle().
|
protected |
Definition at line 564 of file AlcaBeamMonitor.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 318 of file AlcaBeamMonitor.cc.
References beamSpotsMap_, MonitorElement::Fill(), first, PVFitter::getBeamSpot(), BeamFitter::getBeamSpot(), MonitorElement::getTProfile(), timingPdfMaker::histo, histoByCategoryNames_, histosMap_, position, positionsMap_, funct::pow(), MetAnalyzer::pv(), PVFitter::resetAll(), BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), PVFitter::runFitter(), BeamFitter::runPVandTrkFitter(), edm::second(), mathSSE::sqrt(), theBeamFitter_, thePVFitter_, theValuesContainer_, align::Tracker, varNamesV_, and vertices_.
|
protectedvirtual |
|
private |
Definition at line 58 of file AlcaBeamMonitor.h.
|
private |
Definition at line 72 of file AlcaBeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 62 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), beginJob(), and beginRun().
|
private |
Definition at line 67 of file AlcaBeamMonitor.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 68 of file AlcaBeamMonitor.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 76 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and endLuminosityBlock().
|
private |
Definition at line 73 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), beginJob(), and endLuminosityBlock().
|
private |
Definition at line 54 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), beginJob(), and beginRun().
|
private |
Definition at line 61 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and beginJob().
|
private |
Definition at line 53 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 74 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and endLuminosityBlock().
|
private |
Definition at line 55 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 57 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 63 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), endLuminosityBlock(), and ~AlcaBeamMonitor().
|
private |
Definition at line 64 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), analyze(), endLuminosityBlock(), and ~AlcaBeamMonitor().
|
private |
Definition at line 69 of file AlcaBeamMonitor.h.
Referenced by beginJob(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 56 of file AlcaBeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 75 of file AlcaBeamMonitor.h.
Referenced by AlcaBeamMonitor(), and endLuminosityBlock().
|
private |
Definition at line 77 of file AlcaBeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().