CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
BeamSpotProblemMonitor Class Reference

#include <BeamSpotProblemMonitor.h>

Inheritance diagram for BeamSpotProblemMonitor:
edm::EDAnalyzer edm::EDConsumerBase

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< ConsumesInfoconsumesInfo () 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_
 
MonitorElementBeamSpotError
 
int BeamSpotFromDB_
 
double BeamSpotStatus_
 
DQMStoredbe_
 
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 &)
 

Detailed Description

Definition at line 32 of file BeamSpotProblemMonitor.h.

Constructor & Destructor Documentation

BeamSpotProblemMonitor::BeamSpotProblemMonitor ( const edm::ParameterSet ps)

Definition at line 48 of file BeamSpotProblemMonitor.cc.

BeamSpotProblemMonitor::~BeamSpotProblemMonitor ( )

Definition at line 78 of file BeamSpotProblemMonitor.cc.

Member Function Documentation

void BeamSpotProblemMonitor::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::EDAnalyzer.

Definition at line 178 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 83 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup context 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 152 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::beginRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 142 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::endJob ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protected

Definition at line 364 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 346 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::endRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 356 of file BeamSpotProblemMonitor.cc.

void BeamSpotProblemMonitor::FillPlots ( const edm::LuminosityBlock lumiSeg,
int &  lastlumi,
int &  nextlumi,
int &  nthlumi 
)
private

Definition at line 278 of file BeamSpotProblemMonitor.cc.

Member Data Documentation

bool BeamSpotProblemMonitor::ALARM_ON_
private

Definition at line 86 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::alarmOFFThreshold_
private

Definition at line 76 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::alarmONThreshold_
private

Definition at line 75 of file BeamSpotProblemMonitor.h.

MonitorElement* BeamSpotProblemMonitor::BeamSpotError
private

Definition at line 93 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::BeamSpotFromDB_
private

Definition at line 88 of file BeamSpotProblemMonitor.h.

double BeamSpotProblemMonitor::BeamSpotStatus_
private

Definition at line 87 of file BeamSpotProblemMonitor.h.

DQMStore* BeamSpotProblemMonitor::dbe_
private

Definition at line 78 of file BeamSpotProblemMonitor.h.

edm::EDGetTokenT<DcsStatusCollection> BeamSpotProblemMonitor::dcsStatus_
private

Definition at line 64 of file BeamSpotProblemMonitor.h.

bool BeamSpotProblemMonitor::dcsTk[6]
private

Definition at line 89 of file BeamSpotProblemMonitor.h.

bool BeamSpotProblemMonitor::debug_
private

Definition at line 72 of file BeamSpotProblemMonitor.h.

bool BeamSpotProblemMonitor::doTest_
private

Definition at line 74 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::fitNLumi_
private

Definition at line 70 of file BeamSpotProblemMonitor.h.

std::map<TString, MonitorElement*> BeamSpotProblemMonitor::hs
private

Definition at line 92 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::intervalInSec_
private

Definition at line 71 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::lastlumi_
private

Definition at line 80 of file BeamSpotProblemMonitor.h.

std::string BeamSpotProblemMonitor::monitorName_
private

Definition at line 63 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::nCosmicTrk_
private

Definition at line 69 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::nextlumi_
private

Definition at line 81 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::nFitElements_
private

Definition at line 82 of file BeamSpotProblemMonitor.h.

int BeamSpotProblemMonitor::Ntracks_
private

Definition at line 68 of file BeamSpotProblemMonitor.h.

bool BeamSpotProblemMonitor::onlineMode_
private

Definition at line 73 of file BeamSpotProblemMonitor.h.

edm::ParameterSet BeamSpotProblemMonitor::parameters_
private

Definition at line 62 of file BeamSpotProblemMonitor.h.

bool BeamSpotProblemMonitor::processed_
private

Definition at line 83 of file BeamSpotProblemMonitor.h.

edm::EDGetTokenT<BeamSpotOnlineCollection> BeamSpotProblemMonitor::scalertag_
private

Definition at line 65 of file BeamSpotProblemMonitor.h.

edm::EDGetTokenT<reco::TrackCollection> BeamSpotProblemMonitor::trkSrc_
private

Definition at line 66 of file BeamSpotProblemMonitor.h.