#include <HcalTrigPrimMonitor.h>
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | cleanup () |
void | endJob () |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
HcalTrigPrimMonitor (const edm::ParameterSet &ps) | |
void | processEvent (const edm::Handle< HcalTrigPrimDigiCollection > &data_tp_col, const edm::Handle< HcalTrigPrimDigiCollection > &emul_tp_col) |
void | reset () |
void | setup () |
~HcalTrigPrimMonitor () | |
Public Member Functions inherited from HcalBaseDQMonitor | |
HcalBaseDQMonitor (const edm::ParameterSet &ps) | |
HcalBaseDQMonitor () | |
~HcalBaseDQMonitor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Types | |
enum | ErrorFlag { kZeroTP =-1, kMatched = 0, kMismatchedEt = 1, kMismatchedFG = 2, kMissingData = 3, kMissingEmul = 4, kNErrorFlag = 5, kUnknown = kNErrorFlag } |
Private Member Functions | |
MonitorElement * | create_errorflag (const std::string &folder, const std::string &name) |
MonitorElement * | create_et_histogram (const std::string &folder, const std::string &name) |
MonitorElement * | create_fg_correlation (const std::string &folder, const std::string &name) |
MonitorElement * | create_map (const std::string &folder, const std::string &name) |
MonitorElement * | create_summary (const std::string &folder, const std::string &name) |
MonitorElement * | create_tp_correlation (const std::string &folder, const std::string &name) |
Private Attributes | |
MonitorElement * | bad_tps [2] |
edm::InputTag | dataLabel_ |
edm::InputTag | emulLabel_ |
MonitorElement * | errorflag [2] |
MonitorElement * | fg_corr [2][2] |
MonitorElement * | good_tps [2] |
int | nBad_TP_per_LS_HB_ |
int | nBad_TP_per_LS_HE_ |
int | nBad_TP_per_LS_HF_ |
std::map< ErrorFlag, MonitorElement * > | problem_et [2][2] |
std::map< ErrorFlag, MonitorElement * > | problem_map [2] |
MonitorElement * | tp_corr [2][2] |
MonitorElement * | TPOccupancy_ |
MonitorElement * | TPOccupancyEta_ |
MonitorElement * | TPOccupancyPhi_ |
MonitorElement * | TPOccupancyPhiHFM_ |
MonitorElement * | TPOccupancyPhiHFP_ |
std::vector< int > | ZSAlarmThreshold_ |
|
private |
Enumerator | |
---|---|
kZeroTP | |
kMatched | |
kMismatchedEt | |
kMismatchedFG | |
kMissingData | |
kMissingEmul | |
kNErrorFlag | |
kUnknown |
Definition at line 43 of file HcalTrigPrimMonitor.h.
HcalTrigPrimMonitor::HcalTrigPrimMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 4 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::AllowedCalibTypes_, HcalBaseDQMonitor::debug_, HcalBaseDQMonitor::enableCleanup_, edm::ParameterSet::getUntrackedParameter(), HcalBaseDQMonitor::makeDiagnostics_, HcalBaseDQMonitor::mergeRuns_, HcalBaseDQMonitor::NLumiBlocks_, HcalBaseDQMonitor::Online_, HcalBaseDQMonitor::prefixME_, HcalBaseDQMonitor::skipOutOfOrderLS_, and HcalBaseDQMonitor::subdir_.
HcalTrigPrimMonitor::~HcalTrigPrimMonitor | ( | ) |
Definition at line 28 of file HcalTrigPrimMonitor.cc.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 132 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::analyze(), dataLabel_, emulLabel_, edm::Event::getByLabel(), HcalBaseDQMonitor::IsAllowedCalibType(), HcalBaseDQMonitor::LumiInOrder(), edm::EventBase::luminosityBlock(), and processEvent().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 395 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::beginLuminosityBlock(), HcalBaseDQMonitor::LumiInOrder(), edm::LuminosityBlockBase::luminosityBlock(), nBad_TP_per_LS_HB_, nBad_TP_per_LS_HE_, nBad_TP_per_LS_HF_, HcalBaseDQMonitor::ProblemsCurrentLB, and MonitorElement::Reset().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 123 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::beginRun(), HcalBaseDQMonitor::mergeRuns_, reset(), setup(), and HcalBaseDQMonitor::tevt_.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 371 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::dbe_, HcalBaseDQMonitor::enableCleanup_, DQMStore::removeContents(), DQMStore::setCurrentFolder(), and HcalBaseDQMonitor::subdir_.
Referenced by endJob().
|
private |
Definition at line 429 of file HcalTrigPrimMonitor.cc.
References DQMStore::book2D(), HcalBaseDQMonitor::dbe_, MonitorElement::setBinLabel(), and DQMStore::setCurrentFolder().
Referenced by setup().
|
private |
Definition at line 475 of file HcalTrigPrimMonitor.cc.
References DQMStore::book1D(), HcalBaseDQMonitor::dbe_, and DQMStore::setCurrentFolder().
Referenced by setup().
|
private |
Definition at line 455 of file HcalTrigPrimMonitor.cc.
References DQMStore::book2D(), HcalBaseDQMonitor::dbe_, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
Referenced by setup().
|
private |
Definition at line 466 of file HcalTrigPrimMonitor.cc.
References DQMStore::book2D(), HcalBaseDQMonitor::dbe_, DQMStore::setCurrentFolder(), and indexGen::title.
Referenced by setup().
|
private |
Definition at line 421 of file HcalTrigPrimMonitor.cc.
References DQMStore::book2D(), HcalBaseDQMonitor::dbe_, and DQMStore::setCurrentFolder().
|
private |
Definition at line 444 of file HcalTrigPrimMonitor.cc.
References DQMStore::book2D(), HcalBaseDQMonitor::dbe_, MonitorElement::setAxisTitle(), and DQMStore::setCurrentFolder().
Referenced by setup().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 390 of file HcalTrigPrimMonitor.cc.
References cleanup(), and HcalBaseDQMonitor::enableCleanup_.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 405 of file HcalTrigPrimMonitor.cc.
References HcalBaseDQMonitor::currentLS, MonitorElement::Fill(), HcalBaseDQMonitor::levt_, HcalBaseDQMonitor::LumiInOrder(), edm::LuminosityBlockBase::luminosityBlock(), nBad_TP_per_LS_HB_, nBad_TP_per_LS_HE_, nBad_TP_per_LS_HF_, HcalBaseDQMonitor::ProblemsCurrentLB, HcalBaseDQMonitor::ProblemsVsLB, HcalBaseDQMonitor::ProblemsVsLB_HB, HcalBaseDQMonitor::ProblemsVsLB_HE, and HcalBaseDQMonitor::ProblemsVsLB_HF.
void HcalTrigPrimMonitor::processEvent | ( | const edm::Handle< HcalTrigPrimDigiCollection > & | data_tp_col, |
const edm::Handle< HcalTrigPrimDigiCollection > & | emul_tp_col | ||
) |
Definition at line 154 of file HcalTrigPrimMonitor.cc.
References abs, bad_tps, HcalBaseDQMonitor::dbe_, diffTreeTool::diff, errorflag, fg_corr, MonitorElement::Fill(), good_tps, i, HcalBaseDQMonitor::ievt_, isHF(), kMismatchedEt, kMismatchedFG, kMissingData, kMissingEmul, kNErrorFlag, nBad_TP_per_LS_HB_, nBad_TP_per_LS_HE_, nBad_TP_per_LS_HF_, problem_et, problem_map, MonitorElement::setBinContent(), tp_corr, TPOccupancy_, TPOccupancyEta_, TPOccupancyPhi_, TPOccupancyPhiHFM_, TPOccupancyPhiHFP_, and ZSAlarmThreshold_.
Referenced by analyze().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 33 of file HcalTrigPrimMonitor.cc.
Referenced by beginRun().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 38 of file HcalTrigPrimMonitor.cc.
References bad_tps, DQMStore::book1D(), DQMStore::bookProfile(), create_errorflag(), create_et_histogram(), create_fg_correlation(), create_map(), create_tp_correlation(), HcalBaseDQMonitor::dbe_, errorflag, fg_corr, MonitorElement::getTProfile(), good_tps, isHF(), kMismatchedEt, kMismatchedFG, kMissingData, kMissingEmul, HcalBaseDQMonitor::NLumiBlocks_, problem_et, problem_map, HcalBaseDQMonitor::ProblemsVsLB, HcalBaseDQMonitor::ProblemsVsLB_HB, HcalBaseDQMonitor::ProblemsVsLB_HE, HcalBaseDQMonitor::ProblemsVsLB_HF, HcalBaseDQMonitor::ProblemsVsLB_HO, DQMStore::setCurrentFolder(), HcalBaseDQMonitor::setup(), HcalBaseDQMonitor::subdir_, tp_corr, TPOccupancy_, TPOccupancyEta_, TPOccupancyPhi_, TPOccupancyPhiHFM_, and TPOccupancyPhiHFP_.
Referenced by beginRun().
|
private |
Definition at line 56 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 32 of file HcalTrigPrimMonitor.h.
Referenced by analyze().
|
private |
Definition at line 33 of file HcalTrigPrimMonitor.h.
Referenced by analyze().
|
private |
Definition at line 57 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 62 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 55 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 71 of file HcalTrigPrimMonitor.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and processEvent().
|
private |
Definition at line 72 of file HcalTrigPrimMonitor.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and processEvent().
|
private |
Definition at line 73 of file HcalTrigPrimMonitor.h.
Referenced by beginLuminosityBlock(), endLuminosityBlock(), and processEvent().
|
private |
Definition at line 63 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 58 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 61 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 65 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 66 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 67 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 69 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 68 of file HcalTrigPrimMonitor.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 34 of file HcalTrigPrimMonitor.h.
Referenced by processEvent().