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 | Protected Attributes | Private Member Functions | Private Attributes
HcalBaseDQMonitor Class Reference

#include <HcalBaseDQMonitor.h>

Inheritance diagram for HcalBaseDQMonitor:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase HcalBeamMonitor HcalCoarsePedestalMonitor HcalDataIntegrityTask HcalDeadCellMonitor HcalDetDiagLaserMonitor HcalDetDiagLEDMonitor HcalDetDiagNoiseMonitor HcalDetDiagPedestalMonitor HcalDetDiagTimingMonitor HcalDigiMonitor HcalHotCellMonitor HcalLSbyLSMonitor HcalNoiseMonitor HcalNZSMonitor HcalRawDataMonitor HcalRecHitMonitor HcalTrigPrimMonitor

Public Member Functions

virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
 
 HcalBaseDQMonitor (const edm::ParameterSet &ps)
 
 HcalBaseDQMonitor ()
 
virtual ~HcalBaseDQMonitor ()
 
- 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

virtual void analyze (const edm::Event &e, const edm::EventSetup &c)
 
virtual void beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void cleanup (void)
 
virtual void dqmBeginRun (const edm::Run &run, const edm::EventSetup &c)
 
virtual void endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c)
 
virtual void endRun (const edm::Run &run, const edm::EventSetup &c)
 
void getLogicalMap (const edm::EventSetup &c)
 
bool IsAllowedCalibType ()
 
bool LumiInOrder (int lumisec)
 
virtual void reset (void)
 
virtual void setup (DQMStore::IBooker &)
 
void SetupEtaPhiHists (DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units)
 
- 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)
 

Protected Attributes

std::vector< int > AllowedCalibTypes_
 
int badChannelStatusMask_
 
int currentLS
 
int currenttype_
 
int debug_
 
bool enableCleanup_
 
bool eventAllowed_
 
bool HBpresent_
 
bool HEpresent_
 
bool HFpresent_
 
bool HOpresent_
 
int ievt_
 
std::map< unsigned int, int > KnownBadCells_
 
int levt_
 
HcalLogicalMaplogicalMap_
 
bool makeDiagnostics_
 
MonitorElementmeIevt_
 
MonitorElementmeLevt_
 
bool mergeRuns_
 
MonitorElementmeTevt_
 
MonitorElementmeTevtHist_
 
bool needLogicalMap_
 
int NLumiBlocks_
 
bool Online_
 
std::string prefixME_
 
MonitorElementProblemsCurrentLB
 
MonitorElementProblemsVsLB
 
MonitorElementProblemsVsLB_HB
 
MonitorElementProblemsVsLB_HBHEHF
 
MonitorElementProblemsVsLB_HE
 
MonitorElementProblemsVsLB_HF
 
MonitorElementProblemsVsLB_HO
 
bool skipOutOfOrderLS_
 
std::string subdir_
 
int tevt_
 

Private Member Functions

void CheckCalibType (const edm::Handle< FEDRawDataCollection > &)
 
void CheckSubdetectorStatus (const edm::Handle< FEDRawDataCollection > &, HcalSubdetector, const HcalElectronicsMap &)
 

Private Attributes

const HcalElectronicsMapeMap_
 
edm::InputTag FEDRawDataCollection_
 
bool setupDone_
 
edm::EDGetTokenT
< FEDRawDataCollection
tok_braw_
 

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 26 of file HcalBaseDQMonitor.h.

Constructor & Destructor Documentation

HcalBaseDQMonitor::HcalBaseDQMonitor ( const edm::ParameterSet ps)

Definition at line 28 of file HcalBaseDQMonitor.cc.

HcalBaseDQMonitor::HcalBaseDQMonitor ( )
inline

Definition at line 34 of file HcalBaseDQMonitor.h.

HcalBaseDQMonitor::~HcalBaseDQMonitor ( )
virtual

Definition at line 83 of file HcalBaseDQMonitor.cc.

Member Function Documentation

void HcalBaseDQMonitor::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual
void HcalBaseDQMonitor::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual
void HcalBaseDQMonitor::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  c 
)
virtual
void HcalBaseDQMonitor::CheckCalibType ( const edm::Handle< FEDRawDataCollection > &  rawraw)
private

Definition at line 397 of file HcalBaseDQMonitor.cc.

void HcalBaseDQMonitor::CheckSubdetectorStatus ( const edm::Handle< FEDRawDataCollection > &  rawraw,
HcalSubdetector  subdet,
const HcalElectronicsMap emap 
)
private

Definition at line 305 of file HcalBaseDQMonitor.cc.

void HcalBaseDQMonitor::cleanup ( void  )
protectedvirtual

Definition at line 146 of file HcalBaseDQMonitor.cc.

void HcalBaseDQMonitor::dqmBeginRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 90 of file HcalBaseDQMonitor.cc.

void HcalBaseDQMonitor::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual
void HcalBaseDQMonitor::endRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual
void HcalBaseDQMonitor::getLogicalMap ( const edm::EventSetup c)
protected

Definition at line 235 of file HcalBaseDQMonitor.cc.

bool HcalBaseDQMonitor::IsAllowedCalibType ( )
protected

Definition at line 212 of file HcalBaseDQMonitor.cc.

bool HcalBaseDQMonitor::LumiInOrder ( int  lumisec)
protected

Definition at line 203 of file HcalBaseDQMonitor.cc.

void HcalBaseDQMonitor::reset ( void  )
protectedvirtual
void HcalBaseDQMonitor::setup ( DQMStore::IBooker ib)
protectedvirtual
void HcalBaseDQMonitor::SetupEtaPhiHists ( DQMStore::IBooker ib,
EtaPhiHists hh,
std::string  Name,
std::string  Units 
)
inlineprotected

Definition at line 74 of file HcalBaseDQMonitor.h.

References EtaPhiHists::setup().

75  {
76  hh.setup(ib, Name, Units);
77  return;
78  }
void setup(DQMStore::IBooker &m_dbe, std::string Name, std::string Units="")

Member Data Documentation

std::vector<int> HcalBaseDQMonitor::AllowedCalibTypes_
protected

Definition at line 84 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::badChannelStatusMask_
protected

Definition at line 123 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::currentLS
protected

Definition at line 92 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::currenttype_
protected

Definition at line 82 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::debug_
protected

Definition at line 88 of file HcalBaseDQMonitor.h.

const HcalElectronicsMap* HcalBaseDQMonitor::eMap_
private

Definition at line 136 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::enableCleanup_
protected

Definition at line 87 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::eventAllowed_
protected

Definition at line 101 of file HcalBaseDQMonitor.h.

edm::InputTag HcalBaseDQMonitor::FEDRawDataCollection_
private

Definition at line 133 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::HBpresent_
protected

Definition at line 106 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::HEpresent_
protected

Definition at line 106 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::HFpresent_
protected

Definition at line 106 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::HOpresent_
protected

Definition at line 106 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::ievt_
protected

Definition at line 93 of file HcalBaseDQMonitor.h.

std::map<unsigned int, int> HcalBaseDQMonitor::KnownBadCells_
protected

Definition at line 118 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::levt_
protected

Definition at line 94 of file HcalBaseDQMonitor.h.

HcalLogicalMap* HcalBaseDQMonitor::logicalMap_
protected

Definition at line 120 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::makeDiagnostics_
protected

Definition at line 103 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::meIevt_
protected

Definition at line 96 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::meLevt_
protected

Definition at line 98 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::mergeRuns_
protected

Definition at line 86 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::meTevt_
protected

Definition at line 97 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::meTevtHist_
protected

Definition at line 99 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::needLogicalMap_
protected

Definition at line 121 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::NLumiBlocks_
protected

Definition at line 114 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::Online_
protected

Definition at line 85 of file HcalBaseDQMonitor.h.

std::string HcalBaseDQMonitor::prefixME_
protected

Definition at line 89 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::ProblemsCurrentLB
protected

Definition at line 112 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::ProblemsVsLB
protected

Definition at line 109 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::ProblemsVsLB_HB
protected

Definition at line 110 of file HcalBaseDQMonitor.h.

MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HBHEHF
protected

Definition at line 111 of file HcalBaseDQMonitor.h.

MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HE
protected

Definition at line 110 of file HcalBaseDQMonitor.h.

MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HF
protected

Definition at line 111 of file HcalBaseDQMonitor.h.

MonitorElement* HcalBaseDQMonitor::ProblemsVsLB_HO
protected

Definition at line 111 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::setupDone_
private

Definition at line 127 of file HcalBaseDQMonitor.h.

bool HcalBaseDQMonitor::skipOutOfOrderLS_
protected

Definition at line 102 of file HcalBaseDQMonitor.h.

std::string HcalBaseDQMonitor::subdir_
protected

Definition at line 90 of file HcalBaseDQMonitor.h.

int HcalBaseDQMonitor::tevt_
protected

Definition at line 95 of file HcalBaseDQMonitor.h.

edm::EDGetTokenT<FEDRawDataCollection> HcalBaseDQMonitor::tok_braw_
private

Definition at line 134 of file HcalBaseDQMonitor.h.