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.

References AllowedCalibTypes_, currenttype_, debug_, eMap_, enableCleanup_, FEDRawDataCollection_, edm::ParameterSet::getUntrackedParameter(), HBpresent_, HEpresent_, HFpresent_, HOpresent_, ievt_, levt_, logicalMap_, makeDiagnostics_, meIevt_, meLevt_, mergeRuns_, meTevtHist_, needLogicalMap_, NLumiBlocks_, Online_, prefixME_, ProblemsCurrentLB, ProblemsVsLB, ProblemsVsLB_HB, ProblemsVsLB_HBHEHF, ProblemsVsLB_HE, ProblemsVsLB_HF, ProblemsVsLB_HO, setupDone_, skipOutOfOrderLS_, AlCaHLTBitMon_QueryRunRegistry::string, subdir_, tevt_, and tok_braw_.

29 {
30  Online_ = ps.getUntrackedParameter<bool>("online",false);
31  mergeRuns_ = ps.getUntrackedParameter<bool>("mergeRuns",false);
32  enableCleanup_ = ps.getUntrackedParameter<bool>("enableCleanup",false);
33  debug_ = ps.getUntrackedParameter<int>("debug",0);
34  prefixME_ = ps.getUntrackedParameter<std::string>("subSystemFolder","Hcal/");
35  if (prefixME_.substr(prefixME_.size()-1,prefixME_.size())!="/")
36  prefixME_.append("/");
37  subdir_ = ps.getUntrackedParameter<std::string>("TaskFolder","Test/");
38  if (subdir_.size()>0 && subdir_.substr(subdir_.size()-1,subdir_.size())!="/")
39  subdir_.append("/");
40  subdir_=prefixME_+subdir_;
41  AllowedCalibTypes_ = ps.getUntrackedParameter<std::vector<int> > ("AllowedCalibTypes");
42  skipOutOfOrderLS_ = ps.getUntrackedParameter<bool>("skipOutOfOrderLS",false);
43  NLumiBlocks_ = ps.getUntrackedParameter<int>("NLumiBlocks",4000);
44  makeDiagnostics_ = ps.getUntrackedParameter<bool>("makeDiagnostics",false);
45 
46 
47  FEDRawDataCollection_ = ps.getUntrackedParameter<edm::InputTag>("FEDRawDataCollection");
48  tok_braw_ = consumes<FEDRawDataCollection>(FEDRawDataCollection_);
49 
50  setupDone_ = false;
51  logicalMap_= 0;
52  needLogicalMap_=false;
53  meIevt_=0;
54  meLevt_=0;
55  meTevtHist_=0;
56  ProblemsVsLB=0;
63 
64  eMap_ = 0;
65 
66  ievt_=0;
67  levt_=0;
68  tevt_=0;
69  currenttype_=-1;
70  HBpresent_=false;
71  HEpresent_=false;
72  HOpresent_=false;
73  HFpresent_=false;
74 
75 
76 } //HcalBaseDQMonitor::HcalBaseDQMonitor(const ParameterSet& ps)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * ProblemsCurrentLB
edm::EDGetTokenT< FEDRawDataCollection > tok_braw_
MonitorElement * ProblemsVsLB_HF
std::vector< int > AllowedCalibTypes_
const HcalElectronicsMap * eMap_
MonitorElement * meTevtHist_
MonitorElement * ProblemsVsLB_HBHEHF
MonitorElement * ProblemsVsLB_HB
HcalLogicalMap * logicalMap_
edm::InputTag FEDRawDataCollection_
MonitorElement * meIevt_
MonitorElement * ProblemsVsLB_HE
MonitorElement * ProblemsVsLB_HO
MonitorElement * ProblemsVsLB
MonitorElement * meLevt_
HcalBaseDQMonitor::HcalBaseDQMonitor ( )
inline

Definition at line 34 of file HcalBaseDQMonitor.h.

HcalBaseDQMonitor::~HcalBaseDQMonitor ( )
virtual

Definition at line 83 of file HcalBaseDQMonitor.cc.

References logicalMap_.

84 {
85  if (logicalMap_) delete logicalMap_;
86 }
HcalLogicalMap * logicalMap_

Member Function Documentation

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

Implements edm::stream::EDAnalyzerBase.

Reimplemented in HcalDetDiagLaserMonitor, HcalDetDiagPedestalMonitor, HcalDetDiagLEDMonitor, HcalDetDiagTimingMonitor, HcalDigiMonitor, HcalHotCellMonitor, HcalDataIntegrityTask, HcalDetDiagNoiseMonitor, HcalDeadCellMonitor, HcalRawDataMonitor, HcalRecHitMonitor, HcalBeamMonitor, HcalCoarsePedestalMonitor, HcalNoiseMonitor, HcalNZSMonitor, and HcalTrigPrimMonitor.

Definition at line 244 of file HcalBaseDQMonitor.cc.

References CheckCalibType(), CheckSubdetectorStatus(), gather_cfg::cout, debug_, eMap_, eventAllowed_, FEDRawDataCollection_, MonitorElement::Fill(), edm::Event::getByToken(), getLogicalMap(), HBpresent_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HEpresent_, HFpresent_, HOpresent_, ievt_, IsAllowedCalibType(), levt_, LumiInOrder(), edm::EventBase::luminosityBlock(), meIevt_, meLevt_, meTevt_, meTevtHist_, tevt_, and tok_braw_.

Referenced by HcalNZSMonitor::analyze(), HcalTrigPrimMonitor::analyze(), HcalCoarsePedestalMonitor::analyze(), HcalNoiseMonitor::analyze(), HcalBeamMonitor::analyze(), HcalRecHitMonitor::analyze(), HcalDeadCellMonitor::analyze(), HcalRawDataMonitor::analyze(), HcalDataIntegrityTask::analyze(), HcalDetDiagNoiseMonitor::analyze(), HcalHotCellMonitor::analyze(), HcalDigiMonitor::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalDetDiagLEDMonitor::analyze(), HcalDetDiagPedestalMonitor::analyze(), and HcalDetDiagLaserMonitor::analyze().

245 {
246  getLogicalMap(c);
247 
248  if (debug_>5) std::cout <<"\t<HcalBaseDQMonitor::analyze> event = "<<ievt_<<std::endl;
249  eventAllowed_=true; // assume event is allowed
250 
251 
252  // Try to get raw data
254  if (!(e.getByToken(tok_braw_,rawraw)))
255  {
256  edm::LogWarning("HcalMonitorModule")<<" raw data with label "<<FEDRawDataCollection_ <<" not available";
257  return;
258  }
259 
260  // fill with total events seen (this differs from ievent, which is total # of good events)
261  ++tevt_;
262  if (meTevt_) meTevt_->Fill(tevt_);
263  if (meTevtHist_) meTevtHist_->Fill(1);
264  // skip out of order lumi events
265  if (this->LumiInOrder(e.luminosityBlock())==false)
266  {
267  eventAllowed_=false;
268  return;
269  }
270 
271  this->CheckCalibType(rawraw);
272  // skip events of wrong calibration type
274  if (!eventAllowed_) return;
275 
276  // Event is good; count it
277  ++ievt_;
278  ++levt_;
279  if (meIevt_) meIevt_->Fill(ievt_);
280  if (meLevt_) meLevt_->Fill(levt_);
281 
282 
283  if (HBpresent_==false)
284  {
286  }
287  if (HEpresent_==false)
288  {
290  }
291  if (HOpresent_==false)
292  {
294  }
295  if (HFpresent_==false)
296  {
298  }
299 
300 
301 } // void HcalBaseDQMonitor::analyze(const edm::Event& e, const edm::EventSetup& c)
bool LumiInOrder(int lumisec)
edm::EDGetTokenT< FEDRawDataCollection > tok_braw_
void CheckCalibType(const edm::Handle< FEDRawDataCollection > &)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
edm::LuminosityBlockNumber_t luminosityBlock() const
Definition: EventBase.h:62
void getLogicalMap(const edm::EventSetup &c)
MonitorElement * meTevt_
void Fill(long long x)
const HcalElectronicsMap * eMap_
MonitorElement * meTevtHist_
edm::InputTag FEDRawDataCollection_
MonitorElement * meIevt_
void CheckSubdetectorStatus(const edm::Handle< FEDRawDataCollection > &, HcalSubdetector, const HcalElectronicsMap &)
tuple cout
Definition: gather_cfg.py:145
MonitorElement * meLevt_
void HcalBaseDQMonitor::beginLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Reimplemented in HcalDetDiagLaserMonitor, HcalDetDiagPedestalMonitor, HcalDigiMonitor, HcalHotCellMonitor, HcalLSbyLSMonitor, HcalRawDataMonitor, HcalCoarsePedestalMonitor, HcalBeamMonitor, and HcalTrigPrimMonitor.

Definition at line 184 of file HcalBaseDQMonitor.cc.

References currentLS, MonitorElement::Fill(), levt_, LumiInOrder(), edm::LuminosityBlockBase::luminosityBlock(), meLevt_, ProblemsCurrentLB, and MonitorElement::Reset().

Referenced by HcalTrigPrimMonitor::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), HcalCoarsePedestalMonitor::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), and HcalDigiMonitor::beginLuminosityBlock().

186 {
187  if (this->LumiInOrder(lumiSeg.luminosityBlock())==false) return;
188  currentLS=lumiSeg.luminosityBlock();
189  levt_=0;
190  if (meLevt_!=0) meLevt_->Fill(-1);
191  if (ProblemsCurrentLB)
193 }
bool LumiInOrder(int lumisec)
MonitorElement * ProblemsCurrentLB
void Fill(long long x)
LuminosityBlockNumber_t luminosityBlock() const
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meLevt_
void HcalBaseDQMonitor::bookHistograms ( DQMStore::IBooker ib,
edm::Run const &  run,
edm::EventSetup const &  c 
)
virtual

Implements DQMEDAnalyzer.

Reimplemented in HcalDetDiagLaserMonitor, HcalDetDiagPedestalMonitor, HcalDetDiagLEDMonitor, HcalDetDiagTimingMonitor, HcalDigiMonitor, HcalDetDiagNoiseMonitor, HcalDataIntegrityTask, HcalRawDataMonitor, HcalDeadCellMonitor, HcalHotCellMonitor, HcalLSbyLSMonitor, HcalBeamMonitor, HcalNoiseMonitor, HcalRecHitMonitor, HcalCoarsePedestalMonitor, HcalTrigPrimMonitor, and HcalNZSMonitor.

Definition at line 107 of file HcalBaseDQMonitor.cc.

References gather_cfg::cout, debug_, mergeRuns_, reset(), setup(), subdir_, and tevt_.

Referenced by HcalNZSMonitor::bookHistograms(), HcalCoarsePedestalMonitor::bookHistograms(), HcalTrigPrimMonitor::bookHistograms(), HcalNoiseMonitor::bookHistograms(), HcalRecHitMonitor::bookHistograms(), HcalBeamMonitor::bookHistograms(), HcalLSbyLSMonitor::bookHistograms(), HcalHotCellMonitor::bookHistograms(), HcalDeadCellMonitor::bookHistograms(), HcalRawDataMonitor::bookHistograms(), HcalDataIntegrityTask::bookHistograms(), HcalDetDiagNoiseMonitor::bookHistograms(), HcalDigiMonitor::bookHistograms(), HcalDetDiagTimingMonitor::bookHistograms(), and HcalDetDiagLEDMonitor::bookHistograms().

108 {
109  if (debug_>0) std::cout <<"HcalBaseDQMonitor::bookHistograms(): task = '"<<subdir_<<"'"<<std::endl;
110  if (! mergeRuns_)
111  {
112  this->setup(ib);
113  this->reset();
114  }
115  else if (tevt_ == 0)
116  {
117  this->setup(ib);
118  this->reset();
119  }
120 } // beginRun(const edm::Run& run, const edm::EventSetup& c)
virtual void reset(void)
tuple cout
Definition: gather_cfg.py:145
virtual void setup(DQMStore::IBooker &)
void HcalBaseDQMonitor::CheckCalibType ( const edm::Handle< FEDRawDataCollection > &  rawraw)
private

Definition at line 397 of file HcalBaseDQMonitor.cc.

References diJetCalib::calibType, gather_cfg::cout, currenttype_, FEDRawData::data(), debug_, i, ievt_, LogDebug, FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXHCALuTCAFEDID, FEDNumbering::MINHCALFEDID, FEDNumbering::MINHCALuTCAFEDID, FEDRawData::size(), and relativeConstraints::value.

Referenced by analyze().

398 {
399  // Get Event Calibration Type -- copy of Bryan Dahmes' filter
400  int calibType=-1;
401  int numEmptyFEDs = 0 ;
402  std::vector<int> calibTypeCounter(8,0) ;
403  for( int i = FEDNumbering::MINHCALFEDID;
405  {
407  continue;
408 
409  const FEDRawData& fedData = rawraw->FEDData(i) ;
410 
411  if ( fedData.size() < 24 ) numEmptyFEDs++ ;
412  if ( fedData.size() < 24 ) continue;
413 
414  int value = (int)((const HcalDCCHeader*)(fedData.data()))->getCalibType() ;
415  if(value>7)
416  {
417  edm::LogWarning("HcalMonitorModule::CalibTypeFilter") << "Unexpected Calibration type: "<< value << " in FED: "<<i<<" (should be 0-7). I am bailing out...";
418  return;
419  }
420 
421  calibTypeCounter.at(value)++ ; // increment the counter for this calib type
422  } // for (int i = FEDNumbering::MINHCALFEDID; ...)
423 
424  int maxCount = 0;
425  int numberOfFEDIds = (FEDNumbering::MAXHCALFEDID-FEDNumbering::MINHCALFEDID+1) +
427  for (unsigned int i=0; i<calibTypeCounter.size(); i++) {
428  if ( calibTypeCounter.at(i) > maxCount )
429  { calibType = i ; maxCount = calibTypeCounter.at(i) ; }
430  if ( maxCount == numberOfFEDIds ) break ;
431  }
432 
433  if ( maxCount != (numberOfFEDIds-numEmptyFEDs) )
434  edm::LogWarning("HcalMonitorModule::CalibTypeFilter") << "Conflicting calibration types found. Assigning type "
435  << calibType ;
436  LogDebug("HcalMonitorModule::CalibTypeFilter") << "Calibration type is: " << calibType ;
437  // Fill histogram of calibration types, as well as integer to keep track of current value
439  //if (meCalibType_) meCalibType_->Fill(calibType);
440  //if (meCurrentCalibType_) meCurrentCalibType_->Fill(calibType);
442 
443  if (debug_>2) std::cout <<"\t<HcalMonitorModule> ievt = "<<ievt_<<" calibration type = "<<calibType<<std::endl;
444 
445 } // check calib type
#define LogDebug(id)
int i
Definition: DBlmapReader.cc:9
tuple calibType
Definition: diJetCalib.py:20
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
tuple cout
Definition: gather_cfg.py:145
void HcalBaseDQMonitor::CheckSubdetectorStatus ( const edm::Handle< FEDRawDataCollection > &  rawraw,
HcalSubdetector  subdet,
const HcalElectronicsMap emap 
)
private

Definition at line 305 of file HcalBaseDQMonitor.cc.

References HcalHTRData::check(), gather_cfg::cout, FEDRawData::data(), debug_, HcalDCCHeader::getSourceId(), HcalDCCHeader::getSpigotData(), HcalDCCHeader::getSpigotPresent(), HBpresent_, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HEpresent_, HFpresent_, HOpresent_, HcalHTRData::htrSlot(), HcalHTRData::htrTopBottom(), i, HcalHTRData::isHistogramEvent(), HcalElectronicsMap::lookup(), FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXHCALuTCAFEDID, FEDNumbering::MINHCALFEDID, FEDNumbering::MINHCALuTCAFEDID, DetId::null(), HcalHTRData::readoutVMECrateId(), HcalElectronicsId::setHTR(), FEDRawData::size(), HcalDCCHeader::SPIGOT_COUNT, and DetId::subdetId().

Referenced by analyze().

306 {
307 
308  std::vector<int> fedUnpackList;
309  for (int i=FEDNumbering::MINHCALFEDID;
311  i++)
312  {
314  continue;
315  fedUnpackList.push_back(i);
316  }
317 
318  if (debug_>1) std::cout <<"<HcalMonitorModule::CheckSubdetectorStatus> Checking subdetector "<<subdet<<std::endl;
319  for (std::vector<int>::const_iterator i=fedUnpackList.begin();
320  i!=fedUnpackList.end();
321  ++i)
322  {
323  if (debug_>2) std::cout <<"\t<HcalMonitorModule::CheckSubdetectorStatus> FED = "<<*i<<std::endl;
324  const FEDRawData& fed =(*rawraw).FEDData(*i);
325  if (fed.size()<12) continue; // Was 16. How do such tiny events even get here?
326 
327  // get the DCC header
328  const HcalDCCHeader* dccHeader=(const HcalDCCHeader*)(fed.data());
329  if (!dccHeader) return;
330  int dccid=dccHeader->getSourceId();
331  // check for HF
332  if (subdet == HcalForward && ((dccid>=1118 && dccid<=1122) ||
333  (dccid>=718 && dccid<=723)))
334  {
335  HFpresent_=true;
336  return;
337  }
338  else if (subdet==HcalOuter && dccid>723)
339  {
340  HOpresent_=true;
341  return;
342  }
343  else if (dccid<718 && (subdet==HcalBarrel || subdet==HcalEndcap))
344  {
345  HcalHTRData htr;
346  for (int spigot=0; spigot<HcalDCCHeader::SPIGOT_COUNT; spigot++)
347  {
348  if (!dccHeader->getSpigotPresent(spigot)) continue;
349 
350  // Load the given decoder with the pointer and length from this spigot.
351  dccHeader->getSpigotData(spigot,htr, fed.size());
352 
353  // check min length, correct wordcount, empty event, or total length if histo event.
354  if (!htr.check()) continue;
355  if (htr.isHistogramEvent()) continue;
356 
357  int firstFED = FEDNumbering::MINHCALFEDID;
358 
359  // Tease out HB and HE, which share HTRs in HBHE
360  for(int fchan=0; fchan<3; ++fchan) //0,1,2 are valid
361  {
362  for(int fib=1; fib<9; ++fib) //1...8 are valid
363  {
364  HcalElectronicsId eid(fchan,fib,spigot,dccid-firstFED);
365  eid.setHTR(htr.readoutVMECrateId(),
366  htr.htrSlot(),htr.htrTopBottom());
367 
368  DetId did=emap.lookup(eid);
369  if (!did.null())
370  {
371 
372  if ((HcalSubdetector)did.subdetId()==subdet)
373  {
374  if (subdet==HcalBarrel)
375  {
376  HBpresent_=true;
377  return;
378  }
379  else if (subdet==HcalEndcap)
380  {
381  HEpresent_=true;
382  return;
383  }
384  } // if ((HcalSubdetector)did.subdetId()==subdet)
385  } // if (!did.null())
386  } // for (int fib=1;fib<9;...)
387  } // for (int fchan=0; fchan<3;...)
388  } // for (int spigot=0;spigot<HcalDCCHeader::SPIGOT_COUNT; spigot++)
389  } //else if (dcc<718 && (subdet...))
390  } // loop over fedUnpackList
391 
392 
393 } // void CheckSubdetectorStatus
int i
Definition: DBlmapReader.cc:9
bool check() const
Check for a good event Requires a minimum length, matching wordcount and length, not an empty event...
Definition: HcalHTRData.cc:62
unsigned int htrTopBottom() const
HcalElectronicsId-style HTR top/bottom (1=top/0=bottom)
Definition: HcalHTRData.cc:342
int getSpigotData(int nspigot, HcalHTRData &decodeTool, int validSize) const
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:47
unsigned int htrSlot() const
HcalElectronicsId-style HTR slot.
Definition: HcalHTRData.cc:338
HcalSubdetector
Definition: HcalAssistant.h:31
bool getSpigotPresent(unsigned int nspigot) const
Read the &quot;PRESENT&quot; bit for this spigot.
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
int getSourceId() const
Definition: HcalDCCHeader.h:32
Definition: DetId.h:18
bool null() const
is this a null id ?
Definition: DetId.h:45
unsigned int readoutVMECrateId() const
HcalElectronicsId-style VME crate number.
Definition: HcalHTRData.cc:346
static const int SPIGOT_COUNT
Definition: HcalDCCHeader.h:19
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:28
tuple cout
Definition: gather_cfg.py:145
Readout chain identification for Hcal.
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
bool isHistogramEvent() const
Is this event a histogram event? (do not call standard unpack in this case!!!!!)
Definition: HcalHTRData.cc:385
void HcalBaseDQMonitor::cleanup ( void  )
protectedvirtual
void HcalBaseDQMonitor::dqmBeginRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 90 of file HcalBaseDQMonitor.cc.

References gather_cfg::cout, debug_, eMap_, edm::EventSetup::get(), mergeRuns_, reset(), and setupDone_.

91 {
92 
93  if (eMap_==0) //eMap_ not created yet
94  {
95  if (debug_>1) std::cout <<"\t<HcalBaseDQMonitor::dqmBeginRun> Getting Emap!"<<std::endl;
97  es.get<HcalDbRecord>().get( pSetup );
98  eMap_=pSetup->getHcalMapping();
99  }
100  if (mergeRuns_) return;
101  if( setupDone_ ) this->reset();
102 
103 }
const HcalElectronicsMap * eMap_
virtual void reset(void)
tuple cout
Definition: gather_cfg.py:145
void HcalBaseDQMonitor::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Reimplemented in HcalDetDiagLaserMonitor, HcalDetDiagPedestalMonitor, HcalDigiMonitor, HcalHotCellMonitor, HcalDetDiagNoiseMonitor, HcalLSbyLSMonitor, HcalRawDataMonitor, HcalDeadCellMonitor, HcalBeamMonitor, HcalCoarsePedestalMonitor, HcalRecHitMonitor, and HcalTrigPrimMonitor.

Definition at line 195 of file HcalBaseDQMonitor.cc.

References LumiInOrder(), and edm::LuminosityBlockBase::luminosityBlock().

197 {
198  if (this->LumiInOrder(lumiSeg.luminosityBlock())==false) return;
199  // Inherited classes do end-of-lumi functions here
200 }
bool LumiInOrder(int lumisec)
LuminosityBlockNumber_t luminosityBlock() const
void HcalBaseDQMonitor::endRun ( const edm::Run run,
const edm::EventSetup c 
)
protectedvirtual

Reimplemented from edm::stream::EDAnalyzerBase.

Reimplemented in HcalDetDiagLaserMonitor, HcalDetDiagPedestalMonitor, HcalDetDiagLEDMonitor, HcalDigiMonitor, HcalRawDataMonitor, HcalDeadCellMonitor, HcalCoarsePedestalMonitor, HcalHotCellMonitor, HcalLSbyLSMonitor, and HcalRecHitMonitor.

Definition at line 122 of file HcalBaseDQMonitor.cc.

References gather_cfg::cout, debug_, and subdir_.

123 {
124  if (debug_>0) std::cout <<"HcalBaseDQMonitor::endRun: task = "<<subdir_<<std::endl;
125 } //endRun(...)
tuple cout
Definition: gather_cfg.py:145
void HcalBaseDQMonitor::getLogicalMap ( const edm::EventSetup c)
protected
bool HcalBaseDQMonitor::IsAllowedCalibType ( )
protected

Definition at line 212 of file HcalBaseDQMonitor.cc.

References AllowedCalibTypes_, gather_cfg::cout, currenttype_, debug_, and i.

Referenced by HcalNZSMonitor::analyze(), HcalTrigPrimMonitor::analyze(), HcalCoarsePedestalMonitor::analyze(), HcalBeamMonitor::analyze(), HcalRecHitMonitor::analyze(), HcalDeadCellMonitor::analyze(), HcalRawDataMonitor::analyze(), HcalDataIntegrityTask::analyze(), HcalDetDiagNoiseMonitor::analyze(), analyze(), HcalHotCellMonitor::analyze(), HcalDigiMonitor::analyze(), and HcalDetDiagTimingMonitor::analyze().

213 {
214  if (debug_>9) std::cout <<"<HcalBaseDQMonitor::IsAllowedCalibType>"<<std::endl;
215  if (AllowedCalibTypes_.size()==0)
216  {
217  if (debug_>9) std::cout <<"\tNo calib types specified by user; All events allowed"<<std::endl;
218  return true;
219  }
220 
221  if (debug_>9) std::cout <<"\tHcalBaseDQMonitor::IsAllowedCalibType checking if calibration type = "<<currenttype_<<" is allowed...";
223  {
224  if (AllowedCalibTypes_[i]==currenttype_)
225  {
226  if (debug_>9) std::cout <<"\t Type allowed!"<<std::endl;
227  return true;
228  }
229  }
230  if (debug_>9) std::cout <<"\t Type not allowed!"<<std::endl;
231  return false;
232 
233 } // bool HcalBaseDQMonitor::IsAllowedCalibType()
int i
Definition: DBlmapReader.cc:9
std::vector< int > AllowedCalibTypes_
uint16_t size_type
tuple cout
Definition: gather_cfg.py:145
bool HcalBaseDQMonitor::LumiInOrder ( int  lumisec)
protected

Definition at line 203 of file HcalBaseDQMonitor.cc.

References currentLS, Online_, and skipOutOfOrderLS_.

Referenced by HcalNZSMonitor::analyze(), HcalTrigPrimMonitor::analyze(), HcalCoarsePedestalMonitor::analyze(), HcalBeamMonitor::analyze(), HcalRecHitMonitor::analyze(), HcalDeadCellMonitor::analyze(), HcalRawDataMonitor::analyze(), HcalDataIntegrityTask::analyze(), HcalDetDiagNoiseMonitor::analyze(), analyze(), HcalHotCellMonitor::analyze(), HcalDigiMonitor::analyze(), HcalDetDiagTimingMonitor::analyze(), HcalTrigPrimMonitor::beginLuminosityBlock(), HcalBeamMonitor::beginLuminosityBlock(), HcalRawDataMonitor::beginLuminosityBlock(), HcalLSbyLSMonitor::beginLuminosityBlock(), HcalHotCellMonitor::beginLuminosityBlock(), beginLuminosityBlock(), HcalTrigPrimMonitor::endLuminosityBlock(), HcalRecHitMonitor::endLuminosityBlock(), HcalCoarsePedestalMonitor::endLuminosityBlock(), HcalBeamMonitor::endLuminosityBlock(), HcalDeadCellMonitor::endLuminosityBlock(), HcalHotCellMonitor::endLuminosityBlock(), endLuminosityBlock(), and HcalDigiMonitor::endLuminosityBlock().

204 {
205  if (skipOutOfOrderLS_==false) return true; // don't skip out-of-order lumi sections
206  // check that latest lumi section is >= last processed
207  if (Online_ && lumisec<currentLS)
208  return false;
209  return true;
210 }
void HcalBaseDQMonitor::reset ( void  )
protectedvirtual

Reimplemented in HcalDetDiagLEDMonitor, HcalDetDiagTimingMonitor, HcalDigiMonitor, HcalRawDataMonitor, HcalDeadCellMonitor, HcalDetDiagNoiseMonitor, HcalCoarsePedestalMonitor, HcalHotCellMonitor, HcalBeamMonitor, HcalDataIntegrityTask, HcalLSbyLSMonitor, HcalRecHitMonitor, HcalNoiseMonitor, HcalNZSMonitor, and HcalTrigPrimMonitor.

Definition at line 127 of file HcalBaseDQMonitor.cc.

References gather_cfg::cout, currentLS, currenttype_, debug_, MonitorElement::Fill(), HBpresent_, HEpresent_, HFpresent_, HOpresent_, ievt_, levt_, meIevt_, meLevt_, meTevt_, meTevtHist_, ProblemsCurrentLB, MonitorElement::Reset(), subdir_, and tevt_.

Referenced by HcalDetDiagPedestalMonitor::analyze(), HcalDetDiagLaserMonitor::analyze(), bookHistograms(), dqmBeginRun(), HcalLSbyLSMonitor::reset(), HcalDataIntegrityTask::reset(), HcalHotCellMonitor::reset(), and HcalDeadCellMonitor::reset().

128 {
129  if (debug_>0) std::cout <<"HcalBaseDQMonitor::reset(): task = "<<subdir_<<std::endl;
130  if (meIevt_) meIevt_->Fill(-1);
131  ievt_=0;
132  if (meLevt_) meLevt_->Fill(-1);
133  levt_=0;
134  if (meTevt_) meTevt_->Fill(-1);
135  tevt_=0;
136  if (meTevtHist_) meTevtHist_->Reset();
138  HBpresent_=false;
139  HEpresent_=false;
140  HOpresent_=false;
141  HFpresent_=false;
142  currentLS=0;
143  currenttype_=-1;
144 } //reset()
MonitorElement * ProblemsCurrentLB
MonitorElement * meTevt_
void Fill(long long x)
MonitorElement * meTevtHist_
MonitorElement * meIevt_
tuple cout
Definition: gather_cfg.py:145
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meLevt_
void HcalBaseDQMonitor::setup ( DQMStore::IBooker ib)
protectedvirtual

Reimplemented in HcalDetDiagLEDMonitor, HcalDetDiagTimingMonitor, HcalDigiMonitor, HcalRawDataMonitor, HcalDetDiagNoiseMonitor, HcalDeadCellMonitor, HcalHotCellMonitor, HcalDataIntegrityTask, HcalLSbyLSMonitor, HcalBeamMonitor, HcalNoiseMonitor, HcalRecHitMonitor, HcalCoarsePedestalMonitor, HcalTrigPrimMonitor, and HcalNZSMonitor.

Definition at line 151 of file HcalBaseDQMonitor.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookInt(), gather_cfg::cout, debug_, MonitorElement::Fill(), MonitorElement::getTH2F(), meIevt_, meLevt_, meTevt_, meTevtHist_, ProblemsCurrentLB, MonitorElement::Reset(), DQMStore::IBooker::setCurrentFolder(), setupDone_, and subdir_.

Referenced by bookHistograms(), HcalDetDiagPedestalMonitor::bookHistograms(), HcalDetDiagLaserMonitor::bookHistograms(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCoarsePedestalMonitor::setup(), HcalRecHitMonitor::setup(), HcalNoiseMonitor::setup(), HcalBeamMonitor::setup(), HcalLSbyLSMonitor::setup(), HcalDataIntegrityTask::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalRawDataMonitor::setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), and HcalDetDiagLEDMonitor::setup().

152 {
153  if (setupDone_)
154  return;
155  setupDone_ = true;
156  if (debug_>3) std::cout <<"<HcalBaseDQMonitor> setup in progress"<<std::endl;
158  meIevt_ = ib.bookInt("EventsProcessed");
159  if (meIevt_) meIevt_->Fill(-1);
160  meLevt_ = ib.bookInt("EventsProcessed_currentLS");
161  if (meLevt_) meLevt_->Fill(-1);
162  meTevt_ = ib.bookInt("EventsProcessed_Total");
163  if (meTevt_) meTevt_->Fill(-1);
164  meTevtHist_=ib.book1D("Events_Processed_Task_Histogram","Counter of Events Processed By This Task",1,0.5,1.5);
165  if (meTevtHist_) meTevtHist_->Reset();
166  ib.setCurrentFolder(subdir_+"LSvalues");
167  ProblemsCurrentLB=ib.book2D("ProblemsThisLS","Problem Channels in current Lumi Section",
168  7,0,7,1,0,1);
169  if (ProblemsCurrentLB)
170  {
171  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(1,"HB");
172  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(2,"HE");
173  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(3,"HO");
174  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(4,"HF");
175  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(5,"HO0");
176  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(6,"HO12");
177  (ProblemsCurrentLB->getTH2F())->GetXaxis()->SetBinLabel(7,"HFlumi");
178  (ProblemsCurrentLB->getTH2F())->GetYaxis()->SetBinLabel(1,"Status");
180  }
181 } // setup()
MonitorElement * ProblemsCurrentLB
MonitorElement * bookInt(Args &&...args)
Definition: DQMStore.h:103
MonitorElement * meTevt_
void Fill(long long x)
MonitorElement * meTevtHist_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * meIevt_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
tuple cout
Definition: gather_cfg.py:145
TH2F * getTH2F(void) const
void Reset(void)
reset ME (ie. contents, errors, etc)
MonitorElement * meLevt_
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().

Referenced by HcalCoarsePedestalMonitor::setup(), HcalNoiseMonitor::setup(), HcalRecHitMonitor::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), and HcalDigiMonitor::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
int HcalBaseDQMonitor::badChannelStatusMask_
protected
int HcalBaseDQMonitor::currentLS
protected
int HcalBaseDQMonitor::currenttype_
protected
int HcalBaseDQMonitor::debug_
protected

Definition at line 88 of file HcalBaseDQMonitor.h.

Referenced by HcalNZSMonitor::analyze(), HcalCoarsePedestalMonitor::analyze(), HcalRecHitMonitor::analyze(), HcalRawDataMonitor::analyze(), HcalDeadCellMonitor::analyze(), HcalDataIntegrityTask::analyze(), HcalDetDiagNoiseMonitor::analyze(), analyze(), HcalHotCellMonitor::analyze(), HcalDigiMonitor::analyze(), HcalNZSMonitor::bookHistograms(), HcalNoiseMonitor::bookHistograms(), HcalRecHitMonitor::bookHistograms(), HcalBeamMonitor::bookHistograms(), HcalLSbyLSMonitor::bookHistograms(), HcalHotCellMonitor::bookHistograms(), HcalDeadCellMonitor::bookHistograms(), bookHistograms(), HcalDataIntegrityTask::bookHistograms(), HcalDetDiagNoiseMonitor::bookHistograms(), HcalDigiMonitor::bookHistograms(), HcalDetDiagTimingMonitor::bookHistograms(), HcalDetDiagLEDMonitor::bookHistograms(), CheckCalibType(), CheckSubdetectorStatus(), dqmBeginRun(), HcalLSbyLSMonitor::endJob(), HcalCoarsePedestalMonitor::endJob(), HcalHotCellMonitor::endJob(), HcalDeadCellMonitor::endJob(), HcalRawDataMonitor::endJob(), HcalDigiMonitor::endJob(), HcalBeamMonitor::endLuminosityBlock(), HcalRecHitMonitor::endRun(), endRun(), HcalRecHitMonitor::fill_Nevents(), HcalDigiMonitor::fill_Nevents(), HcalHotCellMonitor::fillNevents_energy(), HcalHotCellMonitor::fillNevents_neighbor(), HcalHotCellMonitor::fillNevents_persistentenergy(), HcalDeadCellMonitor::fillNevents_problemCells(), HcalHotCellMonitor::fillNevents_problemCells(), HcalDeadCellMonitor::fillNevents_recentdigis(), HcalDeadCellMonitor::fillNevents_recentrechits(), HcalBaseDQMonitor(), HcalBeamMonitor::HcalBeamMonitor(), HcalCoarsePedestalMonitor::HcalCoarsePedestalMonitor(), HcalDataIntegrityTask::HcalDataIntegrityTask(), HcalDeadCellMonitor::HcalDeadCellMonitor(), HcalDetDiagLaserMonitor::HcalDetDiagLaserMonitor(), HcalDetDiagLEDMonitor::HcalDetDiagLEDMonitor(), HcalDetDiagNoiseMonitor::HcalDetDiagNoiseMonitor(), HcalDetDiagTimingMonitor::HcalDetDiagTimingMonitor(), HcalDigiMonitor::HcalDigiMonitor(), HcalHotCellMonitor::HcalHotCellMonitor(), HcalLSbyLSMonitor::HcalLSbyLSMonitor(), HcalNoiseMonitor::HcalNoiseMonitor(), HcalNZSMonitor::HcalNZSMonitor(), HcalRawDataMonitor::HcalRawDataMonitor(), HcalRecHitMonitor::HcalRecHitMonitor(), HcalTrigPrimMonitor::HcalTrigPrimMonitor(), IsAllowedCalibType(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalDeadCellMonitor::process_Digi(), HcalDeadCellMonitor::process_RecHit(), HcalRecHitMonitor::processEvent(), HcalDeadCellMonitor::processEvent(), HcalHotCellMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalHotCellMonitor::processEvent_rechitenergy(), HcalDataIntegrityTask::reset(), HcalDeadCellMonitor::reset(), reset(), HcalNZSMonitor::setup(), HcalCoarsePedestalMonitor::setup(), HcalNoiseMonitor::setup(), HcalRecHitMonitor::setup(), HcalBeamMonitor::setup(), HcalLSbyLSMonitor::setup(), HcalDataIntegrityTask::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HcalRawDataMonitor::setup(), setup(), HcalDigiMonitor::setup(), and HcalRawDataMonitor::unpack().

const HcalElectronicsMap* HcalBaseDQMonitor::eMap_
private

Definition at line 136 of file HcalBaseDQMonitor.h.

Referenced by analyze(), dqmBeginRun(), and HcalBaseDQMonitor().

bool HcalBaseDQMonitor::enableCleanup_
protected
bool HcalBaseDQMonitor::eventAllowed_
protected

Definition at line 101 of file HcalBaseDQMonitor.h.

Referenced by analyze().

edm::InputTag HcalBaseDQMonitor::FEDRawDataCollection_
private

Definition at line 133 of file HcalBaseDQMonitor.h.

Referenced by analyze(), and HcalBaseDQMonitor().

bool HcalBaseDQMonitor::HBpresent_
protected
bool HcalBaseDQMonitor::HEpresent_
protected
bool HcalBaseDQMonitor::HFpresent_
protected
bool HcalBaseDQMonitor::HOpresent_
protected
int HcalBaseDQMonitor::ievt_
protected
std::map<unsigned int, int> HcalBaseDQMonitor::KnownBadCells_
protected
int HcalBaseDQMonitor::levt_
protected
HcalLogicalMap* HcalBaseDQMonitor::logicalMap_
protected
bool HcalBaseDQMonitor::makeDiagnostics_
protected
MonitorElement* HcalBaseDQMonitor::meIevt_
protected

Definition at line 96 of file HcalBaseDQMonitor.h.

Referenced by analyze(), HcalBaseDQMonitor(), reset(), and setup().

MonitorElement* HcalBaseDQMonitor::meLevt_
protected

Definition at line 98 of file HcalBaseDQMonitor.h.

Referenced by analyze(), beginLuminosityBlock(), HcalBaseDQMonitor(), reset(), and setup().

bool HcalBaseDQMonitor::mergeRuns_
protected
MonitorElement* HcalBaseDQMonitor::meTevt_
protected

Definition at line 97 of file HcalBaseDQMonitor.h.

Referenced by analyze(), reset(), and setup().

MonitorElement* HcalBaseDQMonitor::meTevtHist_
protected
bool HcalBaseDQMonitor::needLogicalMap_
protected
int HcalBaseDQMonitor::NLumiBlocks_
protected
bool HcalBaseDQMonitor::Online_
protected
std::string HcalBaseDQMonitor::prefixME_
protected
MonitorElement* HcalBaseDQMonitor::ProblemsCurrentLB
protected
MonitorElement* HcalBaseDQMonitor::ProblemsVsLB
protected
MonitorElement* HcalBaseDQMonitor::ProblemsVsLB_HB
protected
MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HBHEHF
protected
MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HE
protected
MonitorElement * HcalBaseDQMonitor::ProblemsVsLB_HF
protected
MonitorElement* HcalBaseDQMonitor::ProblemsVsLB_HO
protected
bool HcalBaseDQMonitor::setupDone_
private

Definition at line 127 of file HcalBaseDQMonitor.h.

Referenced by dqmBeginRun(), HcalBaseDQMonitor(), and setup().

bool HcalBaseDQMonitor::skipOutOfOrderLS_
protected
std::string HcalBaseDQMonitor::subdir_
protected

Definition at line 90 of file HcalBaseDQMonitor.h.

Referenced by HcalRecHitMonitor::bookHistograms(), bookHistograms(), HcalDataIntegrityTask::bookHistograms(), HcalDetDiagPedestalMonitor::bookHistograms(), HcalDetDiagLaserMonitor::bookHistograms(), HcalRecHitMonitor::endRun(), endRun(), HcalBaseDQMonitor(), HcalBeamMonitor::HcalBeamMonitor(), HcalCoarsePedestalMonitor::HcalCoarsePedestalMonitor(), HcalDataIntegrityTask::HcalDataIntegrityTask(), HcalDeadCellMonitor::HcalDeadCellMonitor(), HcalDetDiagLaserMonitor::HcalDetDiagLaserMonitor(), HcalDetDiagLEDMonitor::HcalDetDiagLEDMonitor(), HcalDetDiagNoiseMonitor::HcalDetDiagNoiseMonitor(), HcalDetDiagPedestalMonitor::HcalDetDiagPedestalMonitor(), HcalDetDiagTimingMonitor::HcalDetDiagTimingMonitor(), HcalDigiMonitor::HcalDigiMonitor(), HcalHotCellMonitor::HcalHotCellMonitor(), HcalLSbyLSMonitor::HcalLSbyLSMonitor(), HcalNoiseMonitor::HcalNoiseMonitor(), HcalNZSMonitor::HcalNZSMonitor(), HcalRawDataMonitor::HcalRawDataMonitor(), HcalRecHitMonitor::HcalRecHitMonitor(), HcalTrigPrimMonitor::HcalTrigPrimMonitor(), reset(), HcalNZSMonitor::setup(), HcalTrigPrimMonitor::setup(), HcalCoarsePedestalMonitor::setup(), HcalRecHitMonitor::setup(), HcalNoiseMonitor::setup(), HcalBeamMonitor::setup(), HcalLSbyLSMonitor::setup(), HcalDataIntegrityTask::setup(), HcalHotCellMonitor::setup(), HcalDeadCellMonitor::setup(), HcalDetDiagNoiseMonitor::setup(), HcalRawDataMonitor::setup(), setup(), HcalDigiMonitor::setup(), HcalDetDiagTimingMonitor::setup(), HcalDetDiagLEDMonitor::setup(), and HcalDigiMonitor::setupSubdetHists().

int HcalBaseDQMonitor::tevt_
protected
edm::EDGetTokenT<FEDRawDataCollection> HcalBaseDQMonitor::tok_braw_
private

Definition at line 134 of file HcalBaseDQMonitor.h.

Referenced by analyze(), and HcalBaseDQMonitor().