#include <BeamSpotProblemMonitor.h>
Public Member Functions | |
BeamSpotProblemMonitor (const edm::ParameterSet &) | |
~BeamSpotProblemMonitor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | endJob (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
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 Member Functions | |
void | FillPlots (const edm::LuminosityBlock &lumiSeg, int &, int &, int &) |
Private Attributes | |
bool | ALARM_ON_ |
int | alarmOFFThreshold_ |
int | alarmONThreshold_ |
MonitorElement * | BeamSpotError |
int | BeamSpotFromDB_ |
double | BeamSpotStatus_ |
DQMStore * | dbe_ |
edm::EDGetTokenT < DcsStatusCollection > | dcsStatus_ |
bool | dcsTk [6] |
bool | debug_ |
bool | doTest_ |
int | fitNLumi_ |
std::map< TString, MonitorElement * > | hs |
int | intervalInSec_ |
int | lastlumi_ |
std::string | monitorName_ |
int | nCosmicTrk_ |
int | nextlumi_ |
int | nFitElements_ |
int | Ntracks_ |
bool | onlineMode_ |
edm::ParameterSet | parameters_ |
bool | processed_ |
edm::EDGetTokenT < BeamSpotOnlineCollection > | scalertag_ |
edm::EDGetTokenT < reco::TrackCollection > | trkSrc_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 32 of file BeamSpotProblemMonitor.h.
BeamSpotProblemMonitor::BeamSpotProblemMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 48 of file BeamSpotProblemMonitor.cc.
References alarmOFFThreshold_, alarmONThreshold_, dbe_, dcsStatus_, debug_, doTest_, fitNLumi_, edm::ParameterSet::getUntrackedParameter(), intervalInSec_, lastlumi_, monitorName_, nCosmicTrk_, nextlumi_, onlineMode_, cppFunctionSkipper::operator, parameters_, processed_, scalertag_, and trkSrc_.
BeamSpotProblemMonitor::~BeamSpotProblemMonitor | ( | ) |
Definition at line 78 of file BeamSpotProblemMonitor.cc.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 178 of file BeamSpotProblemMonitor.cc.
References ALARM_ON_, BeamSpotStatus_, DcsStatus::BPIX, dbe_, dcsStatus_, dcsTk, doTest_, DcsStatus::FPIX, edm::Event::getByToken(), i, edm::EventBase::luminosityBlock(), monitorName_, nCosmicTrk_, nextlumi_, Ntracks_, onlineMode_, processed_, edm::Handle< T >::product(), scalertag_, DcsStatus::TECm, DcsStatus::TECp, DcsStatus::TIBTID, DcsStatus::TOB, testEve_cfg::tracks, trkSrc_, BeamSpotOnline::width_x(), BeamSpotOnline::width_y(), BeamSpotOnline::x(), BeamSpotOnline::y(), and BeamSpotOnline::z().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 83 of file BeamSpotProblemMonitor.cc.
References BeamSpotError, dbe_, hs, i, monitorName_, AlCaHLTBitMon_ParallelJobs::options, and MonitorElement::setAxisTitle().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 152 of file BeamSpotProblemMonitor.cc.
References FillPlots(), lastlumi_, edm::LuminosityBlockBase::luminosityBlock(), nextlumi_, onlineMode_, and processed_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 142 of file BeamSpotProblemMonitor.cc.
References debug_.
|
protected |
Definition at line 364 of file BeamSpotProblemMonitor.cc.
References BeamSpotError, endLuminosityBlock(), onlineMode_, and MonitorElement::Reset().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 346 of file BeamSpotProblemMonitor.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nextlumi_, and onlineMode_.
Referenced by endJob().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 356 of file BeamSpotProblemMonitor.cc.
References BeamSpotError, debug_, and MonitorElement::Reset().
|
private |
Definition at line 278 of file BeamSpotProblemMonitor.cc.
References ALARM_ON_, alarmOFFThreshold_, alarmONThreshold_, BeamSpotError, BeamSpotFromDB_, BeamSpotStatus_, dbe_, MonitorElement::Fill(), fitNLumi_, QReport::getMessage(), MonitorElement::getQReport(), hs, monitorName_, Ntracks_, onlineMode_, MonitorElement::Reset(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 86 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and FillPlots().
|
private |
Definition at line 76 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), and FillPlots().
|
private |
Definition at line 75 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), and FillPlots().
|
private |
Definition at line 93 of file BeamSpotProblemMonitor.h.
Referenced by beginJob(), endJob(), endRun(), and FillPlots().
|
private |
Definition at line 88 of file BeamSpotProblemMonitor.h.
Referenced by FillPlots().
|
private |
Definition at line 87 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and FillPlots().
|
private |
Definition at line 78 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), BeamSpotProblemMonitor(), beginJob(), and FillPlots().
|
private |
Definition at line 64 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and BeamSpotProblemMonitor().
|
private |
Definition at line 89 of file BeamSpotProblemMonitor.h.
Referenced by analyze().
|
private |
Definition at line 72 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), beginRun(), and endRun().
|
private |
Definition at line 74 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and BeamSpotProblemMonitor().
|
private |
Definition at line 70 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), and FillPlots().
|
private |
Definition at line 92 of file BeamSpotProblemMonitor.h.
Referenced by beginJob(), and FillPlots().
|
private |
Definition at line 71 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor().
|
private |
Definition at line 80 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), and beginLuminosityBlock().
|
private |
Definition at line 63 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), BeamSpotProblemMonitor(), beginJob(), and FillPlots().
|
private |
Definition at line 69 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and BeamSpotProblemMonitor().
|
private |
Definition at line 81 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), BeamSpotProblemMonitor(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 82 of file BeamSpotProblemMonitor.h.
|
private |
Definition at line 68 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and FillPlots().
|
private |
Definition at line 73 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), BeamSpotProblemMonitor(), beginLuminosityBlock(), endJob(), endLuminosityBlock(), and FillPlots().
|
private |
Definition at line 62 of file BeamSpotProblemMonitor.h.
Referenced by BeamSpotProblemMonitor(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 83 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), BeamSpotProblemMonitor(), and beginLuminosityBlock().
|
private |
Definition at line 65 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and BeamSpotProblemMonitor().
|
private |
Definition at line 66 of file BeamSpotProblemMonitor.h.
Referenced by analyze(), and BeamSpotProblemMonitor().