CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

HcalDCSInfo Class Reference

#include <DQM/HcalMonitorCluster/interface/HcalDCSInfo.h>

Inheritance diagram for HcalDCSInfo:
edm::EDAnalyzer

List of all members.

Public Member Functions

 HcalDCSInfo (const edm::ParameterSet &ps)
 Constructor.
virtual ~HcalDCSInfo ()
 Destructor.

Private Member Functions

void analyze (edm::Event const &, edm::EventSetup const &)
 Analyze.
void beginJob ()
 BeginJob.
void beginLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &iSetup)
 Begin Of Luminosity.
void beginRun (edm::Run const &run, edm::EventSetup const &eSetup)
 Begin Run.
virtual void endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &)
 End Luminosity Block.

Private Attributes

MonitorElementDCSFraction_
MonitorElementDCSFractionHB_
MonitorElementDCSFractionHE_
MonitorElementDCSFractionHF_
MonitorElementDCSFractionHFlumi_
MonitorElementDCSFractionHO0_
MonitorElementDCSFractionHO12_
MonitorElementDCSFractionHO_
MonitorElementDCSSummaryMap_
int debug_
DQMStoredqmStore_
unsigned long long m_cacheID_
std::string rootFolder_

Detailed Description

Description: Checks the # of Hcal FEDs from DAQ Usage: <usage>

Definition at line 42 of file HcalDCSInfo.h.


Constructor & Destructor Documentation

HcalDCSInfo::HcalDCSInfo ( const edm::ParameterSet ps)

Constructor.

Definition at line 20 of file HcalDCSInfo.cc.

References debug_, dqmStore_, edm::ParameterSet::getUntrackedParameter(), cmsCodeRules::cppFunctionSkipper::operator, and rootFolder_.

                                                    {

  debug_ = pSet.getUntrackedParameter<int>("debug",0);
  rootFolder_ = pSet.getUntrackedParameter<std::string>("subSystemFolder","Hcal");
  // Create MessageSender
  edm::LogInfo( "HcalDCSInfo") << "HcalDCSInfo::Creating HcalDCSInfo ";

  // get back-end interface
  dqmStore_ = edm::Service<DQMStore>().operator->();
}
HcalDCSInfo::~HcalDCSInfo ( ) [virtual]

Destructor.

Definition at line 31 of file HcalDCSInfo.cc.

{
  edm::LogInfo("HcalDCSInfo") << "HcalDCSInfo::Deleting HcalDCSInfo ";
  
} // destructor

Member Function Documentation

void HcalDCSInfo::analyze ( edm::Event const &  event,
edm::EventSetup const &  eSetup 
) [private, virtual]

Analyze.

Implements edm::EDAnalyzer.

Definition at line 83 of file HcalDCSInfo.cc.

{
}
void HcalDCSInfo::beginJob ( void  ) [private, virtual]
void HcalDCSInfo::beginLuminosityBlock ( edm::LuminosityBlock const &  lumiSeg,
edm::EventSetup const &  iSetup 
) [private, virtual]

Begin Of Luminosity.

Reimplemented from edm::EDAnalyzer.

Definition at line 90 of file HcalDCSInfo.cc.

{
  edm::LogInfo ("HcalDCSInfo") <<"HcalDCSInfo:: Luminosity Block";
}
void HcalDCSInfo::beginRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
) [private, virtual]

Begin Run.

Reimplemented from edm::EDAnalyzer.

Definition at line 74 of file HcalDCSInfo.cc.

{
  edm::LogInfo ("HcalDCSInfo") <<"HcalDCSInfo:: Begining of Run";
  return;
}
void HcalDCSInfo::endLuminosityBlock ( const edm::LuminosityBlock lumiSeg,
const edm::EventSetup eSetup 
) [private, virtual]

End Luminosity Block.

Reimplemented from edm::EDAnalyzer.

Definition at line 95 of file HcalDCSInfo.cc.

References DCSFraction_, DCSFractionHB_, DCSFractionHE_, DCSFractionHF_, DCSFractionHFlumi_, DCSFractionHO0_, DCSFractionHO12_, DCSFractionHO_, DCSSummaryMap_, MonitorElement::Fill(), and MonitorElement::setBinContent().

{
  edm::LogInfo ("HcalDCSInfo") <<"HcalDCSInfo:: Luminosity Block";

  // Fill them with -1 to start with

  for (int ii=0;ii<7;ii++) DCSSummaryMap_->setBinContent(ii+1,1,-1.0);
  DCSFraction_->Fill(-1.0);
  DCSFractionHB_->Fill(-1.0);
  DCSFractionHE_->Fill(-1.0);
  DCSFractionHO_->Fill(-1.0);
  DCSFractionHF_->Fill(-1.0);
  DCSFractionHO0_->Fill(-1.0);
  DCSFractionHO12_->Fill(-1.0);
  DCSFractionHFlumi_->Fill(-1.0);

  // Fill them with 1

  for (int ii=0;ii<7;ii++) DCSSummaryMap_->setBinContent(ii+1,1,1.0);
  DCSFraction_->Fill(1.0);
  DCSFractionHB_->Fill(1.0);
  DCSFractionHE_->Fill(1.0);
  DCSFractionHO_->Fill(1.0);
  DCSFractionHF_->Fill(1.0);
  DCSFractionHO0_->Fill(1.0);
  DCSFractionHO12_->Fill(1.0);
  DCSFractionHFlumi_->Fill(1.0);
}

Member Data Documentation

Definition at line 78 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 79 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 80 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 82 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 85 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 83 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 84 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 81 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

Definition at line 77 of file HcalDCSInfo.h.

Referenced by beginJob(), and endLuminosityBlock().

int HcalDCSInfo::debug_ [private]

Definition at line 72 of file HcalDCSInfo.h.

Referenced by HcalDCSInfo().

Definition at line 76 of file HcalDCSInfo.h.

Referenced by beginJob(), and HcalDCSInfo().

unsigned long long HcalDCSInfo::m_cacheID_ [private]

Definition at line 87 of file HcalDCSInfo.h.

std::string HcalDCSInfo::rootFolder_ [private]

Definition at line 88 of file HcalDCSInfo.h.

Referenced by beginJob(), and HcalDCSInfo().