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 | Static Private Attributes
DQMProvInfo Class Reference

#include <DQMProvInfo.h>

Inheritance diagram for DQMProvInfo:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 DQMProvInfo (const edm::ParameterSet &ps)
 
virtual ~DQMProvInfo ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- 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 beginLuminosityBlock (const edm::LuminosityBlock &l, const edm::EventSetup &c)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (const edm::Run &r, const edm::EventSetup &c)
 
void endLuminosityBlock (const edm::LuminosityBlock &l, 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 analyzeEventInfo (const edm::Event &e)
 
void analyzeLhcInfo (const edm::Event &e)
 
void analyzeProvInfo (const edm::Event &e)
 
void blankPreviousLumiSections (const int currentLSNumber)
 
void bookHistogramsEventInfo (DQMStore::IBooker &)
 
void bookHistogramsLhcInfo (DQMStore::IBooker &)
 
void bookHistogramsProvInfo (DQMStore::IBooker &)
 
void endLuminosityBlockEventInfo (const int currentLSNumber)
 
void endLuminosityBlockLhcInfo (const int currentLSNumber)
 

Private Attributes

int beamMode_
 
edm::EDGetTokenT
< edm::ConditionsInLumiBlock
CondInLumi_
 
edm::EDGetTokenT
< edm::ConditionsInRunBlock
CondInRun_
 
bool dcsBits_ [MAX_DCS_VBINS+1]
 
edm::EDGetTokenT
< DcsStatusCollection
dcsStatusCollection_
 
bool foundFirstDcsBits_
 
bool foundFirstPhysicsDeclared_
 
std::string globalTag_
 
bool globalTagRetrieved_
 
MonitorElementhBeamMode_
 
MonitorElementhHltKey_
 
MonitorElementhIntensity1_
 
MonitorElementhIntensity2_
 
MonitorElementhIsCollisionsRun_
 
MonitorElementhLhcFill_
 
std::string hltKey_
 
MonitorElementhMomentum_
 
MonitorElementhostName_
 
int intensity1_
 
int intensity2_
 
edm::EDGetTokenT
< L1GlobalTriggerReadoutRecord
L1gt_
 
int lhcFill_
 
int momentum_
 
bool physicsDeclared_
 
int previousLSNumber_
 
MonitorElementprocessId_
 
std::string provinfofolder_
 
MonitorElementreportSummary_
 
MonitorElementreportSummaryMap_
 
std::string runType_
 
std::string subsystemname_
 
MonitorElementversCMSSW_
 
MonitorElementversGlobaltag_
 
MonitorElementversRuntype_
 
MonitorElementworkingDir_
 

Static Private Attributes

static const int MAX_DCS_VBINS = 25
 
static const int MAX_LUMIS = 2500
 
static const int MAX_VBINS = 27
 
static const int VBIN_BPIX = 17
 
static const int VBIN_CASTOR = 24
 
static const int VBIN_CSC_M = 2
 
static const int VBIN_CSC_P = 1
 
static const int VBIN_DT_0 = 3
 
static const int VBIN_DT_M = 5
 
static const int VBIN_DT_P = 4
 
static const int VBIN_EB_M = 7
 
static const int VBIN_EB_P = 6
 
static const int VBIN_EE_M = 9
 
static const int VBIN_EE_P = 8
 
static const int VBIN_ES_M = 11
 
static const int VBIN_ES_P = 10
 
static const int VBIN_FPIX = 18
 
static const int VBIN_HBHE_A = 12
 
static const int VBIN_HBHE_B = 13
 
static const int VBIN_HBHE_C = 14
 
static const int VBIN_HF = 15
 
static const int VBIN_HO = 16
 
static const int VBIN_PHYSICS_DECLARED = 26
 
static const int VBIN_RPC = 19
 
static const int VBIN_TE_M = 23
 
static const int VBIN_TEC_P = 22
 
static const int VBIN_TIBTID = 20
 
static const int VBIN_TOB = 21
 
static const int VBIN_VALID = 27
 
static const int VBIN_ZDC = 25
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 23 of file DQMProvInfo.h.

Constructor & Destructor Documentation

DQMProvInfo::DQMProvInfo ( const edm::ParameterSet ps)

Definition at line 32 of file DQMProvInfo.cc.

DQMProvInfo::~DQMProvInfo ( )
virtual

Definition at line 62 of file DQMProvInfo.cc.

Member Function Documentation

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

Implements edm::stream::EDAnalyzerBase.

Definition at line 254 of file DQMProvInfo.cc.

void DQMProvInfo::analyzeEventInfo ( const edm::Event e)
private

Definition at line 285 of file DQMProvInfo.cc.

void DQMProvInfo::analyzeLhcInfo ( const edm::Event e)
private

Definition at line 265 of file DQMProvInfo.cc.

void DQMProvInfo::analyzeProvInfo ( const edm::Event e)
private

Definition at line 360 of file DQMProvInfo.cc.

void DQMProvInfo::beginLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 237 of file DQMProvInfo.cc.

void DQMProvInfo::blankPreviousLumiSections ( const int  currentLSNumber)
private

Definition at line 455 of file DQMProvInfo.cc.

void DQMProvInfo::bookHistograms ( DQMStore::IBooker iBooker,
edm::Run const &  iRun,
edm::EventSetup const &  iEventSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 84 of file DQMProvInfo.cc.

void DQMProvInfo::bookHistogramsEventInfo ( DQMStore::IBooker iBooker)
private

Definition at line 163 of file DQMProvInfo.cc.

void DQMProvInfo::bookHistogramsLhcInfo ( DQMStore::IBooker iBooker)
private

Definition at line 104 of file DQMProvInfo.cc.

void DQMProvInfo::bookHistogramsProvInfo ( DQMStore::IBooker iBooker)
private

Definition at line 206 of file DQMProvInfo.cc.

void DQMProvInfo::dqmBeginRun ( const edm::Run r,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 64 of file DQMProvInfo.cc.

void DQMProvInfo::endLuminosityBlock ( const edm::LuminosityBlock l,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Definition at line 379 of file DQMProvInfo.cc.

void DQMProvInfo::endLuminosityBlockEventInfo ( const int  currentLSNumber)
private

Definition at line 403 of file DQMProvInfo.cc.

void DQMProvInfo::endLuminosityBlockLhcInfo ( const int  currentLSNumber)
private

Definition at line 394 of file DQMProvInfo.cc.

Member Data Documentation

int DQMProvInfo::beamMode_
private

Definition at line 107 of file DQMProvInfo.h.

edm::EDGetTokenT<edm::ConditionsInLumiBlock> DQMProvInfo::CondInLumi_
private

Definition at line 103 of file DQMProvInfo.h.

edm::EDGetTokenT<edm::ConditionsInRunBlock> DQMProvInfo::CondInRun_
private

Definition at line 102 of file DQMProvInfo.h.

bool DQMProvInfo::dcsBits_[MAX_DCS_VBINS+1]
private

Definition at line 123 of file DQMProvInfo.h.

edm::EDGetTokenT<DcsStatusCollection> DQMProvInfo::dcsStatusCollection_
private

Definition at line 99 of file DQMProvInfo.h.

bool DQMProvInfo::foundFirstDcsBits_
private

Definition at line 124 of file DQMProvInfo.h.

bool DQMProvInfo::foundFirstPhysicsDeclared_
private

Definition at line 122 of file DQMProvInfo.h.

std::string DQMProvInfo::globalTag_
private

Definition at line 129 of file DQMProvInfo.h.

bool DQMProvInfo::globalTagRetrieved_
private

Definition at line 130 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hBeamMode_
private

Definition at line 106 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hHltKey_
private

Definition at line 133 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hIntensity1_
private

Definition at line 108 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hIntensity2_
private

Definition at line 110 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hIsCollisionsRun_
private

Definition at line 136 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hLhcFill_
private

Definition at line 112 of file DQMProvInfo.h.

std::string DQMProvInfo::hltKey_
private

Definition at line 134 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hMomentum_
private

Definition at line 114 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::hostName_
private

Definition at line 135 of file DQMProvInfo.h.

int DQMProvInfo::intensity1_
private

Definition at line 109 of file DQMProvInfo.h.

int DQMProvInfo::intensity2_
private

Definition at line 111 of file DQMProvInfo.h.

edm::EDGetTokenT<L1GlobalTriggerReadoutRecord> DQMProvInfo::L1gt_
private

Definition at line 100 of file DQMProvInfo.h.

int DQMProvInfo::lhcFill_
private

Definition at line 113 of file DQMProvInfo.h.

const int DQMProvInfo::MAX_DCS_VBINS = 25
staticprivate

Definition at line 86 of file DQMProvInfo.h.

const int DQMProvInfo::MAX_LUMIS = 2500
staticprivate

Definition at line 54 of file DQMProvInfo.h.

const int DQMProvInfo::MAX_VBINS = 27
staticprivate

Definition at line 93 of file DQMProvInfo.h.

int DQMProvInfo::momentum_
private

Definition at line 115 of file DQMProvInfo.h.

bool DQMProvInfo::physicsDeclared_
private

Definition at line 121 of file DQMProvInfo.h.

int DQMProvInfo::previousLSNumber_
private

Definition at line 120 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::processId_
private

Definition at line 137 of file DQMProvInfo.h.

std::string DQMProvInfo::provinfofolder_
private

Definition at line 97 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::reportSummary_
private

Definition at line 118 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::reportSummaryMap_
private

Definition at line 119 of file DQMProvInfo.h.

std::string DQMProvInfo::runType_
private

Definition at line 132 of file DQMProvInfo.h.

std::string DQMProvInfo::subsystemname_
private

Definition at line 96 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_BPIX = 17
staticprivate

Definition at line 73 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_CASTOR = 24
staticprivate

Definition at line 80 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_CSC_M = 2
staticprivate

Definition at line 58 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_CSC_P = 1
staticprivate

Definition at line 57 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_DT_0 = 3
staticprivate

Definition at line 59 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_DT_M = 5
staticprivate

Definition at line 61 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_DT_P = 4
staticprivate

Definition at line 60 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_EB_M = 7
staticprivate

Definition at line 63 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_EB_P = 6
staticprivate

Definition at line 62 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_EE_M = 9
staticprivate

Definition at line 65 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_EE_P = 8
staticprivate

Definition at line 64 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_ES_M = 11
staticprivate

Definition at line 67 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_ES_P = 10
staticprivate

Definition at line 66 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_FPIX = 18
staticprivate

Definition at line 74 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_HBHE_A = 12
staticprivate

Definition at line 68 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_HBHE_B = 13
staticprivate

Definition at line 69 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_HBHE_C = 14
staticprivate

Definition at line 70 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_HF = 15
staticprivate

Definition at line 71 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_HO = 16
staticprivate

Definition at line 72 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_PHYSICS_DECLARED = 26
staticprivate

Definition at line 88 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_RPC = 19
staticprivate

Definition at line 75 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_TE_M = 23
staticprivate

Definition at line 79 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_TEC_P = 22
staticprivate

Definition at line 78 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_TIBTID = 20
staticprivate

Definition at line 76 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_TOB = 21
staticprivate

Definition at line 77 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_VALID = 27
staticprivate

Definition at line 91 of file DQMProvInfo.h.

const int DQMProvInfo::VBIN_ZDC = 25
staticprivate

Definition at line 81 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::versCMSSW_
private

Definition at line 127 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::versGlobaltag_
private

Definition at line 128 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::versRuntype_
private

Definition at line 131 of file DQMProvInfo.h.

MonitorElement* DQMProvInfo::workingDir_
private

Definition at line 138 of file DQMProvInfo.h.