#include <BeamConditionsMonitor.h>
Public Member Functions | |
BeamConditionsMonitor (const edm::ParameterSet &) | |
~BeamConditionsMonitor () | |
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 (const std::string &iProcessName, std::vector< const char * > &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 () |
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 Attributes | |
edm::InputTag | bsSrc_ |
BeamSpotObjects | condBeamSpot |
int | countEvt_ |
int | countLumi_ |
DQMStore * | dbe_ |
bool | debug_ |
MonitorElement * | h_x0_lumi |
MonitorElement * | h_y0_lumi |
std::string | monitorName_ |
edm::ParameterSet | parameters_ |
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 26 of file BeamConditionsMonitor.h.
BeamConditionsMonitor::BeamConditionsMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 27 of file BeamConditionsMonitor.cc.
References bsSrc_, dbe_, debug_, edm::ParameterSet::getUntrackedParameter(), monitorName_, cppFunctionSkipper::operator, and parameters_.
BeamConditionsMonitor::~BeamConditionsMonitor | ( | ) |
Definition at line 41 of file BeamConditionsMonitor.cc.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 75 of file BeamConditionsMonitor.cc.
References condBeamSpot, countEvt_, and edm::EventSetup::get().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 46 of file BeamConditionsMonitor.cc.
References dbe_, MonitorElement::getTH1(), h_x0_lumi, h_y0_lumi, monitorName_, and MonitorElement::setAxisTitle().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 69 of file BeamConditionsMonitor.cc.
References countLumi_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 65 of file BeamConditionsMonitor.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 98 of file BeamConditionsMonitor.cc.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 86 of file BeamConditionsMonitor.cc.
References condBeamSpot, BeamSpotObjects::GetX(), BeamSpotObjects::GetXError(), BeamSpotObjects::GetY(), BeamSpotObjects::GetYError(), h_x0_lumi, h_y0_lumi, and MonitorElement::ShiftFillLast().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 95 of file BeamConditionsMonitor.cc.
|
private |
Definition at line 59 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor().
|
private |
Definition at line 68 of file BeamConditionsMonitor.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 64 of file BeamConditionsMonitor.h.
Referenced by analyze().
|
private |
Definition at line 65 of file BeamConditionsMonitor.h.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 62 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), and beginJob().
|
private |
Definition at line 60 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor().
|
private |
Definition at line 71 of file BeamConditionsMonitor.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 72 of file BeamConditionsMonitor.h.
Referenced by beginJob(), and endLuminosityBlock().
|
private |
Definition at line 58 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), and beginJob().
|
private |
Definition at line 57 of file BeamConditionsMonitor.h.
Referenced by BeamConditionsMonitor(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().